IADLXDesktop

The IADLXDesktop interface provides properties of a desktop, such as size, location, and displays associated with it.

InterfaceId:

IADLXDesktop

Smart Pointer Interface Name:

IADLXDesktopPtr

Inherits:

IADLXInterface

Inherited By:

N/A

To get the IADLXDesktop, an application should get a list of desktops first via IADLXDesktopServices interface.

Methods

Method

Description

GetDisplays

Gets the reference counted list of displays that show pixels from a desktop.

GetNumberOfDisplays

Gets the number of displays that show pixels from a desktop.

Orientation

Gets the orientation of a desktop.

Size

Gets the size of a desktop.

TopLeft

Get the top left position of a desktop in Windows screen coordinates.

Type

Get the type of a desktop.

Requirements

Header

include “IDesktops.h”

Minimum version

1.0

Example

To see how to use this interface in a C++ application, refer to the DesktopsEvent C++ sample .

For a C application, refer to the DesktopsEvent C sample .