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

Obtém o tamanho do buffer de resultados da função [XNetworkingQuerySecurityInformationForUrlUtf16Async](https://docs.xbox.com/pt-BR/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16async.md).

## Sintaxe

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

### Parâmetros

*asyncBlock*   \_Inout\_\
Tipo: [XAsyncBlock](https://docs.xbox.com/pt-BR/reference/system/xasync/structs/xasyncblock.md)\*

Ponteiro para a estrutura [XAsyncBlock](https://docs.xbox.com/pt-BR/reference/system/xasync/structs/xasyncblock.md) que é passada para a função [XNetworkingQuerySecurityInformationForUrlUtf16Async](https://docs.xbox.com/pt-BR/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16async.md).

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

O tamanho, em bytes, do buffer de resultados.

### Valor retornado

Tipo: HRESULT

Código de sucesso ou de erro HRESULT.

## Comentários

Essa função obtém os resultados do buffer chamando a função `XNetworkingQuerySecurityInformationForUrlUtf16Async`. O número de bytes do buffer de resultados é determinado usando o ponteiro *securityInformationBufferByteCount*. Para obter informações de rede em títulos do Microsoft Game Development Kit (GDK), confira [Recuperando informações de rede](https://docs.xbox.com/pt-BR/build/console-features/networking/initialization-connectivity-networking.md).

Esse método consulta o estado local no processo de chamada e retorna rapidamente, portanto, é seguro chamá-lo a partir de contextos sensíveis ao tempo.

## Requisitos

**Cabeçalho:** XNetworking.h

**Biblioteca:** xgameruntime.lib

**Plataformas com suporte:** Windows, consoles da família XBOX One e consoles XBOX Series

## Confira também

[HTTP e Web Sockets](https://docs.xbox.com/pt-BR/build/console-features/networking/web-requests/http-networking.md)\
[XNetworking](https://docs.xbox.com/pt-BR/reference/networking/xnetworking/xnetworking_members.md)


## Related topics

- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult](https://docs.xbox.com/pt-BR/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresult.md)
- [XNetworking (conteúdo da API)](https://docs.xbox.com/pt-BR/reference/networking/xnetworking/xnetworking_members.md)
- [Usar wrappers C# para APIs do GDK no seu projeto do Unity](https://docs.xbox.com/pt-BR/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XNetworkingQuerySecurityInformationForUrlUtf16Async](https://docs.xbox.com/pt-BR/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16async.md)
- [XNetworkingQuerySecurityInformationForUrlAsyncResult](https://docs.xbox.com/pt-BR/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresult.md)
