Skip to main content
Removes a block list change handler.

Syntax

Parameters

xboxLiveContext   _In_
Type: XblContextHandle
An XBOX services context handle created with XblContextCreateHandle. handlerFunctionContext   _In_
Type: XblFunctionContext
Context for the handler to remove.

Return value

Type: HRESULT Returns S_OK on success, or E_INVALIDARG if xboxLiveContext is null.

Remarks

Call this API only if XblPrivacyAddBlockListChangedHandler was used to register an event handler. When you remove the last block list handler that’s registered on this XBOX services context, the context’s real-time subscription for the block list ends. You can call this function from inside the handler.

Requirements

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

See also

privacy_c
Last modified on October 29, 2026