> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_PROTECTED_RESOURCE_SESSION_DESC1

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

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

## Syntax

```cpp theme={null}
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**](/reference/graphics/d3d12/interfaces/id3d12device4/methods/id3d12device4_createprotectedresourcesession_public).

## Remarks

## Requirements

**Header:** d3d12\_x.h\
**Library:** d3d12\_x.lib\
**Supported Platforms**: XBOX One family

## See Also
