IfmSystem::CreateFMCompatibleDC

This method creates a compatible device context (DC).

Syntax

HRESULT CreateFMCompatibleDC( OLE_HANDLE hFC, OLE_HANDLE *phDC );

Parameters

hFC
Handle to the Forms Manager’s context. It is FC_MAINFACEPLATE.
phDC
Pointer to the handle to the created DC.

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.