Skip to main content
Get the global presence state for a presence record.

Syntax

Parameters

handle   _In_
Type: XblPresenceRecordHandle
Handle for the presence record returned from a GetPresence API. userState   _Out_
Type: XblPresenceUserState*
A caller allocated struct that passes back the presence state of the record.

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