IFMDraw::GetDC

This method gets a screen device context (DC).

Syntax

HRESULT GetDC( OLE_HANDLE *phDC );

Parameters

phDC
Pointer to the handle to a screen DC.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

Remarks

Every call to IFMDraw::GetDC must be matched by a call to IFMDraw::ReleaseDC.

See Also

IFMDraw::ReleaseDC