hdc (HDC) - input
lEscape (LONG) - input
cInCount (LONG) - input
pInData (PBYTE) - input
pcOutCount (PLONG) - input
On input, this parameter specifies the size of the buffer pointed to by pOutData. On output, it is set to the number of data bytes returned in this buffer. The input value of this parameter is usually 2. On completion, this is set to 0 if no ID is returned in pOutData.
pOutData (PLONG) - input
Pointer to a data area in which the Job ID of the spooled print job is returned. Set to NULL if there is no Job ID, for example, when the hardcopy DC is OD_DIRECT.
pInstance (PVOID) - input
lFunction (ULONG) - input
rc (LONG) - returns
The handling routine returns:
DEV_OK