GetJobID

The GetJobID method returns the print job ID of the job that the printing to the passed in DC parameter if still valid.

 

Syntax

ActiveX:

System.Int32 GetJobID(System.IntPtr hDC)

DLL:

int GetJobID(HANDLE hPrinter, HDC hdc)

 

Parameters

hDC

Handle to printer device context returned by a call to CreateDC or by the application.

 

hPrinter

Handle to printer returned by any of the DriverInit function calls.

 

Return Value

This method returns job ID.

 

Remarks

Member of CDIntfEx.CDIntfEx.