Group: Window - Library: user32
HWND GetShellWindow(VOID);
DECLARE INTEGER GetShellWindow IN user32
This function has no input parameters.
The return value is the handle of the Shell"s desktop window. If no Shell process is present, the return value is NULL.
My guess: in many cases this function returns result very close (but not identical) to the GetDesktopWindow function.