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

# XSystemIsHandleValid

检查句柄在 Gaming Runtime 中是否有效。

## Syntax

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

### Parameters

`handle`    \_In\_\
类型：XSystemHandle

要检查的句柄。

## Requirements

**头文件：** XSystem.h

**库：** xgameruntime.lib

**受支持的平台：** Windows、XBOX One 系列主机和 XBOX Series 主机

## See also

[XSystem 成员](https://docs.xbox.com/zh-CN/reference/system/xsystem/xsystem_members.md)


## Related topics

- [XSystem（API 内容）](https://docs.xbox.com/zh-CN/reference/system/xsystem/xsystem_members.md)
- [XStoreIsLicenseValid](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstoreislicensevalid.md)
- [XStoreCloseLicenseHandle](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstorecloselicensehandle.md)
- [/system/strings/validate](https://docs.xbox.com/zh-CN/reference/live/rest/uri/stringserver/uri-systemstringsvalidate.md)
- [POST (/system/strings/validate)](https://docs.xbox.com/zh-CN/reference/live/rest/uri/stringserver/uri-systemstringsvalidatepost.md)
