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

# XSystemIsHandleValid

> XSystemIsHandleValid

Checks if a handle is valid in the Gaming Runtime.

## Syntax

```cpp theme={null}
bool XSystemIsHandleValid(
  XSystemHandle handle
)
```

### Parameters

`handle`    \_In\_\
Type: XSystemHandle

The handle to check.

## Requirements

**Header:** XSystem.h

**Library:** xgameruntime.lib

**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

- [XSystem (API contents)](https://docs.xbox.com/reference/system/xsystem/xsystem_members.md)
- [XStoreIsLicenseValid](https://docs.xbox.com/reference/system/xstore/functions/xstoreislicensevalid.md)
- [/handles](https://docs.xbox.com/reference/live/rest/uri/sessiondirectory/uri-handles.md)
- [XSystemHandleTrack](https://docs.xbox.com/reference/system/xsystem/functions/xsystemhandletrack.md)
- [Duplicating a task queue handle](https://docs.xbox.com/build/core-features/common/async/async-task-queue-design-howto/duplicating-task-queue-handle.md)
