hdc (HDC) - input
The valid handle must have selected into it a bit map the same size as the screen from which the source data was read.
pBuffer (PBYTE) - input
Pointer to the memory buffer where the source data is located.
cBytes (ULONG) - input
This must be the same value as that returned by the corresponding GreGetScreenBits call.
hrgn (HRGN) - input
The area that is updated in the memory bit map by this call is added to the region identified by this handle.
pdcArg (PDC) - input
FunN (ULONG) - input
rc (LONG) - returns
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_BITMAP_NOT_SELECTED PMERR_INCOMPAT_COLOR_FORMAT
PMERR_INV_DC_TYPE
PMERR_INV_IMAGE_DIMENSION
PMERR_INV_IN_AREA
PMERR_INV_IN_PATH
PMERR_INV_LENGTH_OR_COUNT
PMERR_INV_RECT