WindowFromDC function user32
The WindowFromDC function returns a handle to the window associated with the specified display device context (DC). Output functions that use the specified device context draw into this window.
HWND WindowFromDC(
HDC hDC
);
Implementation
int WindowFromDC(int hDC) => _WindowFromDC(hDC);