HttpReturnHeaderVersion

Returns the major and minor versions from the HTTP request.

Syntax

    #include <httpexp.h>
    
    BOOL HttpReturnHeaderVersion (
      HINTERNET    hndl,
      UINT32_PTR   lpHttpMajorVersion,
      UINT32_PTR   lpHttpMinorVersion);
    

Parameters

hndl
(IN) Specifies the HTTP stack handle.
lpHttpMajorVersion
(OUT) Points to where the request header major version number is placed.
lpHttpMinorVersion
(OUT) Points to where the request header minor version number is placed.

Return Values

Constant

Description

TRUE

Success.

FALSE

The function failed to return the version information.