IfmSystem::CreateFMCompatibleBitmap

This method creates a compatible bitmap.

Syntax

HRESULT CreateFMCompatibleBitmap( OLE_HANDLE hFC, OLE_HANDLE *phBitMap, LONG Width, LONG Height );

Parameters

hFC
Handle to the Forms Manager’s context. It is FC_MAINFACEPLATE.
phBitmap
Pointer to the handle to the created bitmap.
Width
Specifies the width of the bitmap.
Height
Specifies the height of the bitmap.

Return Values

S_OK indicates success. E_OUTOFMEMORY indicates that the system is out of memory. If an error occurs, the appropriate HRESULT value is returned.