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

检查句柄在 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 成员](/reference/system/xsystem/xsystem_members)


## Related topics

- [XSystem](/zh-CN/reference/system/xsystem/xsystem_members.md)
- [XStoreIsLicenseValid](/zh-CN/reference/system/xstore/functions/xstoreislicensevalid.md)
- [XStoreCloseLicenseHandle](/zh-CN/reference/system/xstore/functions/xstorecloselicensehandle.md)
- [XStoreAcquireLicenseForDurablesResult](/zh-CN/reference/system/xstore/functions/xstoreacquirelicensefordurablesresult.md)
- [XStoreAcquireLicenseForPackageResult](/zh-CN/reference/system/xstore/functions/xstoreacquirelicenseforpackageresult.md)
