Jump to content

Recommended Posts

Posted

Hey guys, i have a question about DLL Call.

The code from MSDN:

ULONG HttpInitialize(
  HTTPAPI_VERSION Version,
  ULONG Flags,
  PVOID pReserved
);

Parameters

Version
    [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.
Flags
    [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.
pReserved
    [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")

Or?

Crome

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...