COMMPROP (Structures)
Last changed: -152.66.181.153

.
Summary
The COMMPROP structure is used by the GetCommProperties function to return information about a given communications driver.

C# Definition:

[StructLayout(LayoutKind.Sequential)]
struct COMMPROP
{
    short wPacketLength;
    short wPacketVersion;
    int dwServiceMask;
    int dwReserved1;
    int dwMaxTxQueue;
    int dwMaxRxQueue;
    int dwMaxBaud;
    int dwProvSubType;
    int dwProvCapabilities;
    int dwSettableParams;
    int dwSettableBaud;
    short wSettableData;
    short wSettableStopParity;
    int dwCurrentTxQueue;
    int dwCurrentRxQueue;
    int dwProvSpec1;
    int dwProvSpec2;
    string wcProvChar;    
}

VB Definition:

Structure COMMPROP
    Dim wPacketLength As Short
    Dim wPacketVersion As Short
    Dim dwServiceMask As Integer
    Dim dwReserved1 As Integer
    Dim dwMaxTxQueue As Integer
    Dim dwMaxRxQueue As Integer
    Dim dwMaxBaud As Integer
    Dim dwProvSubType As Integer
    Dim dwProvCapabilities As Integer
    Dim dwSettableParams As Integer
    Dim dwSettableBaud As Integer
    Dim wSettableData As Short
    Dim wSettableStopParity As Short
    Dim dwCurrentTxQueue As Integer
    Dim dwCurrentRxQueue As Integer
    Dim dwProvSpec1 As Integer
    Dim dwProvSpec2 As Integer
    <VBFixedArray(1)> Dim wcProvChar() As Short

    Public Sub Initialize()
        ReDim wcProvChar(1)
    End Sub
End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation
COMMPROP on MSDN