QueryAbort

3.1

  BOOL QueryAbort(hdc, reserved)    
  HDC hdc; /* device-context handle, */  
  int reserved; /* reserved; should be zero */

The QueryAbort function calls the AbortProc callback function for a printing application and queries whether the printing should be terminated.

Parameters

hdc

Identifies the device context.

reserved

Specifies a reserved value. It should be zero.

Return Value

The return value is TRUE if printing should continue or if there is no abort procedure. It is FALSE if the print job should be terminated. The return value is supplied by the AbortProc callback function.

See Also

AbortDoc, AbortProc, SetAbortProc