osdOutputSetFlags

osdOutputSetFlags

osd

1998 12-05


NAME

osdOutputSetFlags - configure a generic output channel


SYNOPSIS

long osdOutputSetFlags(OSD_Output *output, unsigned long flag_set)

osdOutputSetFlags() is used to configure the OSD_Output specified by output. More than one flag setting may be specified, in which case output will be multiplexed to all specified outputs. The possible flag setting and their corresponding meanings are as follows:
OSD_OUT_FILE is used to send output to a file. If the filename is not specified by osdOutputSetFilename() a default filename is used. The default filename is defined in "output.h" as the value for OSD_DEFAULTOUTPUTFILENAME.
OSD_OUT_STDOUT s used to send output to stdout. Note that a Win32 Windows application does not by default have console.
OSD_OUT_STDERR is used to send output to stderr. Note that a Win32 Windows application does not by default have console.
OSD_OUT_MESSAGEBOX is used to send output to a message box. A message box is a notifier window in Win32. This flag has no effect on a non-Win32 platform.


Return TRUE on success and FALSE on failure.


ARGUMENTS


output the OSD_Output to configure
flag_set flag settings with which to set the OSD_Output