Compartir a través de


XblPresenceDevicePresenceChangedHandler

Event handler for device presence change notifications.

Syntax

void XblPresenceDevicePresenceChangedHandler(  
         void* context,  
         uint64_t xuid,  
         XblPresenceDeviceType deviceType,  
         bool isUserLoggedOnDevice  
)  

Parameters

context   _In_opt_
Type: void*

Caller context that will be passed back to the handler.

xuid   _In_
Type: uint64_t

The XboxUserID of the User whose device presence changed.

deviceType   _In_
Type: XblPresenceDeviceType

The associated device type.

isUserLoggedOnDevice   _In_
Type: bool

Boolean for if user is logged on device.

Return value

Type: void

Argument of

XblPresenceAddDevicePresenceChangedHandler

Requirements

Header: presence_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

presence_c