COMPOSITION_TARGET_ID structure (dcomptypes.h)

Contains information about a composition render target.

Syntax

typedef struct tagCOMPOSITION_TARGET_ID {
  bool operator==(
    const tagCOMPOSITION_TARGET_ID & rhs
  );
  bool operator!=(
    const tagCOMPOSITION_TARGET_ID & rhs
  );
  LUID displayAdapterLuid;
  LUID renderAdapterLuid;
  UINT vidPnSourceId;
  UINT vidPnTargetId;
  UINT uniqueId;
} COMPOSITION_TARGET_ID;

Members

bool operator==( const tagCOMPOSITION_TARGET_ID & rhs)

Compares the values of two COMPOSITION_TARGET_ID objects to see if they contain identical values.

bool operator!=( const tagCOMPOSITION_TARGET_ID & rhs)

Compares the values of two COMPOSITION_TARGET_ID objects to see if they contain different values.

displayAdapterLuid

Type: LUID

The locally unique identifier (LUID) of the display adapter to which the monitor is connected.

renderAdapterLuid

Type: LUID

The locally unique identifier (LUID) of the render adapter.

vidPnSourceId

Type: UINT

The unique ID of the video present source.

vidPnTargetId

Type: UINT

The unique ID of the video present target.

uniqueId

A unique identifier for this COMPOSITION_TARGET_ID.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header dcomptypes.h

See also

DCompositionGetStatistics, DCompositionGetTargetStatistics