Redigera

PFEntityGetAPIEndpoint

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

Gets the API endpoint for the PFServiceConfig associated with an entity handle.

Syntax

HRESULT PFEntityGetAPIEndpoint(  
    PFEntityHandle entityHandle,  
    size_t apiEndpointSize,  
    char* apiEndpoint,  
    size_t* apiEndpointUsed  
)  

Parameters

entityHandle   PFEntityHandle

PFEntityHandle returned from a auth call.

apiEndpointSize   size_t

Size of the provided buffer. Required size can be obtained via PFEntityGetAPIEndpointSize.

apiEndpoint   char*
Out_writes(apiEndpointSize)

Buffer the API endpoint string will be written to.

apiEndpointUsed   size_t*
optional output

The number of bytes used in the buffer including the null terminator.

Return value

Type: HRESULT

Result code for this API operation.

Requirements

Header: PFEntity.h

See also

PFEntity members