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

# XblContextCloseHandle

> XblContextCloseHandle

# XblContextCloseHandle

關閉 XblContextHandle。

## 語法

```cpp theme={null}
void XblContextCloseHandle(  
         XblContextHandle xboxLiveContextHandle  
)  
```

### 參數

*xboxLiveContextHandle*   \_In\_\
類型：[XblContextHandle](/zh-TW/reference/live/xsapi-c/types_c/handles/xblcontexthandle)

XBOX Live 內容控制代碼。

### 傳回值

類型：void

## 備註

所有未處理的控制代碼都關閉後，XblContextCloseHandle() 會釋放與控制代碼相關聯的記憶體。

## 需求

**標頭：** xbox\_live\_context\_c.h

**程式庫：** Microsoft.Xbox.Services.14x.GDK.C.lib

## 另請參閱

[xbox\_live\_context\_c](/zh-TW/reference/live/xsapi-c/xbox_live_context_c/xbox_live_context_c_members)


## Related topics

- [XblContextCloseHandle](/reference/live/xsapi-c/xbox_live_context_c/functions/xblcontextclosehandle.md)
- [XStoreCloseContextHandle](/reference/system/xstore/functions/xstoreclosecontexthandle.md)
