XblStringVerifyStringResult

Get the result for an XblStringVerifyStringAsync call.

Syntax

HRESULT XblStringVerifyStringResult(  
         XAsyncBlock* asyncBlock,  
         size_t bufferSize,  
         void* buffer,  
         XblVerifyStringResult** ptrToBuffer,  
         size_t* bufferUsed  
)  

Parameters

asyncBlock   _In_
Type: XAsyncBlock*

The AsyncBlock for this operation.

bufferSize   _In_
Type: size_t

The size of the provided buffer. Use XblStringVerifyStringResultSize to get the size required.

buffer   _Out_writes_bytes_to_(bufferSize,bufferUsed)
Type: void

A caller allocated byte buffer that passes back the verify string result.

ptrToBuffer   _Outptr_
Type: XblVerifyStringResult**

Passes back a strongly typed pointer that points into buffer. Do not free this as its lifecycle is tied to buffer.

bufferUsed   _Out_opt_
Type: size_t*

Passes back the number of bytes written to the buffer.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: string_verify_c.h

Library: Microsoft.Xbox.Services.141.GSDK.C.lib

See also

string_verify_c