Function:
releaseDC(HWNDhWnd, hdc)

 

Description:
Frees up the resources used when you use GetDC to get an object's device context.

 

Parameters:
hWnd: The handle of the object to free the resources of.
hdc: The device context of the object to free the resources of.

 

Returns:
The function returns 0 if an error occured or a 1 if successful.

 

Example:
Click on the calc icon to view a sample of the RelaseDC function.