GetDesktopWindow function returns 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. It is a simple wrapper around Win32 function.
$hwnd = GetDesktopWindow();
Window handle of a desktop window