D3DKMT_OUTPUTDUPLPRESENT structure

Describes a Desktop Duplication API swapchain present operation.

Syntax

typedef struct _D3DKMT_OUTPUTDUPLPRESENT {
  D3DKMT_HANDLE                  hContext;
  D3DKMT_HANDLE                  hSource;
  D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
  ULONG                          BroadcastContextCount;
  D3DKMT_HANDLE                  BroadcastContext[D3DDDI_MAX_BROADCAST_CONTEXT];
  D3DKMT_PRESENT_RGNS            PresentRegions;
  D3DKMT_OUTPUTDUPLPRESENTFLAGS  Flags;
  D3DKMT_HANDLE                  hIndirectContext;
} D3DKMT_OUTPUTDUPLPRESENT;

Members

        `hContext`

        [in] A D3DKMT_HANDLE data type that represents a handle to the context.
    
    
        `hSource`

        [in] A D3DKMT_HANDLE data type that represents a kernel-mode handle to the source allocation to be displayed.
    
    
        `VidPnSourceId`

        The zero-based identification number of a video present source in a path of a video present network (VidPN) topology.
    
    
        `BroadcastContextCount`

        [in] Specifies the number of contexts.
    
    
        `BroadcastContext`

        [in] A D3DKMT_HANDLE data type that represents the broadcast context.
    
    
        `PresentRegions`

        [in] Dirty and move regions, of type <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/d3dkmthk/ns-d3dkmthk-_d3dkmt_present_rgns">D3DKMT_PRESENT_RGNS</a>.
    
    
        `Flags`

        [in] A bitwise-OR combination of values from the <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/d3dkmthk/ns-d3dkmthk-_d3dkmt_outputduplpresentflags">D3DKMT_OUTPUTDUPLPRESENTFLAGS</a> enumeration that describe options for the present operation.
    
    
        `hIndirectContext`

        The indirect adapter context for redirecting through the DoD present path. This member is valid only if the PresentIndirect flag is set.
    

Requirements

   
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header d3dkmthk.h (include D3dkmthk.h)
## See Also

    <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/d3dkmthk/ns-d3dkmthk-_d3dkmt_outputduplpresentflags">D3DKMT_OUTPUTDUPLPRESENTFLAGS</a>

D3DKMT_PRESENT_RGNS