GXDDB2GSPixMap
Convert from device dependent bitmap to GSPixMap. On a palette device, a correct logical palette has to be selected into the given DC.
GSErr GXDDB2GSPixMap ( HDC hDC, HBITMAP hBmp, GSPixMapHandle* pixMap, GSRect* rect );
Parameters
- hDC
- Device context.
- hBmp
- Device dependent bitmap. If NULL, the DC's current bitmap is used for the conversion.
- pixMap
- Pointer to the destination GSPixMap.
- rect
- A partial region may be chosen for conversion by the use of this parameter. Can be NULL.
Return Values
If the function succeeds, the return value is NoError. If the function fails, the return value is the error code.
Remarks
This function exists only on Windows platform.
Requirements
- Version:
- GX 10 or later
- Header:
- Graphics2DWin.h
- Import Library:
- GXImp.lib
- Module:
- GX.dll [WIN], GX.framework [MAC]