XGameStreamingUnregisterConnectionStateChanged
Unregisters a previously registered XGameStreamingConnectionStateChangedCallback.Syntax
Parameters
token _In_ Type: XTaskQueueRegistrationToken Token that corresponded to the callback registration done via XGameStreamingRegisterConnectionStateChanged. waitType: bool If
wait is set to true, XGameStreamingUnregisterConnectionStateChanged will not return until both the registration has been revoked and any outstanding callbacks have completed.
If wait is set to false, XGameStreamingUnregisterConnectionStateChanged will return as soon as the registration has been revoked. Although no new callbacks will be delivered, an in progress callback may still be executing when the function returns.
Return value
Type: bool Returns true if the unregistration was successful, false if it did not succeed.Remarks
This function isn’t safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.
Requirements
Header: xgamestreaming.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
XGameStreamingConnectionStateChangedCallbackXGameStreamingRegisterConnectionStateChanged
XGameStreaming
