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

# XblStringVerifyStringResult

> 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](/reference/live/xsapi-c/string_verify_c/functions/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\*\*](/reference/live/xsapi-c/string_verify_c/structs/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.14x.GDK.C.lib

## See also

[string\_verify\_c](/reference/live/xsapi-c/string_verify_c/string_verify_c_members)


## Related topics

- [XblVerifyStringResult](/reference/live/xsapi-c/string_verify_c/structs/xblverifystringresult.md)
- [XblStringVerifyStringAsync](/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringasync.md)
- [XblStringVerifyStringResultSize](/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringresultsize.md)
- [XblStringVerifyStringsResult](/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringsresult.md)
- [XblStringVerifyStringsAsync](/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringsasync.md)
