Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

HTTPAPI_VERSION (Structures)
 
.
Summary
The HTTPAPI_VERSION structure defines the version of the HTTP API. This is not to be confused with the version of the HTTP protocol being used, which is stored in an HTTP_VERSION structure.

C# Definition:

[StructLayout(LayoutKind.Sequential, Pack = 2)]
struct HTTPAPI_VERSION
{
     public ushort HttpApiMajorVersion;
     public ushort HttpApiMinorVersion;

     public HTTPAPI_VERSION(ushort majorVersion, ushort minorVersion)
     {
     HttpApiMajorVersion = majorVersion;
     HttpApiMinorVersion = minorVersion;
     }
}

VB Definition:

<StructLayout(LayoutKind.Sequential, Pack:=2)> _
Public Structure HTTPAPI_VERSION
    Public HttpApiMajorVersion As UInt16
    Public HttpApiMinorVersion As UInt16

    Public Sub New(ByVal majorVersion As UInt16, ByVal minorVersion As UInt16)
        HttpApiMajorVersion = majorVersion
        HttpApiMinorVersion = minorVersion
    End Sub
End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions