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

# XblGetScid

> XblGetScid

# XblGetScid

取得應用程式的服務設定識別碼。此值會在 XblInitialize 期間設定。

## 語法

```cpp theme={null}
HRESULT XblGetScid(  
         const char** scid  
)  
```

### 參數

*scid*   \_Out\_\
類型：char\*\*

應用程式的服務設定識別碼。

### 傳回值

類型：HRESULT

此 API 作業的 HRESULT 傳回碼。

## 備註

此字串在呼叫 XblCleanup 之前都會有效。

## 需求

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

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

## 另請參閱

[xbox\_live\_global\_c](https://docs.xbox.com/zh-TW/reference/live/xsapi-c/xbox_live_global_c/xbox_live_global_c_members.md)


## Related topics

- [xbox_live_global_c](https://docs.xbox.com/zh-TW/reference/live/xsapi-c/xbox_live_global_c/xbox_live_global_c_members.md)
- [GET (/global/scids/{scid})](https://docs.xbox.com/zh-TW/reference/live/rest/uri/storage/uri-globalscidsscid-get.md)
- [GET (/global/scids/{scid}/data/{path})](https://docs.xbox.com/zh-TW/reference/live/rest/uri/storage/uri-globalscidssciddatapath-get.md)
- [GET (/serviceconfigs/{scid}/sessiontemplates)](https://docs.xbox.com/zh-TW/reference/live/rest/uri/sessiondirectory/uri-serviceconfigsscidsessiontemplatesget.md)
- [GET (/serviceconfigs/{scid}/sessions)](https://docs.xbox.com/zh-TW/reference/live/rest/uri/sessiondirectory/uri-serviceconfigsscidsessionsget.md)
