#include “BlackIceDEVMODE.h”
int GetNumberOfJobs(LPCTSTR szPrinter, DWORD* pdwNrJobs);
Description
Retreives the current number of jobs for the given printer
Parameters
LPCTSTR szPrinter - szPrinter - the name of the printer to query
DWORD* pdwNrJobs - pdwNrJobs - variable to receive the number of jobs
Return value
0 on success, GetLastError() errorcode otherwise.
Programming Notes
None
Code Example
None