CommitSpoolData function winspool
The CommitSpoolData function notifies the print spooler that a specified amount of data has been written to a specified spool file and is ready to be rendered.
HANDLE CommitSpoolData(
_In_ HANDLE hPrinter,
_In_ HANDLE hSpoolFile,
DWORD cbCommit
);
Implementation
int CommitSpoolData(int hPrinter, int hSpoolFile, int cbCommit) =>
_CommitSpoolData(hPrinter, hSpoolFile, cbCommit);