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

# XblSetOverrideConfiguration

> XblSetOverrideConfiguration

# XblSetOverrideConfiguration

在需要通用服务配置 ID (SCID) 和游戏 Id 以实现跨平台体验的高级方案中，设置替代配置。

## 语法

```cpp theme={null}
HRESULT XblSetOverrideConfiguration(  
         const char* overrideScid,  
         uint32_t overrideTitleId  
)  
```

### 参数

*overrideScid*   \_In\_\
类型：char\*

供多人游戏管理器使用的替代服务配置 ID (SCID)。此 SCID 区分大小写，请直接从 Partner Center 粘贴

*overrideTitleId*   \_In\_\
类型：uint32\_t

供多人游戏管理器使用的替代游戏 Id。

### 返回值

类型：HRESULT

此 API 操作的 HRESULT 返回代码。

## 备注

当前仅由多人游戏管理器使用，以启用跨平台多人游戏方案。

## 要求

**头文件：** xbox\_live\_global\_c.h

**库：** Microsoft.Xbox.Services.14x.GDK.C.lib

## 另请参阅

[xbox\_live\_global\_c](https://docs.xbox.com/zh-CN/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-CN/reference/live/xsapi-c/xbox_live_global_c/xbox_live_global_c_members.md)
- [XblSetOverrideLocale](https://docs.xbox.com/zh-CN/reference/live/xsapi-c/xbox_live_global_c/functions/xblsetoverridelocale.md)
- [Set Membership Override](https://docs.xbox.com/api-reference/account-management/set-membership-override.md)
- [Set Title Data And Overrides](https://docs.xbox.com/api-reference/title-wide-data-management/set-title-data-and-overrides.md)
- [Delete Title Data Override](https://docs.xbox.com/api-reference/title-wide-data-management/delete-title-data-override.md)
