SplQpQueryFlags
Appearance
SplQpQueryFlags queries print queue processor flags. This function is optional.
Syntax
SplQpQueryFlags(pulFlags)
Parameters
- pulFlags (PULONG) - input
- A pointer to a ULONG to receive flag values.
Return Code
- fSuccess (BOOL) - returns
- Return codes.
On completion, the handling routine must return BOOLEAN (fSuccess).
- TRUE Success
- FALSE Error
Remarks
This function is called to determine if this print queue processor allows the spooler to bypass it for PM_Q_RAW jobs. By exporting SplQpQueryFlags and setting the contents of pulFlags to QP_RAWDATA_BYPASS, the spooler can bypass calling this print queue processor to print PM_Q_RAW jobs that are still spooling.
Example Code
#include <os2.h> PULONG pulFlags; BOOL fSuccess; /* Return codes. */ fSuccess = SplQpQueryFlags(pulFlags);