EnumPorts (winspool)
Last changed: -87.175.189.56

.
Summary
Enum all Available Ports in a System.

C# Signature:

DllImport("winspool.drv", EntryPoint="EnumPortsA")]
static extern int EnumPorts (string pName, int Level, IntPtr lpbPorts, int cbBuf,ref int pcbNeeded,ref int pcReturned);

VB Signature:

TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation
EnumPorts on MSDN