D3DKMT_CREATETRACKEDWORKLOAD structure

Arguments used to create a tracked workload.

Note

This Tracked Workload implementation is removed from Windows 10 version 2003 until further notice, and was deprecated from earlier OS versions as part of a security fix.

Syntax

typedef struct _D3DKMT_CREATETRACKEDWORKLOAD {
  ULONG                              ContextCount;
  const D3DKMT_HANDLE                *ContextArray;
  D3DKMT_TRACKEDWORKLOADDEADLINETYPE DeadlineType;
  UINT32                             VidPnTargetId;
  D3DKMT_TRACKEDWORKLOADFLAGS        Flags;
  D3DKMT_TRACKEDWORKLOADPOLICY       Policy;
  UINT                               MaxInstances;
  D3DKMT_HANDLE                      hResourceQueryTimestamps;
  D3DKMT_HANDLE                      hTrackedWorkload;
} D3DKMT_CREATETRACKEDWORKLOAD;

Members

ContextCount

The number of contexts in ContextArray.

ContextArray

Specifies context handles in which to create the workload.

DeadlineType

A D3DKMT_TRACKEDWORKLOADDEADLINETYPE value specifying the tracked workload deadline type.

VidPnTargetId

The target ID. VidPnTargetId is needed for a VBLANK DeadlineType.

Flags

The flags to create this workload with.

Policy

The policy to create this workload with.

MaxInstances

Number of maximum simultaneous instances for this workload type.

hResourceQueryTimestamps

Buffer which will contain the resolved query timestamps for the tracked workloads.

hTrackedWorkload

The output handle for the workload.

Requirements

Header d3dkmthk.h