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.
Important
This API is now deprecated. Use XGameActivationUnregisterForEvent instead.
Unregisters a callback for protocol activation.
Syntax
STDAPI_(bool) XGameProtocolUnregisterForActivation(
_In_ XTaskQueueRegistrationToken token,
_In_ bool wait
) noexcept;
Parameters
token _In_
Type: XTaskQueueRegistrationToken
The token that XGameInviteRegisterForEvent returns.
wait _In_
Type: bool
Wait for pending event callbacks to complete.
Return value
Type: bool
Returns false if wait is false and the unregister is pending. Returns true otherwise.
Remarks
Note
This function isn't safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.
Requirements
Header: XGameProtocol.h
Library: xgameruntime.lib
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles