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

Gets the Service Configuration ID (SCID) for the application. This value is set during XblInitialize.

## Syntax

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

### Parameters

*scid*   \_Out\_\
Type: char\*\*

The service configuration Id for the app.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Remarks

This string is valid until [XblCleanupAsync](https://docs.xbox.com/reference/live/xsapi-c/xbox_live_global_c/functions/xblcleanupasync.md) is called.

## Requirements

**Header:** xbox\_live\_global\_c.h

**Library:** Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.lib

## See also

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


## Related topics

- [Updating a user's Presence via XSAPI C](https://docs.xbox.com/services/xbox-services/community/presence/how-to/live-updating-user-presence.md)
- [xbox_live_global_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/xbox_live_global_c/xbox_live_global_c_members.md)
- [GET (/global/scids/{scid})](https://docs.xbox.com/reference/live/rest/uri/storage/uri-globalscidsscid-get.md)
- [GET (/global/scids/{scid}/data/{path})](https://docs.xbox.com/reference/live/rest/uri/storage/uri-globalscidssciddatapath-get.md)
- [XblTitleStorageGetQuotaAsync](https://docs.xbox.com/reference/live/xsapi-c/title_storage_c/functions/xbltitlestoragegetquotaasync.md)
