Freigeben über


XblStringVerifyStringAsync

Verifies if a string contains acceptable text for use with Xbox Live.

Syntax

HRESULT XblStringVerifyStringAsync(  
         XblContextHandle xboxLiveContext,  
         const char* stringToVerify,  
         XAsyncBlock* asyncBlock  
)  

Parameters

xboxLiveContext   _In_
Type: XblContextHandle

Xbox live context for the local user.

stringToVerify   _In_
Type: char*

The string to verify.

asyncBlock   _In_
Type: XAsyncBlock*

The AsyncBlock for this operation.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

Call XblStringVerifyStringResultSize to retrieve size of buffer needed for result. Call XblStringVerifyStringResult to retrieve the size of the results.

Requirements

Header: string_verify_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

string_verify_c