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

# XSystemHandleCallbackReason

> XSystemHandleCallbackReason

Reason the handle tracking callback was called.

## Syntax

```cpp theme={null}
enum XSystemHandleCallbackReason
{
  Created = 0x00,
  Destroyed = 0x01
}
```

## Constants

| Constant | Description |
| - | - |
| Created | The handle was created. |
| Destroyed | The handle was destroyed. |

## Requirements

**Header:** XSystem.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[XSystem members](https://docs.xbox.com/reference/system/xsystem/xsystem_members.md)


## Related topics

- [XSystemHandleCallback](https://docs.xbox.com/reference/system/xsystem/functions/xsystemhandlecallback.md)
- [XSystem (API contents)](https://docs.xbox.com/reference/system/xsystem/xsystem_members.md)
- [XSystemHandleTrack](https://docs.xbox.com/reference/system/xsystem/functions/xsystemhandletrack.md)
- [XUserAddByIdWithUiAsync](https://docs.xbox.com/reference/system/xuser/functions/xuseraddbyidwithuiasync.md)
- [XUserFindForDevice](https://docs.xbox.com/reference/system/xuser/functions/xuserfindfordevice.md)
