DECLARE INTEGER NetShareEnum IN netapi32; STRING servername, LONG lvl, INTEGER @bufptr,; LONG prefmaxlen, LONG @entriesread, LONG @totalentries,; LONG resume_handleThe NetShareEnum function retrieves information about each shared resource on a server or local computer.