Compartir a través de


HCHttpCallSetContext

Sets the context pointer attached to this call object.

Syntax

HRESULT HCHttpCallSetContext(  
         HCCallHandle call,  
         void* context  
)  

Parameters

call   _In_
Type: HCCallHandle

The handle of the HTTP call.

context   _In_opt_
Type: void*

the context pointer attached to this call object.

Return value

Type: HRESULT

Result code for this API operation. Possible values are S_OK, E_INVALIDARG, or E_FAIL.

Requirements

Header: httpProvider.h

Library: libHttpClient.GDK.lib

See also

httpProvider