The WindowEx.GetDesktopWindow function returns the handle of the Windows desktop window. The desktop window covers the entire screen. The desktop window is the area on top of which all icons and other windows are painted.

number WindowEx.GetDesktopWindow();

Parameters

This function has no parameters.

Return Values

The return value is the handle of the desktop window.