kelprinc wrote:
So basically i need to get all the information about the shares on my PC using NetShareGetInfo.
Use NetShareEnum(NULL, ...) instead. If you need information about a particular share, use NetShareGetInfo(NULL, _T("NameOfShare"), ...).
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb