Skip to main content
Removes a social relationship 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. Returns E_INVALIDARG if xboxLiveContext is null.

Remarks

Call this function only for a handler that you registered with XblSocialAddSocialRelationshipChangedHandler.

Requirements

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

See also

social_c
Last modified on October 29, 2026