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

# XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize

> XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize

# XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize

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

## Sintaxe

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

### Parâmetros

*asyncBlock*   \_Inout\_\
Tipo: [XAsyncBlock](/pt-BR/reference/system/xasync/structs/xasyncblock)\*

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

*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](/pt-BR/build/console-features/networking/initialization-connectivity-networking).

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


## Related topics

- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresultsize.md)
- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresult.md)
