AbortPrinter function Null safety winspool

int AbortPrinter(
  1. int hPrinter
)

The AbortPrinter function deletes a printer's spool file if the printer is configured for spooling.

BOOL AbortPrinter(
  _In_ HANDLE hPrinter
);

Implementation

int AbortPrinter(int hPrinter) => _AbortPrinter(hPrinter);