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

# XblInitialize

> XblInitialize

# XblInitialize

ライブラリ インスタンスを初期化します。

## 構文

```cpp theme={null}
HRESULT XblInitialize(  
         const XblInitArgs* args  
)  
```

### パラメーター

*args*   \_In\_\
型: [XblInitArgs\*](/reference/live/xsapi-c/xbox_live_global_c/structs/xblinitargs)

XblInitialize のプラットフォーム固有の引数。

### 戻り値

型: HRESULT

この API 操作の HRESULT 戻りコード。

## 解説

これは、XblMemSetFunctions() および XblMemGetFunctions() を除く、他のすべての Xbl\* メソッドの前に呼び出す必要があります。対応する XblCleanup() の呼び出しが必要です。

## 要件

**ヘッダー:** 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

- [サインインおよびサンドボックスエラーのトラブルシューティング](/ja-jp/services/xbox-services/develop/troubleshooting/live-troubleshoot-sandboxes.md)
- [XblGetScid](/ja-jp/reference/live/xsapi-c/xbox_live_global_c/functions/xblgetscid.md)
- [XblLocalStorageSetHandlers](/ja-jp/reference/live/xsapi-c/platform_c/functions/xbllocalstoragesethandlers.md)
- [XblGetAsyncQueue](/ja-jp/reference/live/xsapi-c/xbox_live_global_c/functions/xblgetasyncqueue.md)
- [カスタム C/C++ エンジンに GDK を統合する](/ja-jp/build/gdk-and-engines/custom-engine.md)
