hdc (HDC) - input
hbm (HBITMAP) - input
pInstance (PVOID) - input
Pointer
to instance data.
lFunction (ULONG) - input
High-order
WORD=flags; low-order WORD=NGreSelectBitmap.
rc (HBITMAP) - returns
On
completion, this function returns an HBITMAP value:
HBM_ERROR
Null
Other
Handle of deselected bit map
An
error is raised when the bit map:
- Is incompatible with the DC and cannot be converted
Is already selected into a DC
Has been assigned a Set ID for use as a pattern
in an area fill operation
Possible Errors Detected:
Error codes posted by the graphics engine for this function include:
PMERR_BITMAP_IS_SELECTED PMERR_DEV_FUNC_NOT_INSTALLED
PMERR_HBITMAP_BUSY
PMERR_HDC_BUSY
PMERR_INSUFFICIENT_MEMORY
PMERR_INV_BITMAP_DIMENSION
PMERR_INV_COORDINATE
PMERR_INV_HBITMAP
PMERR_INV_HDC
PMERR_INV_HRGN
PMERR_INV_IN_AREA
PMERR_INV_IN_PATH
PMERR_INV_INFO_TABLE
PMERR_INV_LENGTH_OR_COUNT
PMERR_INV_RECT
PMERR_INV_REGION_CONTROL
PMERR_INV_SCAN_START
Refer to the "Error Explanations"
section of the Presentation Manager Programming Reference for further
explanation.
[Back: GreSelectBitmap Return Value - rc]
[Next: GreSelectBitmap - Remarks]