The GetWindowHDC method retrieves a handle to the window's device context (DC).
Syntax
HDC GetWindowHDC(void);
Return Value
Returns a handle to the DC.
See Also