D3DKMT_OUTPUTDUPL_SNAPSHOT structure (d3dkmthk.h)

The D3DKMT_OUTPUTDUPL_SNAPSHOT structure provides information on the current processes in which output duplication is occurring.

Syntax

typedef struct _D3DKMT_OUTPUTDUPL_SNAPSHOT {
  UINT                          Size;
  UINT                          SessionProcessCount;
  UINT                          SessionActiveConnectionsCount;
  UINT                          NumVidPnSources;
  UINT                          NumOutputDuplContexts;
  UINT                          Padding;
  OUTPUTDUPL_CONTEXT_DEBUG_INFO OutputDuplDebugInfos[0];
} D3DKMT_OUTPUTDUPL_SNAPSHOT;

Members

Size

[in/out] The size, in bytes, of the entire structure.

SessionProcessCount

[out] The number of processes in this session that are currently duplicating output. The value of NumOutputDuplContexts specifies the maximum possible number of processes.

SessionActiveConnectionsCount

[out] The total number of active contexts in this session. The value may be more than the number of active contexts in the 2-D array, which are per adapter.

NumVidPnSources

[out] The number of video present network (VidPN) sources.

NumOutputDuplContexts

[out] The number of contexts in which output duplication is occurring.

Padding

Padding.

OutputDuplDebugInfos[0]

Reserved for system use. Set to zero.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header d3dkmthk.h (include D3dkmthk.h)