COMSTAT (Structures)
Last changed: -84.73.85.109

.
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