Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The HTTP_GREATER_VERSION macro returns a non-zero value if an HTTP_VERSION structure is greater than a specified major/minor version combination, or zero otherwise.
Syntax
int HTTP_GREATER_VERSION(
HTTP_VERSION version,
USHORT major,
USHORT minor
);
Parameters
version
The HTTP_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
Type: int
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.
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 |