Skip to content

IADLXDesktop

Navigation: ADLX SDK ReferencesADLX InterfacesDesktop

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

MethodDescription
GetDisplaysGets the reference counted list of displays that show pixels from a desktop.
GetNumberOfDisplaysGets the number of displays that show pixels from a desktop.
OrientationGets the orientation of a desktop.
SizeGets the size of a desktop.
TopLeftGet the top left position of a desktop in Windows screen coordinates.
TypeGet the type of a desktop.

Requirements

Headerinclude “IDesktops.h”
Minimum version1.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.

Subpages

  • 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.

API Reference

This page references: