Edit

PFEntityGetTitleId

Gets the titleId for the PFServiceConfig associated with an entity handle.

Syntax

HRESULT PFEntityGetTitleId(  
    PFEntityHandle entityHandle,  
    size_t titleIdSize,  
    char* titleIdBuffer,  
    size_t* titleIdUsed  
)  

Parameters

entityHandle   PFEntityHandle

PFEntityHandle returned from a auth call.

titleIdSize   size_t

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

titleIdBuffer   char*
Out_writes(titleIdSize)

Buffer the titleId string will be written to.

titleIdUsed   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