Redigera

PFEntityGetSecretKeySize

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 size of the buffer needed to hold the PlayFab secretKey. Will fail with E_PF_NOSECRETKEY if there is no Secret Key associated with the provided Entity.

Syntax

HRESULT PFEntityGetSecretKeySize(  
    PFEntityHandle handle,  
    size_t* secretKeySize  
)  

Parameters

handle   PFEntityHandle

Entity handle.

secretKeySize   size_t*
output

Buffer size required for the secretKey (including null terminator).

Return value

Type: HRESULT

Result code for this API operation.

Requirements

Header: PFEntity.h

See also

PFEntity members