> ## 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.

# XblStringVerifyStringAsync

> XblStringVerifyStringAsync

# XblStringVerifyStringAsync

Vérifie si une chaîne contient du texte acceptable pour une utilisation avec XBOX Live.

## Syntaxe

```cpp theme={null}
HRESULT XblStringVerifyStringAsync(  
         XblContextHandle xboxLiveContext,  
         const char* stringToVerify,  
         XAsyncBlock* asyncBlock  
)  
```

### Paramètres

*xboxLiveContext*   \_In\_\
Type : [XblContextHandle](/fr-CA/reference/live/xsapi-c/types_c/handles/xblcontexthandle)

Contexte XBOX Live de l'utilisateur local.

*stringToVerify*   \_In\_\
Type : char\*

La chaîne à vérifier.

*asyncBlock*   \_In\_\
Type : XAsyncBlock\*

L'AsyncBlock de cette opération.

### Valeur de retour

Type : HRESULT

Code de retour HRESULT pour cette opération d'API.

## Remarques

Appelez [XblStringVerifyStringResultSize](/fr-CA/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringresultsize) pour récupérer la taille de la mémoire tampon nécessaire pour le résultat. Appelez [XblStringVerifyStringResult](/fr-CA/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringresult) pour récupérer la taille des résultats.

## Configuration requise

**En-tête :** string\_verify\_c.h

**Bibliothèque :** Microsoft.Xbox.Services.14x.GDK.C.lib

## Voir aussi

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


## Related topics

- [XblStringVerifyStringAsync](/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringasync.md)
- [XblStringVerifyStringResult](/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringresult.md)
