Skip to main content

XGameStreamingInitialize

Initalizes the Game Streaming APIs.

Syntax

Parameters

None

Return value

Type: HRESULT Returns S_OK if successful; otherwise, returns an error code. For a list of error codes, see Error Codes.

Remarks

This function isn’t safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.
This API must be called before calling most of the other XGameStreaming APIs. Other APIs will return E_GAMESTREAMING_NOT_INITIALIZED if this API has not been called.

Requirements

Header: XGameStreaming.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

Conceptual documentation

See also

XGameStreamingUninitialize
XGameStreaming
Last modified on August 20, 2026