hdc (HDC) - input
cSave (LONG) - input
Indicates the saved DC state, which the handling routine uses to restore the region. When this is passed as -1, the handling routine resets the region to its initial state (-1 is passed to this routine from GreResetDC and is the only valid negative value). A value of 0 indicates that the region is restored to its initial state. Other positive values identify which saved level is restored. See RestoreDCState.
pInstance (PVOID) - input
lFunction (ULONG) - input
fSuccess (BOOL) - returns
This function returns BOOLEAN (fSuccess).
TRUE
PMERR_DEV_FUNC_NOT_INSTALLED PMERR_HDC_BUSY
PMERR_INSUFFICIENT_MEMORY
PMERR_INV_COORDINATE
PMERR_INV_HDC
PMERR_INV_HRGN
PMERR_INV_RECT
PMERR_INV_REGION_CONTROL