Export (0) Print
Expand All
Expand Minimize

DXGKARG_SETDISPLAYPRIVATEDRIVERFORMAT structure

The DXGKARG_SETDISPLAYPRIVATEDRIVERFORMAT structure describes how to set the private-format attribute for a video present source.

Syntax


typedef struct _DXGKARG_SETDISPLAYPRIVATEDRIVERFORMAT {
  D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
  HANDLE                         PrimaryAllocation;
  UINT                           PrivateDriverFormatAttribute;
} DXGKARG_SETDISPLAYPRIVATEDRIVERFORMAT;

Members

VidPnSourceId

[in] The zero-based identification number that identifies the video present source in a path of a video present network (VidPN) topology to change the private driver format attribute of.

PrimaryAllocation

[in] If nonzero, handle to the allocation for the current primary surface for the video present source that the VidPnSourceId member specifies. The display miniport driver returns this handle when its DxgkDdiCreateAllocation function is called to create the primary surface. This handle is returned in the hAllocation member of the DXGK_ALLOCATIONINFO structure of the primary-surface element in the pAllocationInfo array member of the DXGKARG_CREATEALLOCATION structure. This handle is a pointer to a private driver data structure that contains information about the primary allocation.

If PrimaryAllocation is set to zero, no primary surface is currently associated with the video present source. In this situation, the video present source is not visible.

PrivateDriverFormatAttribute

[in] A UINT value that specifies the private-format attribute to set for the video present source that the VidPnSourceId member specifies.

Requirements

Version

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

Header

D3dkmddi.h (include D3dkmddi.h)

See also

DXGK_ALLOCATIONINFO
DXGKARG_CREATEALLOCATION
DxgkDdiCreateAllocation
DxgkDdiSetDisplayPrivateDriverFormat

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft