XGameStreamingInitialize
Initalizes the Game Streaming APIs.
Syntax
HRESULT XGameStreamingInitialize(
)
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
Note
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