Partilhar via


CDC::GetSafeHdc

Call this member function to get m_hDC, the output device context.

HDC GetSafeHdc( ) const;

Return Value

A device context handle.

Remarks

This member function also works with null pointers.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

Other Resources

CDC Members