Shared Directories

Hi,
Is it possible to find what directories are shared and what are their shared names or is it possible to check if a particular directory is shared or not and what is its shared name.

Thanks
Ashish

The user-mode Server service sends some undocumented IOCTLs to SRV to extract this information, and exposes it over RPC. The NetShareEnum routine is the RPC client stub for it.

So - either use NetShareEnum in user mode, or try to dig out the undocumented IOCTLs to \Device\LanmanServer.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: Ashish
To: Windows System Software Devs Interest List
Sent: Friday, May 13, 2005 6:12 PM
Subject: [ntdev] Shared Directories

Hi,
Is it possible to find what directories are shared and what are their shared names or is it possible to check if a particular directory is shared or not and what is its shared name.

Thanks
Ashish

Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com