Bewerken

Delen via


D3DKMDT_VIDPN_SOURCE_MODE structure (d3dkmdt.h)

The D3DKMDT_VIDPN_SOURCE_MODE structure contains information about a video present network (VidPN) source mode.

Syntax

typedef struct _D3DKMDT_VIDPN_SOURCE_MODE {
  D3DKMDT_VIDEO_PRESENT_SOURCE_MODE_ID Id;
  D3DKMDT_VIDPN_SOURCE_MODE_TYPE       Type;
  union {
    D3DKMDT_GRAPHICS_RENDERING_FORMAT Graphics;
    D3DKMDT_TEXT_RENDERING_FORMAT     Text;
  } Format;
} D3DKMDT_VIDPN_SOURCE_MODE;

Members

Id

An integer that identifies the source mode. The identifier is generated and filled in by the VidPN manager. However, the display miniport driver has the option of overwriting the identifier. For more information, see pfnCreateNewModeInfo.

Type

A D3DKMDT_VIDPN_SOURCE_MODE_TYPE enumerator that indicates the mode type: graphics or text.

Format

A union that contains information about either the graphics rendering format or the text format in the following members.

Format.Graphics

A D3DKMDT_GRAPHICS_RENDERING_FORMAT structure that contains information about the graphics rendering format (for example, primary surface size and pixel format). This member is meaningful only if the Type member is equal to D3DKMDT_RMT_GRAPHICS.

Format.Text

A D3DKMDT_TEXT_RENDERING_FORMAT enumerator that indicates the text format. This member is meaningful only if the Type member is equal to D3DKMDT_RMT_TEXT.

Remarks

For more information about video present sources and VidPN source modes, see Introduction to Video Present Networks and Enumerating Cofunctional VidPN Source and Target Modes.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmdt.h

See also

D3DKMDT_MONITOR_SOURCE_MODE

D3DKMDT_VIDPN_TARGET_MODE