Can I get this into a stringlist?

From what I've picked up searching DejaNews, I need to use the
following to list the shared folders on my system:

NetShareEnum (

    LPTSTR servername,  
    DWORD level,        
    LPBYTE * bufptr,    
    DWORD prefmaxlen,  
    LPDWORD entriesread,        
    LPDWORD totalentries,      
    LPDWORD resume_handle      
   );

How can I get this information into a stringlist that I can check
against my own folders?

ash