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

# XSystemHandleCallbackReason

> 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](/reference/system/xsystem/xsystem_members)


## Related topics

- [XSystemHandleCallback](/reference/system/xsystem/functions/xsystemhandlecallback.md)
- [XSystem](/reference/system/xsystem/xsystem_members.md)
- [XSystemHandleTrack](/reference/system/xsystem/functions/xsystemhandletrack.md)
- [XUserFindForDevice](/reference/system/xuser/functions/xuserfindfordevice.md)
- [XUserAddByIdWithUiAsync](/reference/system/xuser/functions/xuseraddbyidwithuiasync.md)
