HTTP_SET_VERSION macro

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

Syntax


void HTTP_SET_VERSION(
   HTTP_VERSION version,
   USHORT       major,
   USHORT       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

This macro does not return a value.

Requirements

Minimum supported client

Windows Vista, Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Http.h

See also

HTTP_VERSION
HTTP Server API Version 1.0 Macros

 

 

Show: