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.