Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Reference material for XGameRuntimeInit APIs.
Functions
| Function | Description |
|---|---|
| XGameRuntimeInitialize | Initializes the Gaming Runtime. |
| XGameRuntimeUninitialize | Uninitializes the Gaming Runtime. |
Error Codes
The following error codes may be returned by XGameRuntime APIs. For a complete list, see Error codes.
| Code | Value | Description |
|---|---|---|
| E_GAMERUNTIME_NOT_INITIALIZED | 0x89240100 | The game runtime is not initialized. |
| E_GAMERUNTIME_DLL_NOT_FOUND | 0x89240101 | The game runtime DLL was not found. |
| E_GAMERUNTIME_VERSION_MISMATCH | 0x89240102 | The game runtime DLL does not support this version of the GDK. |
| E_GAMERUNTIME_WINDOW_NOT_FOREGROUND | 0x89240103 | The operation requires the application window to be in the foreground. |
| E_GAMERUNTIME_SUSPENDED | 0x89240104 | The game runtime is in a suspended state. |
| E_GAMERUNTIME_UNINITIALIZE_ACTIVEOBJECTS | 0x89240105 | The game runtime has active objects at XGameRuntimeUninitialize. |
| E_GAMERUNTIME_MULTIPLAYER_NOT_CONFIGURED | 0x89240106 | No multiplayer activity is set on the service for this user on this title. |
| E_GAMERUNTIME_OPTIONS_MISMATCH | 0x89240109 | The runtime was already initialized with a different set of options. Uninitialize before reinitializing with new options. |
| E_GAMERUNTIME_OPTIONS_NOT_SUPPORTED | 0x8924010A | The options passed are not compatible with the game's package. The game config information must match the package. |
| E_GAMERUNTIME_GAMECONFIG_BAD_FORMAT | 0x8924010B | The game config passed to Initialize cannot be parsed. |
| E_GAMERUNTIME_INVALID_HANDLE | 0x8924010C | Handles are not valid for use across runtime initializations. |