Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Releases the display device context of a container of a windowless control, freeing the device context for use by other applications.
int ReleaseDC(
CDC* pDC
);
Parameters
- pDC
Identifies the container device context to be released.
Return Value
Nonzero if successful; otherwise 0.
Remarks
The application must call ReleaseDC for each call to GetDC.
Requirements
Header: afxctl.h