Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.
Gets the PlayFab secretKey associated with a title Entity. Will fail with E_PF_NOSECRETKEY if there is no Secret Key associated with the provided Entity.
Syntax
HRESULT PFEntityGetSecretKey(
PFEntityHandle handle,
size_t secretKeySize,
char* secretKey,
size_t* secretKeyUsed
)
Parameters
handle PFEntityHandle
Entity handle.
secretKeySize size_t
Size of the provided buffer. Required size can be obtained via PFEntityGetSecretKeySize.
secretKey char*
Out_writes(secretKeySize)
Buffer the secretKey will be written to.
secretKeyUsed 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