ClosePrinter function Null safety winspool

int ClosePrinter(
  1. int hPrinter
)

The ClosePrinter function closes the specified printer object.

BOOL ClosePrinter(
  _In_ HANDLE hPrinter
  );

Implementation

int ClosePrinter(int hPrinter) => _ClosePrinter(hPrinter);