How to use NetServerEnum from NetApi32.dll

BlitzMax Forums/BlitzMax Beginners Area/How to use NetServerEnum from NetApi32.dll

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Can someone show me how to retrieve all the LAN computer names on a network using NetServerEnum from the NetApi32.dll? Here is where I saw information about it, but I don't understand C.

http://www.codeproject.com/KB/IP/ListNetworkComputers.aspx