HWND WindowFromDC(hdc) | |||
HDC hdc; |
WindowFromDC returns the window associated with the passed display context. Any output functions to this display context will draw into this window.
hdc
Identifies the display context whose associated window is to be retrieved.
If the function succeeds, the return value identifies the window associated with the given display context. Otherwise, the return value is NULL.
GetDC