Redigera

PFEntityGetEntityTokenResult

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 result of a successful PFEntityGetEntityTokenAsync call.

Syntax

HRESULT PFEntityGetEntityTokenResult(  
    XAsyncBlock* async,  
    size_t bufferSize,  
    void* buffer,  
    const PFEntityToken** entityToken,  
    size_t* bufferUsed  
)  

Parameters

async   XAsyncBlock*
Inout

XAsyncBlock for the async operation.

bufferSize   size_t

The size of the buffer for the result object.

buffer   void*
*Out_writes_bytes_to(bufferSize,bufferUsed)

Byte buffer used for the result value and its fields.

entityToken   PFEntityToken**
library-allocated output

Pointer to the EntityToken object.

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

entityToken is a pointer within buffer and does not need to be freed separately.

Requirements

Header: PFEntity.h

See also

PFEntity members