// dispmprt.h
typedef struct _DXGK_CHILD_CONTAINER_ID {
GUID ContainerId;
struct {
ULONG64 PortId;
USHORT ManufacturerName;
USHORT ProductCode;
} EldInfo;
} DXGK_CHILD_CONTAINER_ID, *PDXGK_CHILD_CONTAINER_ID;
View the official Windows Driver Kit DDI referenceNo description available.
Contains the container ID for a child device that is connected to a display adapter.
ContainerIdThe container ID for the child device. For more information, see the Remarks section.
EldInfoThis structure contains the information that the operating system used to generate the container ID for the child device.
EldInfo.PortIdA ULONG64 value that contains the port ID for the child device. The operating system created this ID based on the name of the child device.
EldInfo.ManufacturerNameA USHORT value that contains the manufacturer's name. The operating system obtains this data from the child device's descriptor.
EldInfo.ProductCodeA USHORT value that contains the manufacturer's product code for the child device. The operating system obtains this data from the child device's descriptor.
The operating system calls the display miniport driver's DxgkDdiQueryChildRelations function to enumerate the child devices of the display adapter. The operating system then calls the display miniport driver's DxgkDdiQueryDeviceDescriptor function for each child device to obtain the Extended Display Information Data (EDID) for the device. For more information on this procedure, see Enumerating Child Devices of a Display Adapter.
Based on the device's EDID data, the operating system generates a default container ID for the child device. Then, the operating system calls the display miniport driver's DxgkDdiGetChildContainerId function and passes a pointer to a DXGK_CHILD_CONTAINER_ID structure through the ContainerId parameter. The ContainerId member of this structure contains the default container ID for the child display device.
The display miniport driver can either accept the default container ID because the display hardware has no container ID coded into the firmware, or it can set the ContainerId member to a unique identifier obtained from the display hardware device before it returns from the call to DxgkDdiGetChildContainerId.
For more information about Container IDs, see Container IDs.