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

# HCGetHttpCallPerformFunction

> HCGetHttpCallPerformFunction

# HCGetHttpCallPerformFunction

Retorna o retorno de chamada HCCallPerformFunction atual, que implementa a função de execução HTTP na plataforma atual.

## Sintaxe

```cpp theme={null}
HRESULT HCGetHttpCallPerformFunction(  
         HCCallPerformFunction* performFunc,  
         void** performContext  
)  
```

### Parâmetros

*performFunc*   \_Out\_\
Tipo: HCCallPerformFunction\*

Definido como a função de execução HTTP atual. Retorna a rotina padrão se não tiver sido definida anteriormente.

*performContext*   \_Out\_\
Tipo: void\*\*

O contexto do retorno de chamada.

### Valor retornado

Tipo: HRESULT

Código de resultado desta operação de API. Os valores possíveis são S\_OK, E\_HC\_ALREADY\_INITIALISED ou E\_INVALIDARG.

## Comentários

Isso pode ser usado com HCSetHttpCallPerformFunction() para criar um filtro que monitora e modifica todas as chamadas HTTP, ainda usando a implementação HTTP padrão.

## Requisitos

**Cabeçalho:** httpProvider.h

**Biblioteca:** libHttpClient.GDK.lib

## Confira também

[httpProvider](/pt-BR/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

- [HCSetHttpCallPerformFunction](/pt-BR/reference/live/httpclient/httpprovider/functions/hcsethttpcallperformfunction.md)
- [HCHttpCallPerformAsync](/pt-BR/reference/live/httpclient/httpclient/functions/hchttpcallperformasync.md)
- [XblHttpCallPerformAsync](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync.md)
- [XblHttpCallGetResponseString](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetresponsestring.md)
- [XblHttpCallGetResponseBodyBytes](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetresponsebodybytes.md)
