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

# XDK XSAPI との後方互換性

> 既存の XBOX Live ゲームコードを移植する際に、XDK 時代の C++ XSAPI を引き続き利用するために、GDK に同梱される xsapi-cpp 互換ヘッダーをインクルードします。

## XDK XSAPI 互換ヘッダーへのアクセス

XSAPI (XBOX Service API) は C ライブラリとして提供されていますが、GDK には [XDK に同梱されていた XSAPI](https://github.com/microsoft/xbox-live-api) の C++ バージョン用ヘッダーも含まれています。

この API へのアクセスが必要な場合は、次のヘッダーをインクルードするだけです:

```cpp theme={null}
#include <xsapi-cpp\services.h>
```

## 関連項目

[XSAPI C API の概要](/services/xbox-services/fundamentals/xbox-services-api/live-xsapi-flat-c)

[XSAPI リファレンス](/reference/live/xsapi-c/atoc-xsapi-c)


## Related topics

- [後方互換性とゲーマータグの変換](/ja-jp/services/xbox-services/fundamentals/identity/user-profile/gamertags/live-modern-backwards-compatibility.md)
- [ゲーマータグの概要](/ja-jp/services/xbox-services/fundamentals/identity/user-profile/gamertags/live-gamertags-overview.md)
- [ビルド エイリアスの管理と割り当て](/ja-jp/services/playfab/multiplayer/servers/allocating-with-build-alias.md)
- [モダン ゲーマータグの定義と用語](/ja-jp/services/xbox-services/fundamentals/identity/user-profile/gamertags/live-modern-gamertags-definition.md)
- [モダン ゲーマータグ](/ja-jp/services/xbox-services/fundamentals/identity/user-profile/gamertags/live-modern-gamertags-overview.md)
