Export (0) Print
Expand All
Expand Minimize

D3DKMDT_VIDPN_SOURCE_MODE structure

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.

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.

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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmdt.h (include D3dkmdt.h)

See also

VidPN Source Mode Set Interface
D3DKMDT_VIDPN_TARGET_MODE
D3DKMDT_MONITOR_SOURCE_MODE

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft