Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Releases a device context, freeing it for use by other applications.
int ReleaseDC(
CDC* pDC
);
Parameters
- pDC
Identifies the device context to be released.
Return Value
Nonzero if successful; otherwise 0.
Remarks
The effect of the ReleaseDC member function depends on the device-context type.
The application must call the ReleaseDC member function for each call to the GetWindowDC member function and for each call to the GetDC member function.
Requirements
Header: afxwin.h