Show / Hide Table of Contents

Method GetDesktopWindow

| Edit this page View Source

GetDesktopWindow()

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.

Declaration
public static nint GetDesktopWindow()
Returns
Type Description
nint

The return value is a handle to the desktop window.

Remarks

Learn more about this API from docs.microsoft.com.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX