need command for list out shared folder in MFC

I need to list out all the shared folders(directory) in the system along with their path . i want a command or an api in MFC, for listing out the shared directories. please help me in this .
Topic archived. No new replies allowed.