DisplayTarget.AdapterRelativeId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a driver-defined identifier for this target that uniquely identifies the connector across device starts and reboots. Note that this identifier is only unique within its adapter, and does not refer to the connected monitor at all.
public:
property unsigned int AdapterRelativeId { unsigned int get(); };
uint32_t AdapterRelativeId();
public uint AdapterRelativeId { get; }
var uInt32 = displayTarget.adapterRelativeId;
Public ReadOnly Property AdapterRelativeId As UInteger
Property Value
The driver-defined identifier for this target.
Remarks
This is also referred to as the "target ID" in the legacy Display Config APIs.