Bewerken

Delen via


DXGK_MIRACAST_DISPLAY_INTERFACE structure (dispmprt.h)

Contains pointers to functions in the Wireless display (Miracast) interface that the display miniport driver implements to create, destroy, query, and control Miracast device resources.

Syntax

typedef struct _DXGK_MIRACAST_INTERFACE {
  USHORT                             Size;
  USHORT                             Version;
  PVOID                              Context;
  PINTERFACE_REFERENCE               InterfaceReference;
  PINTERFACE_DEREFERENCE             InterfaceDereference;
  DXGKDDI_MIRACAST_QUERY_CAPS        DxgkDdiMiracastQueryCaps;
  DXGKDDI_MIRACAST_CREATE_CONTEXT    DxgkDdiMiracastCreateContext;
  DXGKDDI_MIRACAST_HANDLE_IO_CONTROL DxgkDdiMiracastIoControl;
  DXGKDDI_MIRACAST_DESTROY_CONTEXT   DxgkDdiMiracastDestroyContext;
} DXGK_MIRACAST_DISPLAY_INTERFACE, *PDXGK_MIRACAST_DISPLAY_INTERFACE;

Members

Size

The size, in bytes, of this structure.

Version

The version number of the Miracast interface. Version number constants are defined in Dispmprt.h (for example, DXGK_MIRACAST_DISPLAY_INTERFACE_VERSION_1).

Context

A pointer to a context that is provided by the display miniport driver.

InterfaceReference

A pointer to an interface reference function that is implemented by the display miniport driver.

InterfaceDereference

A pointer to an interface dereference function that is implemented by the display miniport driver.

DxgkDdiMiracastQueryCaps

A pointer to the display miniport driver's DxgkDdiMiracastQueryCaps function.

DxgkDdiMiracastCreateContext

A pointer to the display miniport driver's DxgkDdiMiracastCreateContext function.

DxgkDdiMiracastIoControl

A pointer to the display miniport driver's DxgkDdiMiracastIoControl function.

DxgkDdiMiracastDestroyContext

A pointer to the display miniport driver's DxgkDdiMiracastDestroyContext function.

Remarks

When the graphics adapter is started, the Microsoft DirectX graphics kernel subsystem calls the display miniport driver's DxgkDdiQueryInterface function to retrieve the interface.

If the driver does not support Miracast displays, it should fail the query for this interface.

If the driver supports Miracast displays, then it must also support High-bandwidth Digital Content Protection (HDCP).

For more info on how to use the Miracast interface, see WDDM display miniport driver tasks to support Miracast wireless displays.

Requirements

Requirement Value
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Header dispmprt.h (include Dispmprt.h)

See also

DxgkDdiMiracastCreateContext

DxgkDdiMiracastDestroyContext

DxgkDdiMiracastIoControl

DxgkDdiMiracastQueryCaps

DxgkDdiQueryInterface