Skip to main content
Unregisters an event handler for device presence change notifications.

Syntax

Parameters

xblContextHandle   _In_
Type: XblContextHandle
XBOX live context for the local user. token   _In_
Type: XblFunctionContext
The XblFunctionContext object that was returned when the event handler was registered.

Return value

Type: HRESULT HRESULT return code for this API operation.

Requirements

Header: presence_c.h Library: Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.lib

See also

presence_c
Last modified on October 29, 2026