HTTP_SET_VERSION macro (http.h)

The HTTP_SET_VERSION macro sets a specified HTTP_VERSION structure to a specified major/minor version combination.

Syntax

void HTTP_SET_VERSION(
   version,
   major,
   minor
);

Parameters

version

The HTTP_VERSION structure to be set.

major

The major portion of the version to be used in the HTTP_VERSION structure.

minor

The minor portion of the version to be used in the HTTP_VERSION structure.

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

HTTP_VERSION