CloseSpoolFileHandle function Null safety winspool

int CloseSpoolFileHandle(
  1. int hPrinter,
  2. int hSpoolFile
)

The CloseSpoolFileHandle function closes a handle to a spool file associated with the print job currently submitted by the application.

BOOL CloseSpoolFileHandle(
  _In_ HANDLE hPrinter,
  _In_ HANDLE hSpoolFile
);

Implementation

int CloseSpoolFileHandle(int hPrinter, int hSpoolFile) =>
    _CloseSpoolFileHandle(hPrinter, hSpoolFile);