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 .
Registered users can post here. Sign in or register to post.