Desktop Functions: Smart Device Functions:
|
Search Results for "EnumPorts" in [All]winspool1: EnumPorts
static extern bool EnumPorts (string pName, uint level, IntPtr lpbPorts, uint cbBuf,ref uint pcbNeeded,ref uint pcReturned);
static extern bool EnumPorts (string pName, uint level, IntPtr lpbPorts, uint cbBuf,ref uint pcbNeeded,ref uint pcReturned);
if (EnumPorts(null, 2, IntPtr.Zero, 0, ref pcbNeeded, ref pcReturned))
throw new Exception("EnumPorts should fail!");
if (EnumPorts(null, 2, pPorts, pcbNeeded, ref pcbNeeded, ref pcReturned)) winfax2: FaxEnumPorts
|