WindowFromDC function Null safety user32
- int hDC
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) {
final _WindowFromDC = _user32.lookupFunction<IntPtr Function(IntPtr hDC),
int Function(int hDC)>('WindowFromDC');
return _WindowFromDC(hDC);
}