Desktop Functions: Smart Device Functions:
|
Search Results for "EnumPorts" in [All]winfax1: FaxEnumPorts
static extern bool FaxEnumPorts (IntPtr FaxHandle, ref FAX_PORT_INFO PortInfo,
Declare Function FaxEnumPorts Lib "winfax.dll" (TODO) As TODO winspool2: 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)) |