XTaskQueueRegistrationToken

A token returned when registering a callback, to identify the registration.

Syntax

typedef struct XTaskQueueRegistrationToken {  
    uint64_t token;  
} XTaskQueueRegistrationToken  

Members

token
Type: uint64_t

The token returned when registering a callback to identify the registration.

Remarks

XTaskQueueRegistrationToken represents a registration token, returned when registering a callback for a task queue. Use the registration token when un-registering a previously-registered callback. Registration tokens are unique only within the scope of the callback for which you are registering.

XTaskQueueRegistrationToken is used by the following functions:

Header Function
XAppCapture XAppBroadcastRegisterIsAppBroadcastingChanged
XAppCapture XAppBroadcastUnregisterIsAppBroadcastingChanged
XAppCapture XAppCaptureRegisterMetadataPurged
XAppCapture XAppCaptureUnRegisterMetadataPurged
XGameInvite XGameInviteRegisterForEvent
XGameInvite XGameInviteUnregisterForEvent
XNetworking XNetworkingRegisterConnectivityHintChanged
XNetworking XNetworkingRegisterPreferredLocalUdpMultiplayerPortChanged
XNetworking XNetworkingUnregisterConnectivityHintChanged
XNetworking XNetworkingUnregisterPreferredLocalUdpMultiplayerPortChanged
XPackage XPackageRegisterInstallationProgressChanged
XPackage XPackageRegisterPackageInstalled
XPackage XPackageUnregisterInstallationProgressChanged
XPackage XPackageUnregisterPackageInstalled
XStore XStoreRegisterGameLicenseChanged
XStore XStoreRegisterPackageLicenseLost
XStore XStoreUnregisterGameLicenseChanged
XStore XStoreUnregisterPackageLicenseLost
XTaskQueue XTaskQueueRegisterMonitor
XTaskQueue XTaskQueueRegisterWaiter
XTaskQueue XTaskQueueUnregisterMonitor
XTaskQueue XTaskQueueUnregisterWaiter
XUser XUserRegisterForChangeEvent
XUser XUserRegisterForDefaultAudioEndpointUtf16Changed
XUser XUserRegisterForDeviceAssociationChanged
XUser XUserUnregisterForChangeEvent
XUser XUserUnregisterForDefaultAudioEndpointUtf16Changed
XUser XUserUnregisterForDeviceAssociationChanged

Requirements

Header: XTaskQueue.h

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XTaskQueue members
Asynchronous Programming Model
Async Task Queue design