HCInitialize

Initializes the library instance.

Syntax

HRESULT HCInitialize(  
         HCInitArgs* args  
)  

Parameters

args   _In_opt_
Type: HCInitArgs*

Client context for platform-specific initialization. Pass in the JavaVM on Android, and nullptr on other platforms.

Return value

Type: HRESULT

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

Remarks

This must be called before any other method, except for HCMemSetFunctions() and HCMemGetFunctions(). Should have a corresponding call to HCGlobalCleanup().

Requirements

Header: httpClient.h

Library: libHttpClient.141.GSDK.C.lib

See also

httpClient