WritePrinter function winspool

int WritePrinter(
  1. int hPrinter,
  2. Pointer<NativeType> pBuf,
  3. int cbBuf,
  4. Pointer<Uint32> pcWritten,
)

The WritePrinter function notifies the print spooler that data should be written to the specified printer.

BOOL WritePrinter(
  _In_  HANDLE  hPrinter,
  _In_  LPVOID  pBuf,
  _In_  DWORD   cbBuf,
  _Out_ LPDWORD pcWritten
);

Implementation

int WritePrinter(
        int hPrinter, Pointer pBuf, int cbBuf, Pointer<Uint32> pcWritten) =>
    _WritePrinter(hPrinter, pBuf, cbBuf, pcWritten);