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

# XblSetOverrideConfiguration

> XblSetOverrideConfiguration

# XblSetOverrideConfiguration

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

## 语法

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

### 参数

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

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

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

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

### 返回值

类型：HRESULT

此 API 操作的 HRESULT 返回代码。

## 备注

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

## 要求

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

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

## 另请参阅

[xbox\_live\_global\_c](/reference/live/xsapi-c/xbox_live_global_c/xbox_live_global_c_members)


## Related topics

- [XblSetOverrideLocale](/zh-CN/reference/live/xsapi-c/xbox_live_global_c/functions/xblsetoverridelocale.md)
- [title_data_override_deleted](/zh-CN/services/playfab/api-references/events/TitleData/title-data-override-deleted.md)
- [PFCatalogCatalogPriceOverride](/zh-CN/services/playfab/api-references/c/pfcatalogtypes/structs/pfcatalogcatalogpriceoverride.md)
- [XblServiceConfigurationStatistic](/zh-CN/reference/live/xsapi-c/user_statistics_c/structs/xblserviceconfigurationstatistic.md)
- [XNetworkingSetConfigurationSetting](/zh-CN/reference/networking/xnetworking/functions/xnetworkingsetconfigurationsetting.md)
