Jump to content

SplQpQueryFlags

From EDM2
Revision as of 20:05, 2 July 2023 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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);