> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblStringVerifyStringResult

> XblStringVerifyStringResult

Get the result for an XblStringVerifyStringAsync call.

## Syntax

```cpp theme={null}
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](https://docs.xbox.com/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringresultsize.md) 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\*\*](https://docs.xbox.com/reference/live/xsapi-c/string_verify_c/structs/xblverifystringresult.md)

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.142.C.lib or Microsoft.Xbox.Services.143.C.lib

## See also

[string\_verify\_c](https://docs.xbox.com/reference/live/xsapi-c/string_verify_c/string_verify_c_members.md)


## Related topics

- [XblVerifyStringResult](https://docs.xbox.com/reference/live/xsapi-c/string_verify_c/structs/xblverifystringresult.md)
- [XblStringVerifyStringAsync](https://docs.xbox.com/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringasync.md)
- [string_verify_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/string_verify_c/string_verify_c_members.md)
- [XblStringVerifyStringResultSize](https://docs.xbox.com/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringresultsize.md)
- [XblStringVerifyStringsResult](https://docs.xbox.com/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringsresult.md)
