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

# XSystemIsHandleValid

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


## Related topics

- [XSystem](/reference/system/xsystem/xsystem_members.md)
- [XStoreIsLicenseValid](/reference/system/xstore/functions/xstoreislicensevalid.md)
- [XSystemHandleTrack](/reference/system/xsystem/functions/xsystemhandletrack.md)
- [XStoreAcquireLicenseForDurablesResult](/reference/system/xstore/functions/xstoreacquirelicensefordurablesresult.md)
- [XStoreCloseLicenseHandle](/reference/system/xstore/functions/xstorecloselicensehandle.md)
