DXGK_CHILD_STATUS structure (dispmprt.h)

The DXGK_CHILD_STATUS structure contains members that indicate the status of a child device of the display adapter.

Syntax

typedef struct _DXGK_CHILD_STATUS {
  DXGK_CHILD_STATUS_TYPE Type;
  ULONG                  ChildUid;
  union {
    struct {
      BOOLEAN Connected;
    } HotPlug;
    struct {
      UCHAR Angle;
    } Rotation;
    struct {
      BOOLEAN                         Connected;
      D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY MiracastMonitorType;
    } Miracast;
  };
} DXGK_CHILD_STATUS, *PDXGK_CHILD_STATUS;

Members

Type

A member of the DXGK_CHILD_STATUS_TYPE enumeration that indicates the type of status being requested.

ChildUid

An integer, created previously by the display miniport driver, that identifies the child device for which status is being requested.

HotPlug

HotPlug.Connected

If Type is equal to DXGK_CHILD_STATUS_TYPE.StatusConnection, indicates whether the child device has external hardware (for example, a monitor) connected to it. A value of TRUE indicates that hardware is connected; FALSE indicates that hardware is not connected.

Rotation

Rotation.Angle

If Type is equal to DXGK_CHILD_STATUS_TYPE.StatusRotation, indicates the angle of rotation of the display connected to the child device.

Miracast

Supported by WDDM 1.3 and later display miniport drivers running on Windows 8.1 and later.

Miracast.Connected

If Type is equal to DXGK_CHILD_STATUS_TYPE.StatusMiracast, indicates whether a Miracast connected session has started. A value of TRUE indicates that a new monitor has been connected to the Miracast sink, or that the Miracast session has started with a monitor connected. FALSE indicates that the monitor that was connected to the Miracast sink has been unplugged, or that the Miracast session has been stopped.

For more info, see Wireless displays (Miracast).

Miracast.MiracastMonitorType

If the Connected member of the Miracast embedded structure is TRUE, indicates the connector type of the connection between the Miracast sink and the monitor or TV.

Alternately, if Connected is TRUE and the Miracast sink is embedded in the monitor or TV, the display miniport driver should set this value to D3DKMDT_VOT_MIRACAST.

If the driver doesn't know the monitor connection state, it should set this value to the last monitor connection state from the D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY enumeration that it reported to the operating system.

For more info, see Wireless displays (Miracast).

Requirements

Requirement Value
Minimum supported client Windows Vista
Header dispmprt.h (include Dispmprt.h)

See also

D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY

DXGK_CHILD_STATUS_TYPE

DxgkCbIndicateChildStatus

DxgkDdiQueryChildRelations

DxgkDdiQueryChildStatus