hdc (HDC) - input
lStart (LONG) - input
Index to the required starting HCINFO structure. A value of 0 identifies the HCINFO for the first form.
cCount (LONG) - input
Number of structures to be returned in the buffer. A value of 0 requests the handling routine to set the return code to the number of forms that the driver supports.
pInfo (PHCINFO) - input
A pointer to the buffer for the returned data. The data is returned as a set of one or more HCINFO structures. When pInfo is not equal to NULL and lStart is greater than or equal to the number of form codes that the hardcopy drivers supports, the hardcopy driver should return 0 without modifying the memory block pointed to by pInfo.
szFormname[32]
pInstance (PVOID) - input
lFunction (ULONG) - input
rc (LONG) - returns
The value returned by the handling routine depends on the initial value of cCount. If cCount=0, return the total number of form codes that the presentation driver supports. For any other value, return the number of HCINFO structures that were transferred to the buffer.
Possible Errors Detected: When an error is detected, the handling routine must return DQHC_ERROR and call WinSetErrorInfo to post the condition. An error code for conditions that the handling routine is expected to check is:
PMERR_INV_LENGTH_OR_COUNT