PFAuthenticationAuthenticateGameServerWithCustomIdGetResult

获取成功的 PFAuthenticationAuthenticateGameServerWithCustomIdAsync 调用的结果。

语法

HRESULT PFAuthenticationAuthenticateGameServerWithCustomIdGetResult(  
    XAsyncBlock* async,  
    size_t bufferSize,  
    void* buffer,  
    PFAuthenticationAuthenticateCustomIdResult** result,  
    size_t* bufferUsed  
)  

参数

async XAsyncBlock*
Inout

异步操作的 XAsyncBlock。

bufferSize size_t

结果对象的缓冲区大小。

buffer void*
*Out_writes_bytes_to(bufferSize,bufferUsed)

用于结果值及其字段的字节缓冲区。

resultPFAuthenticationAuthenticateCustomIdResult**
库分配的输出

指向结果对象的指针。

bufferUsed size_t*
可选输出

提供的缓冲区中使用的字节数。

返回值

类型:HRESULT

此 API 操作的结果代码。

备注

结果是缓冲区内的指针,它不需要单独释放。

要求

标头:PFAuthentication.h

另请参阅

PFAuthentication 成员