CWnd::ReleaseDC

Call this member function to release a device context, freeing it for use by other applications.

Syntax

int ReleaseDC( CDC* pDC );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetDC, CWnd::GetWindowDC