Re: how can i programmatically enable /disable "File and printer shari
- From: "Volodymyr M. Shcherbyna" <v_scherbina@xxxxxxxxxxxxxxx>
- Date: Thu, 8 May 2008 22:14:47 +0200
There are several ways on how to do this.
- stop 'Server' service (a rude way)
- enum all bindings (via INetCfgBindingPath) and disable them (see solution
provided at OSR: http://www.osronline.com/showThread.cfm?link=8331 )
- use NetShareEnum + NetShareDel
--
V.
This posting is provided "AS IS" with no warranties, and confers no
rights.
"oncer" <oncer@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:88664C05-A3CE-42B0-9909-3B9FBBCB155E@xxxxxxxxxxxxxxxx
how can i programmatically (C++) enable /disable "File and printer
sharing
for Microsoft Networks" ??
Is here any solution working under XP and Vista ??
.
- References:
- Prev by Date: Re: IOCP question
- Next by Date: Re: LsaLogOnUser over RPC
- Previous by thread: Re: how can i programmatically enable /disable "File and printer shari
- Next by thread: IOCP question
- Index(es):