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

# XblInitArgs

> XblInitArgs

Defines initialization arguments for the XBOX Services API (XSAPI).

## Syntax

```cpp theme={null}
typedef struct XblInitArgs {  
    XTaskQueueHandle queue;  
    _Field_z_ const char* scid;
} XblInitArgs;  
```

### Members

*queue*\
Type: XTaskQueueHandle

Optional. The task queue used for internal asynchronous work, such as telemetry and real-time activity. If *queue* is null, XSAPI derives its internal queue from the current process task queue. [XblInitialize](https://docs.xbox.com/reference/live/xsapi-c/xbox_live_global_c/functions/xblinitialize.md) returns `E_NO_TASK_QUEUE` if neither queue is available.

*scid*\
Type: const char\*

Required. The Service Configuration ID (SCID) for the app. This value is case-sensitive and must not be empty. Copy it exactly from the **Game Setup** page in Partner Center, under **Identity details**. If *scid* is null or empty, `XblInitialize` returns `E_INVALIDARG`.

## Requirements

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

## See also

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


## Related topics

- [XblInitialize](https://docs.xbox.com/reference/live/xsapi-c/xbox_live_global_c/functions/xblinitialize.md)
- [xbox_live_global_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/xbox_live_global_c/xbox_live_global_c_members.md)
- [XblAchievementsUpdateAchievementForTitleIdAsync](https://docs.xbox.com/reference/live/xsapi-c/achievements_c/functions/xblachievementsupdateachievementfortitleidasync.md)
- [Getting title-managed Achievements](https://docs.xbox.com/services/xbox-services/player-data/achievements/title-managed/how-to/live-how-to-get-achievements.md)
- [Writing an event to power an event-based achievement](https://docs.xbox.com/services/xbox-services/player-data/achievements/event-based/how-to/live-writing-event-based-achievement.md)
