How to stop WZC Service in XP-SP2
- From: "John K Gummadi" <john@xxxxxxxxxx>
- Date: Wed, 13 Apr 2005 17:28:33 +0200
Hello All,
I'm working on a WiFi tool that scans, connects to accesspoints, etc., So
far on XP SP1, I'm able to stop WZC before my app (by simply executing "net
stop wzcsvc"). It stops successfully and I'm able to get handle to the WLAN
adapter and I could send different commands to set WEP key, connect, etc.,
OK, now when I do the same in SP2 machine, though the WZC service appears
have stopped, I can't get IOCTL_NDISUIO_OPEN_DEVICE to work with
DeviceIOControl. I get some error that says something like it is in use
already. And I read in newgroups that from SP2, microsoft stopped allowing
people from stopping the service. And also came to know that it is possible
to stop it using WZCQueryInterface and WZCSetInterface. Though I have the
prototypes of these two functions, I'm unable to get the definition of
INTF_ENTRY. I searched google for "wzcsapi.h" (where i hope to find the
definition of INTF_ENTRY) without any luck. I don;t have WinCE installed on
my machine. Can someone send me "wzcsapi.h" please? If not, atleast
definition of INTF_ENTRY.
Any suggestions, pointers, source-code samples will be of great help.
Thanks,
John.
.
- Follow-Ups:
- Re: How to stop WZC Service in XP-SP2
- From: Arkady Frenkel
- Re: How to stop WZC Service in XP-SP2
- Prev by Date: Sockets P2P
- Next by Date: Querying adapaters' state in 98/ME systems... How?
- Previous by thread: Sockets P2P
- Next by thread: Re: How to stop WZC Service in XP-SP2
- Index(es):
Relevant Pages
|