Function:
GetDC(HWNDhWnd)

 

Description:
Gets the device context (DC) of a window or other device, given the object's handle. When you are finished using the device context, you should use ReleaseDC to free up system resources.

 

Parameters:
hWnd: The handle of the object or device to get the device context of.

 

Returns:
The Device Context of the window or other device.

 

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