SplQpQueryFlags

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

 * 1) include 

PULONG   pulFlags; BOOL     fSuccess;  /*  Return codes. */

fSuccess = SplQpQueryFlags(pulFlags); 