Jump to content

SplQpQueryFlags: Difference between revisions

From EDM2
Created page with "SplQpQueryFlags queries print queue processor flags. This function is optional. ==Syntax== SplQpQueryFlags(pulFlags); ==Parameters== ; pulFlags (PULONG) - input : A pointer..."
 
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
SplQpQueryFlags queries print queue processor flags. This function is optional.  
SplQpQueryFlags queries print queue processor flags. This function is optional.
 
==Syntax==
==Syntax==
  SplQpQueryFlags(pulFlags);
  SplQpQueryFlags(pulFlags)
 
==Parameters==
==Parameters==
; pulFlags (PULONG) - input  
; pulFlags (PULONG) - input: A pointer to a ULONG to receive flag values.
: A pointer to a ULONG to receive flag values.  
 
==Return Code==
==Return Code==
; fSuccess (BOOL) - returns  
; fSuccess (BOOL) - returns: Return codes.
: Return codes.  


On completion, the handling routine must return BOOLEAN (fSuccess).  
On completion, the handling routine must return BOOLEAN (fSuccess).
* TRUE Success  
* TRUE Success
* FALSE Error  
* FALSE Error


==Remarks==
==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.  
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==
==Example Code==

Latest revision as of 20:05, 2 July 2023

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