IADsPrintQueueOperations::Purge

Empties a print queue of all print jobs without processing them.

HRESULT IADsPrintQueueOperations::Purge(void);
 

Return Values

This method supports the standard return values E_FAIL and E_UNEXPECTED, as well as the following:

S_OK
The purge command was successfully issued.

QuickInfo

  Windows NT: Use version 4.0 and later.
  Windows CE: Unsupported.
  Header: Declared in iads.h.