hdc (HDC) - input
hrgnApp (HRGN) - input
Area can be either a valid region handle or a pointer to an inclusive RECTL, specified by a flag in the flCmd field.
pDest (PBYTE) - input
pulLength (PULONG) - input
The ULONG must contain the length of the memory buffer pointed to by pDest. Valid values range from 2071 bytes to 64K bytes. Upon exit, the ULONG contains the number of bytes stored in the memory buffer.
flCmd (ULONG) - input
These flags specify the format (bits per pel, linear or planar) of the data to be put in the memory buffer. flCmd also indicates whether hrgn contains a region handle or a pointer to a RECTL. Valid options include the following:
GSB_OPT_4BPP
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_INV_DC_TYPE PMERR_INV_FORMAT_CONTROL
PMERR_INV_IMAGE_DIMENSION
PMERR_INV_IN_AREA
PMERR_INV_IN_PATH
PMERR_INV_LENGTH_OR_COUNT
PMERR_PEL_NOT_AVAILABLE