Syntax
Parameters
queue   _In_opt_Type: XTaskQueueHandle A handle to the asynchronous queue to put the change callback on. context   _In_opt_
Type: void* A callback the application defines and passes back to the callback. callback   _In_
Type: XUserDeviceAssociationChangedCallback* A callback the application defines and registers. token   _Out_
Type: XTaskQueueRegistrationToken* On success contains a token identifying the callback you can use to un-register the callback.
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 information, see Time-sensitive threads.
