GetDesktopWindow function Null safety user32
Retrieves a handle to the desktop window. The desktop window covers the entire screen. The desktop window is the area on top of which other windows are painted.
HWND GetDesktopWindow();
Implementation
int GetDesktopWindow() {
final _GetDesktopWindow = _user32
.lookupFunction<IntPtr Function(), int Function()>('GetDesktopWindow');
return _GetDesktopWindow();
}