FlushPrinter function winspool
The FlushPrinter function sends a buffer to the printer in order to clear it from a transient state.
BOOL FlushPrinter(
_In_ HANDLE hPrinter,
_In_ LPVOID pBuf,
_In_ DWORD cbBuf,
_Out_ LPDWORD pcWritten,
_In_ DWORD cSleep
);
Implementation
int FlushPrinter(int hPrinter, Pointer pBuf, int cbBuf,
Pointer<Uint32> pcWritten, int cSleep) =>
_FlushPrinter(hPrinter, pBuf, cbBuf, pcWritten, cSleep);