DXGKARG_SETDISPLAYPRIVATEDRIVERFORMAT structure (d3dkmddi.h)

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

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dkmddi.h (include D3dkmddi.h)

See also

DXGKARG_CREATEALLOCATION

DXGK_ALLOCATIONINFO

DxgkDdiCreateAllocation

DxgkDdiSetDisplayPrivateDriverFormat