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 {
[in] D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
[in] HANDLE PrimaryAllocation;
[in] UINT PrivateDriverFormatAttribute;
} DXGKARG_SETDISPLAYPRIVATEDRIVERFORMAT;
Members
[in] VidPnSourceId
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.
[in] PrimaryAllocation
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.
[in] PrivateDriverFormatAttribute
A UINT value that specifies the private-format attribute to set for the video present source that the VidPnSourceId member specifies.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Header | d3dkmddi.h (include D3dkmddi.h) |