#include “BlackIceDEVMODE.h”
int GetJobInfo(LPCTSTR szPrinter, DWORD dwNrJob, PBLACKICE_JOBINFO pBlackIceJobInfo)
Description
Retreives information about a given job from a given printer.
Parameters
LPCTSTR szPrinter - the name of the printer to query
DWORD dwNrJob - the job’s order number from the job list. The job list is 0 based, the first job has index 0.
PBLACKICE_JOBINFO pBlackIceJobInfo - pointer to the PBLACKICE_JOBINFO structure to receive the information about the print job
Return value
0 on success, GetLastError() errorcode otherwise.
Programming Notes
None
Code Example
None