Skip to main content

XblPresenceRecordGetUserState

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.14x.GDK.C.lib

See also

presence_c
Last modified on August 4, 2026