Skip to main content

XblPresenceRecordGetDeviceRecords

Get the device presence records associated with a returned presence record.

Syntax

Parameters

handle   _In_
Type: XblPresenceRecordHandle
Handle for the presence record returned from a GetPresence API. deviceRecords   _Out_
Type: XblPresenceDeviceRecord**
Passes back a pointer to an array of device presence records. The memory for the returned pointer array remains valid for the life of the XblPresenceRecordHandle object until it is closed. deviceRecordsCount   _Out_
Type: size_t*
Passes back the size of the returned array.

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