HTTPAPI_GREATER_VERSION macro

The HTTPAPI_GREATER_VERSIONreturns a non-zero value if an HTTPAPI_VERSION structure is greater than a specified major/minor version combination, or zero otherwise.

Syntax


int HTTP_GREATER_VERSION(
  HTTPAPI_VERSION version,
  USHORT major,
  USHORT minor
);

Parameters

version

The HTTPAPI_VERSION structure to be examined.

major

The major portion of the version to be compared.

minor

The minor portion of the version to be compared.

Return value

Returns an integer that is either zero (false) or non-zero (true), that indicates whether or not the value of the version parameter is greater than the version combination passed in the major and minor parameters.

See also

HTTP Server API Version 1.0 Macros

 

 

Community Additions

ADD
Show:
© 2014 Microsoft