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

Obtém o tamanho do buffer de resultados de uma chamada a [XNetworkingQuerySecurityInformationForUrlAsync](/pt-BR/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasync).

## Sintaxe

```cpp theme={null}
HRESULT XNetworkingQuerySecurityInformationForUrlAsyncResultSize(
         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 [XNetworkingQuerySecurityInformationForUrlAsync](/pt-BR/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasync).

*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 o tamanho do buffer de resultados de uma chamada a `XNetworkingQuerySecurityInformationForUrlAsync`. O título deve passar a mesma estrutura `XAsyncBlock` que é passada para a função de consulta. O buffer é o buffer subjacente usado por todos os ponteiros no ponteiro da estrutura de informações de segurança. O título deve manter o buffer válido enquanto estiver usando o ponteiro da estrutura de informações de segurança. Liberar e limpar o buffer também limpa toda a memória usada pelo ponteiro da estrutura de informações de segurança. 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

- [XNetworkingQuerySecurityInformationForUrlAsyncResultSize](/ko/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresultsize.md)
- [XNetworkingQuerySecurityInformationForUrlAsyncResult](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresult.md)
- [XNetworking](/reference/networking/xnetworking/xnetworking_members.md)
- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize](/zh-CN/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresultsize.md)
- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresult.md)
