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

# XDK Xbox services API との下位互換性

> 既存の 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 の概要](https://docs.xbox.com/ja-jp/services/xbox-services/fundamentals/xbox-services-api/live-xsapi-flat-c.md)

[XSAPI リファレンス](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/atoc-xsapi-c.md)


## Related topics

- [XboxCompatibility 要素 (MicrosoftGame.config)](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-xboxcompatibility.md)
- [XBOX services API](https://docs.xbox.com/ja-jp/services/xbox-services/fundamentals/xbox-services-api/index.md)
- [転送プロトコル サービス (XbtpLinkSvc.exe)](https://docs.xbox.com/ja-jp/tools/tools-console/commandlinetools/xbtplinksvc.md)
- [ゲーマータグ](https://docs.xbox.com/ja-jp/services/xbox-services/fundamentals/identity/user-profile/gamertags/index.md)
- [Partner Center での Web サービスの設定](https://docs.xbox.com/ja-jp/services/xbox-services/fundamentals/s2s-auth-calls/custom-service-config/web-services/live-web-services.md)
