|
From: JRB on 30 Jun 2008 05:06 I need to programmatically enumerate the volumes on a server from a workstation. Pretty much every search on "enumerate volumes" comes up with FindFirstVolume/FindNextVolume but these only work on the local machine. I can achieve this indirectly, e.g. by searching for shares and looking for c$, d$ etc, but I figure there has to be an API to do this directly. Any suggestions? TIA, John
From: Sten Westerback (MVP SDK 2005-6 :) on 1 Jul 2008 15:55 "JRB" <john(a)jrbsoftware.com> wrote in message news:f05a1fc0-86cf-4b83-bad6-d9eea7730c81(a)f1g2000prb.googlegroups.com... >I need to programmatically enumerate the volumes on a server from a > workstation. Pretty much every search on "enumerate volumes" comes up > with FindFirstVolume/FindNextVolume but these only work on the local > machine. > > I can achieve this indirectly, e.g. by searching for shares and > looking for c$, d$ etc, but I figure there has to be an API to do this > directly. Any suggestions? These comes into my mind WMI Win32_Share NetShareEnum()
|
Pages: 1 Prev: Start application before log in Next: transparent bitmap controls |