Skip to main content

XblPresenceDevicePresenceChangedHandler

Event handler for device presence change notifications.

Syntax

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
Last modified on August 4, 2026