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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy
COMSTAT (Structures)
 
.
Summary

C# Definition:

[StructLayout(LayoutKind.Sequential)]
private struct COMSTAT
{
    public const uint fCtsHold = 0x1;
    public const uint fDsrHold = 0x2;
    public const uint fRlsdHold = 0x4;
    public const uint fXoffHold = 0x8;
    public const uint fXoffSent = 0x10;
    public const uint fEof = 0x20;
    public const uint fTxim = 0x40;
    public UInt32 Flags;
    public UInt32 cbInQue;
    public UInt32 cbOutQue;
}

VB Definition:

    <StructLayout(LayoutKind.Sequential, Pack:=1)>
    Public Structure COMSTAT
      Public Const fCtsHold As UInteger = &H1
      Public Const fDsrHold As UInteger = &H2
      Public Const fRlsdHold As UInteger = &H4
      Public Const fXoffHold As UInteger = &H8
      Public Const fXoffSent As UInteger = &H10
      Public Const fEof As UInteger = &H20
      Public Const fTxim As UInteger = &H40
      Public fBitFields As Int32
      Public cbInQue As Int32
      Public cbOutQue As Int32
    End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation
COMSTAT on MSDN

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