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

# XNetworkingQuerySecurityInformationForUrlAsyncResultSize

> XNetworkingQuerySecurityInformationForUrlAsyncResultSize

# XNetworkingQuerySecurityInformationForUrlAsyncResultSize

Obtient la taille de la mémoire tampon des résultats d'un appel à [XNetworkingQuerySecurityInformationForUrlAsync](/fr-CA/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasync).

## Syntaxe

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

### Paramètres

*asyncBlock*   \_Inout\_\
Type : [XAsyncBlock](/fr-CA/reference/system/xasync/structs/xasyncblock)\*

Pointeur vers la structure [XAsyncBlock](/fr-CA/reference/system/xasync/structs/xasyncblock) passée à la fonction [XNetworkingQuerySecurityInformationForUrlAsync](/fr-CA/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasync).

*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 la taille de la mémoire tampon des résultats d'un appel à `XNetworkingQuerySecurityInformationForUrlAsync`. Le titre doit passer la même structure `XAsyncBlock` que celle passée à la fonction de requête. La mémoire tampon est la mémoire tampon sous-jacente utilisée par tous les pointeurs du pointeur de structure d'informations de sécurité. Le titre doit garder la mémoire tampon valide tant qu'il utilise le pointeur de structure d'informations de sécurité. La libération et le nettoyage de la mémoire tampon nettoient également toute la mémoire utilisée par le pointeur de structure d'informations de sécurité. Pour les informations réseau dans les titres Microsoft Game Development Kit (GDK), consultez [Récupération des informations réseau](/fr-CA/build/console-features/networking/initialization-connectivity-networking).

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é dans 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](/fr-CA/build/console-features/networking/web-requests/http-networking)\
[XNetworking](/fr-CA/reference/networking/xnetworking/xnetworking_members)


## Related topics

- [XNetworkingQuerySecurityInformationForUrlAsyncResultSize](/ko/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresultsize.md)
- [XNetworkingQuerySecurityInformationForUrlAsyncResult](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresult.md)
