GetDesktopWindow function

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.

Syntax

HWND GetDesktopWindow();

Parameters

This function has no parameters.

Return value

Type: Type: HWND

The return value is a handle to the desktop window.

Requirements

   

See also

Conceptual

GetWindow

Reference

Windows