> ## 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 中是否有效。

## 語法

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

### 參數

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

要檢查的控制代碼。

## 需求

**標頭：** XSystem.h

**程式庫：** xgameruntime.lib

**支援的平台：** Windows、XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

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


## Related topics

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