CDC::GetSafeHdc

This method retrieves the m_hDC data member, which contains the output device context.

HDC GetSafeHdc( )
const; 

Return Value

A device context handle.

Requirements

**  Windows CE versions:** 1.0 and later
  Header file: Declared in Afxwin.h
  Platform: H/PC Pro, Palm-size PC, Pocket PC

See Also

CDC::m_hDC