CDC::ReleaseOutputDC 

virtual void ReleaseOutputDC( );

Remarks

Call this member function to set the m_hDC member to NULL. This member function cannot be called when the output device context is attached to the CDC object. Use the Detach member function to detach the output device context.

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::SetAttribDC, CDC::SetOutputDC, CDC::ReleaseAttribDC, CDC::m_hDC