PDA

Click to See Complete Forum and Search --> : Enum Ports.


Crypt
Jun 25th, 2000, 02:19 PM
Can anyone please tell me how to use the enum ports api?

Public Declare Function EnumPorts Lib "winspool.drv" Alias "EnumPortsA" (ByVal pName As String, ByVal Level As Long, ByVal lpbPorts As Long, ByVal cbBuf As Long, pcbNeeded As Long, pcReturned As Long) As Long

I suck @ api, and I can't get it to work.
thanx.

Rodik
Jun 25th, 2000, 02:32 PM
Haven't used that before, but think there's a tip on it somewhere on vb-world