Jump to content
Sign in to follow this  

DLLCall Help (HTTP)

Recommended Posts


Hey guys, i have a question about DLL Call.

The code from MSDN:

ULONG HttpInitialize(
  ULONG Flags,
  PVOID pReserved


    [in] HTTP version. This parameter is an HTTPAPI_VERSION structure. For the current version, declare an instance of the structure and set it to the pre-defined value HTTPAPI_VERSION_1 before passing it to HttpInitialize.
    [in] Initialization options, which can include one or both of the following values.
    Value   Meaning
    HTTP_INITIALIZE_CONFIG  Perform initialization for applications that use the HTTP configuration functions, HttpSetServiceConfiguration, HttpQueryServiceConfiguration and HttpDeleteServiceConfiguration.
    HTTP_INITIALIZE_SERVER  Perform initialization for applications that use the HTTP Server API.
    [in, out] This parameter is reserved and must be NULL.

How would i call this within AutoIt IF i have the httpapi.dll that is required.

Would i call it like this?

DllCall(".\httpapi.dll", "long", "HTTP_INITIALIZE_SERVER")



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.