HTTP_EQUAL_VERSION macro (http.h)

The HTTP_EQUAL_VERSION macro returns a non-zero value if an HTTP_VERSION structure is equal to a specified major/minor version combination, or zero otherwise.

Syntax

void HTTP_EQUAL_VERSION(
   version,
   major,
   minor
);

Parameters

version

The HTTP_VERSION structure to be examined.

major

A major portion of the version to be compared.

minor

A minor portion of the version to be compared.

Return value

None

Requirements

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

See also

HTTP Server API Version 1.0 Macros