HTTP_VERSION_INFO structure (winhttp.h)

The HTTP_VERSION_INFO structure contains the global HTTP version.

Syntax

typedef struct _HTTP_VERSION_INFO {
  DWORD dwMajorVersion;
  DWORD dwMinorVersion;
} HTTP_VERSION_INFO, *LPHTTP_VERSION_INFO, *PHTTP_VERSION_INFO;

Members

dwMajorVersion

Major version number. Must be 1.

dwMinorVersion

Minor version number. Can be either 1 or 0.

Remarks

Note  For Windows XP and Windows 2000, see the Run-Time Requirements section of the WinHttp start page.
 

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional with SP3 [desktop apps only]
Minimum supported server Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]
Header winhttp.h
Redistributable WinHTTP 5.0 and Internet Explorer 5.01 or later on Windows XP and Windows 2000.

See also

WinHTTP Versions