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

# XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize

> XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize

# XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize

Obtient la taille de la mémoire tampon des résultats de la fonction [XNetworkingQuerySecurityInformationForUrlUtf16Async](https://docs.xbox.com/fr/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16async.md).

## Syntaxe



```cpp theme={null}
HRESULT XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize(
         XAsyncBlock* asyncBlock,
         size_t* securityInformationBufferByteCount
)
```

### Paramètres

*asyncBlock*   \_Inout\_\
Type : [XAsyncBlock](https://docs.xbox.com/fr/reference/system/xasync/structs/xasyncblock.md)\*

Pointeur vers la structure [XAsyncBlock](https://docs.xbox.com/fr/reference/system/xasync/structs/xasyncblock.md) passée à la fonction [XNetworkingQuerySecurityInformationForUrlUtf16Async](https://docs.xbox.com/fr/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16async.md).

*securityInformationBufferByteCount*   \_Out\_\
Type : size\_t\*

Taille, en octets, de la mémoire tampon des résultats.

### Valeur de retour

Type : HRESULT

Code de réussite ou d'erreur HRESULT.

## Remarques

Cette fonction obtient les résultats de la mémoire tampon en appelant la fonction `XNetworkingQuerySecurityInformationForUrlUtf16Async`. Le nombre d'octets de la mémoire tampon des résultats est déterminé à l'aide du pointeur *securityInformationBufferByteCount*. Pour obtenir des informations réseau dans les titres Microsoft Game Development Kit (GDK), consultez [Récupération des informations réseau](https://docs.xbox.com/fr/build/console-features/networking/initialization-connectivity-networking.md).

Cette méthode interroge l'état local au sein du processus appelant et retourne rapidement ; elle peut donc être appelée en toute sécurité depuis des contextes où le temps est critique.

## Configuration requise

**En-tête :** XNetworking.h

**Bibliothèque :** xgameruntime.lib

**Plateformes prises en charge :** Windows, consoles de la famille XBOX One et consoles XBOX Series

## Voir aussi

[HTTP et WebSockets](https://docs.xbox.com/fr/build/console-features/networking/web-requests/http-networking.md)\
[XNetworking](https://docs.xbox.com/fr/reference/networking/xnetworking/xnetworking_members.md)


## Related topics

- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult](https://docs.xbox.com/fr/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresult.md)
- [XNetworking (contenu de l'API)](https://docs.xbox.com/fr/reference/networking/xnetworking/xnetworking_members.md)
- [Utilisation des wrappers C# pour les API GDK dans votre projet Unity](https://docs.xbox.com/fr/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XNetworkingQuerySecurityInformationForUrlUtf16Async](https://docs.xbox.com/fr/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16async.md)
- [XNetworkingQuerySecurityInformationForUrlAsyncResult](https://docs.xbox.com/fr/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresult.md)
