XGameProtocolRegisterForActivation (deprecated)
This API is now deprecated. Use XGameActivationRegisterForEvent instead.
Syntax
Parameters
queue _In_opt_Type: XTaskQueueHandle The task queue that dispatches the event callback. context _In_opt_
Type: void* The context we pass to the event callback. callback _In_
Type: XGameProtocolActivationCallback* The event callback function. token _Out_
Type: XTaskQueueRegistrationToken* A token from the task queue that represents the registration. Use the token to unregister the callback for protocol activation.
Return value
Type: HRESULT HRESULT success or 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
