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.
Get the PFEntityKey for an entity.
Syntax
HRESULT PFEntityGetEntityKey(
PFEntityHandle entityHandle,
size_t bufferSize,
void* buffer,
const PFEntityKey** entityKey,
size_t* bufferUsed
)
Parameters
entityHandle PFEntityHandle
PFEntityHandle returned from a auth call.
bufferSize size_t
The size of the buffer for the PFEntityKey. The required size can be obtained from PFEntityGetEntityKeySize.
buffer void*
*Out_writes_bytes_to(bufferSize,bufferUsed)
Byte buffer used for the PFEntityKey and its fields.
entityKey PFEntityKey**
library-allocated output
TBD
bufferUsed size_t*
optional output
The number of bytes in the provided buffer that were used.
Return value
Type: HRESULT
Result code for this API operation.
Remarks
entityKey is a pointer within buffer and does not need to be freed separately.
Requirements
Header: PFEntity.h