D3D12_PROTECTED_RESOURCE_SESSION_DESC1 structure (d3d12.h)

Describes flags and protection type for a protected resource session, per adapter.

Syntax

typedef struct D3D12_PROTECTED_RESOURCE_SESSION_DESC1 {
  UINT                                   NodeMask;
  D3D12_PROTECTED_RESOURCE_SESSION_FLAGS Flags;
  GUID                                   ProtectionType;
} D3D12_PROTECTED_RESOURCE_SESSION_DESC1;

Members

NodeMask

Type: UINT

The node mask. For single GPU operation, set this to zero. If there are multiple GPU nodes, then set a bit to identify the node (the device's physical adapter) to which the protected session applies. Each bit in the mask corresponds to a single node. Only 1 bit may be set.

Flags

Type: D3D12_PROTECTED_RESOURCE_SESSION_FLAGS

Specifies the supported crypto sessions options.

ProtectionType

Type: GUID

The GUID that represents the protection type. Microsoft defines D3D12_PROTECTED_RESOURCES_SESSION_HARDWARE_PROTECTED.

Using the D3D12_PROTECTED_RESOURCES_SESSION_HARDWARE_PROTECTED GUID is equivalent to calling ID3D12Device4::CreateProtectedResourceSession.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header d3d12.h