HTTPAPI_VERSION structure (http.h)

The HTTPAPI_VERSION structure defines the version of the HTTP Server API. This is not to be confused with the version of the HTTP protocol used, which is stored in an HTTP_VERSION structure.

Syntax

typedef struct _HTTPAPI_VERSION {
  USHORT HttpApiMajorVersion;
  USHORT HttpApiMinorVersion;
} HTTPAPI_VERSION, *PHTTPAPI_VERSION;

Members

HttpApiMajorVersion

Major version of the HTTP Server API.

HttpApiMinorVersion

Minor version of the HTTP Server API.

Remarks

Constants that represents the version of the API are pre-defined in the Http.h header file as follows:

"#define HTTPAPI_VERSION_1 {1, 0}"

"#define HTTPAPI_VERSION_2 {2, 0}"

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header http.h