> ## 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_SESSION_STATUS

> Defines constants that specify protected session status.

Defines constants that specify protected session status.

## Syntax

```cpp theme={null}
typedef enum D3D12_PROTECTED_SESSION_STATUS
{
    D3D12_PROTECTED_SESSION_STATUS_OK = 0,
    D3D12_PROTECTED_SESSION_STATUS_INVALID = 1
} D3D12_PROTECTED_SESSION_STATUS
```

## Constants

| Constant                                   | Description                                                   |
| ------------------------------------------ | ------------------------------------------------------------- |
| D3D12\_PROTECTED\_SESSION\_STATUS\_OK      | Indicates that the protected session is in a valid state.     |
| D3D12\_PROTECTED\_SESSION\_STATUS\_INVALID | Indicates that the protected session is not in a valid state. |

## Remarks

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h<br />**Library:** d3d12\_xs.lib or d3d12\_x.lib<br />**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also


## Related topics

- [GetSessionStatus](/reference/graphics/d3d12/interfaces/id3d12protectedsession/methods/id3d12protectedsession_getsessionstatus_public.md)
- [D3D12_PROTECTED_RESOURCE_SESSION_DESC](/reference/graphics/d3d12/structs/d3d12_protected_resource_session_desc_public.md)
- [D3D12_PROTECTED_RESOURCE_SESSION_DESC1](/reference/graphics/d3d12/structs/d3d12_protected_resource_session_desc1_public.md)
- [D3D12_PROTECTED_RESOURCE_SESSION_FLAGS](/reference/graphics/d3d12/enums/d3d12_protected_resource_session_flags_public.md)
- [D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS](/reference/graphics/d3d12/enums/d3d12_protected_resource_session_support_flags_public.md)
