Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Please help me!! How can i disable and Enable wireless Zero Configuration .

14 views
Skip to first unread message

Roy Chen

unread,
Jul 30, 2003, 3:18:32 AM7/30/03
to
Hello :
I just want to write a wireless client manager(Zero
Configuration) to displace original one ,but i don't know how to disable
Zero Configuration . If someone know how to do it ,please help me. Thanks in
advance.

Best Regards.
Roy Chen


Greg Scott [MS]

unread,
Aug 1, 2003, 12:58:20 PM8/1/03
to
Here is a code snippet from netui which disables ZeroConfig:

if(IsDlgButtonChecked(hDlg,IDC_WZC_CHK_ENABLEWZC) == BST_CHECKED)
pWLanInfo->dwCtlFlags |= INTFCTL_ENABLED;
else
pWLanInfo->dwCtlFlags &= ~INTFCTL_ENABLED; // *** This disables
ZeroConfig ***

pWLanInfo->IntfEntry.dwCtlFlags = pWLanInfo->dwCtlFlags;
......
pfnWZCSetInterface(NULL, INTF_ALL_FLAGS |
INTF_PREFLIST,&pWLanInfo->IntfEntry,&dwOutFlags)


See public\common\oak\drivers\netui\wzcui.c.

Thanks,

Greg Scott
Software Design Engineer, Windows CE
Microsoft Corporation
___________________________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
___________________________________________________________________________

--------------------
| From: "Roy Chen" <roy_...@ms.usi.com.tw>
| Subject: Please help me!! How can i disable and Enable wireless Zero
Configuration .
| Date: Wed, 30 Jul 2003 15:18:32 +0800
| Lines: 12
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
| Message-ID: <uuNN2rmV...@TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.windowsce.app.development
| NNTP-Posting-Host: f5.usi.com.tw 210.66.201.17
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.windowsce.app.development:19745
| X-Tomcat-NG: microsoft.public.windowsce.app.development

Paul G. Tobey [eMVP]

unread,
Aug 4, 2003, 12:52:13 PM8/4/03
to
That disables it for a single card, as I recall, though, doesn't it? What
he's wondering about is how to *replace* the MS WZC with his own.

Paul T.

"Greg Scott [MS]" <gre...@online.microsoft.com> wrote in message
news:ZQ0gg4E...@cpmsftngxa06.phx.gbl...

Greg Scott [MS]

unread,
Aug 6, 2003, 8:15:14 PM8/6/03
to
The only way to do this is to disable ZeroConfig. There is no way to
replace it. I believe you are correct about the code below only disabling
WZC per adapter. If this is the case, you will just have to execute this
code for each adapter.

Thanks,

Greg Scott
Software Design Engineer, Windows CE
Microsoft Corporation
___________________________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
___________________________________________________________________________

--------------------
| From: "Paul G. Tobey [eMVP]" <ptobey_...@instrument.com>
| References: <uuNN2rmV...@TK2MSFTNGP12.phx.gbl>
<ZQ0gg4E...@cpmsftngxa06.phx.gbl>
| Subject: Re: Please help me!! How can i disable and Enable wireless Zero
Configuration .
| Date: Mon, 4 Aug 2003 09:52:13 -0700
| Lines: 72
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <eIs45iqW...@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.windowsce.app.development
| NNTP-Posting-Host: s2.instrument.client.aces.net 198.182.119.2
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.windowsce.app.development:19794
| X-Tomcat-NG: microsoft.public.windowsce.app.development

0 new messages