S
smilboy
Unregistered / Unconfirmed
GUEST, unregistred user!
he GetJob function retrieves print-job data for the specified printer.
BOOL GetJob(
HANDLE hPrinter, // handle of printer
DWORD JobId, // job identifier value
DWORD Level, // data-structure level
LPBYTE pJob, // address of data-structure array
DWORD cbBuf, // count of bytes in array
LPDWORD pcbNeeded // address of value that contains count of bytes retrieved (or required)
);
这个函数怎么用,请给个例子,谢谢
BOOL GetJob(
HANDLE hPrinter, // handle of printer
DWORD JobId, // job identifier value
DWORD Level, // data-structure level
LPBYTE pJob, // address of data-structure array
DWORD cbBuf, // count of bytes in array
LPDWORD pcbNeeded // address of value that contains count of bytes retrieved (or required)
);
这个函数怎么用,请给个例子,谢谢