.
The GetDefaultCommConfig API
3/16/2007 7:54:34 AM - -204.238.102.222
.
[StructLayout( LayoutKind.Sequential )] struct COMMCONFIG
.
.
static extern bool CommConfigDialog(string lpszName, IntPtr hWnd,
.
ref COMMCONFIG lpCC);
.
COMMCONFIG
TODO - a short description
7/4/2015 11:05:08 AM - anonymous
.
.
The GetCommConfig API
3/16/2007 7:54:07 AM - anonymous
.
static extern bool GetCommConfig(IntPtr hCommDev, [Out] ref COMMCONFIG lpCC,
.
.
The GetDefaultCommConfig API
3/16/2007 7:54:34 AM - -204.238.102.222
.
static extern bool GetDefaultCommConfig(string lpszName, [In, Out] ref COMMCONFIG lpCC,
.
static extern bool GetDefaultCommConfig(string lpszName, [In, Out] ref COMMCONFIG lpCC, ref uint lpdwSize);
.
internal struct COMMCONFIG
.
COMMCONFIG cc = new COMMCONFIG();
.
bool bSuccess = GetDefaultCommConfig(comPortName, ref cc, ref sz);
.