"The NetShareGetInfo function retrieves information about a particular
shared resource on a server."
I do not know the name of the *particular* shared resource. I am looking
to get a *LIST* of the shared resources on a given machine, including the
hidden resources such as C$ and ADMIN$.
still looking,
jw
Quote:
>On Tue, 23 Sep 1997 19:08:24 -0400, "Joe White"
>> Since NetShareEnum is now obsolete, I have turned to WNetEnumResource.
>>Unfortunately, WNetEnumResource does not allow me to get a list of
>>hidden/administrative shares. Does anyone hve any bright ideas on how I
can
>>get those?
>>joe white
>>"always a godfather, never a god."
>Cute and Paste from Microsoft Development Studio:
>The NetShareGetInfo function retrieves information about a particular
shared resource on a server.
Quote:
>Security Requirements
>Only members of the Administrators or Account Operators local group or
those with Communication, Print, or Server operator group membership can
successfully execute NetShareGetInfo
Quote:
>at level 2. No special group membership is required for calls in
SHARE_INFO_0 and SHARE_INFO_1.
Quote:
>It's working in my project.