WritePrinter function winspool
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);