hdc (HDC) - input
lType (ULONG) - input
Resource types returned by the presentation driver:
RT_DISPLAYINFO
cb
The cxDeviceAlign and cyDeviceAlign parameters allow the presentation driver to align windows on these boundaries and so optimize window management operations.
SPTR_ARROW
SBMP_BTNCORNERS
SBMP_OLD_CHILDSYSMENU
SBMP_CHECKBOXES
SFONT_RASTER
id (ULONG) - input
pInstance (PVOID) - input
lFunction (ULONG) - input
rc (LONG) - returns
This function returns the address of the indicated resource-0 if no address is available, or GPI_ALTERROR if an error occurs.
Possible Errors Detected: When an error is detected, the handling routine must call WinSetErrorInfo to post the condition. Error codes for conditions that the handling routine is expected to check include:
PMERR_BASE_ERROR PMERR_DEV_FUNC_NOT_INSTALLED