hdc (HDC) - input
iIndex (ULONG) - input
Index value of the returned handle in the range 0 - 3. A value of 1 can be used to get the associated AVIO presentation space handle.
pInstance (PVOID) - input
lFunction (ULONG) - input
rc (LONG) - returns
On completion, the graphics engine returns the handle requested hHandle), or GPI_ALTERROR if an error occurs.
Possible Errors Detected: When an error is detected, the graphics engine calls WinSetErrorInfo to post the condition. Reasons for failure of this function include:
PMERR_HDC_BUSY PMERR_INV_HDC