retVal = HttpApi.HttpInitialize(HttpApi.HTTPAPI_VERSION, HttpApi.HTTP_INITIALIZE_CONFIG, IntPtr.Zero);
if ((uint) ErrorCodes.NOERROR == retVal)
{
// Do some work...
The HttpInitialize function initializes the HTTP API driver, starts it, if it has not already been started, and allocates data structures for the calling application to support response-queue creation and other operations. Call this function before calling any other functions in the HTTP API.
3/27/2010 3:15:16 AM - -83.79.56.198
The HTTPAPI_VERSION structure defines the version of the HTTP API. This is not to be confused with the version of the HTTP protocol being used, which is stored in an HTTP_VERSION structure.