How do I add a new connection to the Pocket PC 2003 Connection Manager
programmatically?

Re: Add connection to ConnMgr programmatically by Hai

Hai
Fri Jul 09 20:03:58 CDT 2004

Have you taken a look of APIs in connmgr.h? The answer is there. If you
are talking about CM CPL (control panel applet), the answer is that no
program interface has been exposed for it yet.

--
Hai Cui [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.



"Trevor" <trevor@spam.com> wrote in message
news:uIGWf2cZEHA.1048@tk2msftngp13.phx.gbl...

> How do I add a new connection to the Pocket PC 2003 Connection Manager
> programmatically?



Re: Add connection to ConnMgr programmatically by Trevor

Trevor
Mon Jul 12 10:29:41 CDT 2004

Hai Cui [MSFT] wrote:
> Have you taken a look of APIs in connmgr.h? The answer is there. If you
> are talking about CM CPL (control panel applet), the answer is that no
> program interface has been exposed for it yet.
>

This is what I understand...

I can use the existing connection manager API to enumerate connections,
dial connections, get the status of connected connections, etc... but
not create connections. i.e., I can't use some connection manager API
to create a connection that can be enumerated using
ConnMgrEnumDestinations and is visible under
Settings->Connections->Connections->My ISP/My Work Network. I am aware
of connmgr.h and have looked at it. The answer to my question is not
obvious (to me) after reading the documentation and MSDN.

Re: Add connection to ConnMgr programmatically by Peter

Peter
Wed Sep 08 00:12:09 CDT 2004

AFAIK, To add connection which is viewable through connection manager page,
you need to do it manually (by manipulating regvalue of connmgr - perhaps!).
However, eventhough it works, the performance is still not promising and
confusing - of course :).

Anyone has better idea?



"Trevor" <trevor@spam.com> wrote in message
news:eurByUCaEHA.3112@tk2msftngp13.phx.gbl...
> Hai Cui [MSFT] wrote:
> > Have you taken a look of APIs in connmgr.h? The answer is there. If
you
> > are talking about CM CPL (control panel applet), the answer is that no
> > program interface has been exposed for it yet.
> >
>
> This is what I understand...
>
> I can use the existing connection manager API to enumerate connections,
> dial connections, get the status of connected connections, etc... but
> not create connections. i.e., I can't use some connection manager API
> to create a connection that can be enumerated using
> ConnMgrEnumDestinations and is visible under
> Settings->Connections->Connections->My ISP/My Work Network. I am aware
> of connmgr.h and have looked at it. The answer to my question is not
> obvious (to me) after reading the documentation and MSDN.