Danny Backx wrote: > On Sun, 2009-12-20 at 10:59 +0100, Vincent R. wrote: >> On Sun, 20 Dec 2009 08:12:39 +0100, Danny Backx <danny.backx@> >> wrote: >>> On Sat, 2009-12-19 at 08:12 -0800, Eric House wrote: >>>> Is there another way to establish a connection? How do the rest of >>>> you bring up a network connection on a cell phone? >>> http://msdn.microsoft.com/en-us/magazine/dd263096.aspx has some sample >>> code. Looks like only very few constants are unknown, maybe guessing >>> them is feasible. > >> I don't understand the problem because all functions ans structures are >> described... >> See for instance : >> http://msdn.microsoft.com/fr-fr/library/aa457263%28en-us%29.aspx >> What else do you need ? > > Values for the CONNMGR_* macros. > > Danny
http://blogs.msdn.com/anthonywong/archive/2006/03/13/550686.aspx > const uint CONNMGR_PARAM_GUIDDESTNET = 0x1; > const uint CONNMGR_FLAG_PROXY_HTTP = 0x1; > const uint CONNMGR_PRIORITY_USERINTERACTIVE = 0x08000; > const uint INFINITE = 0xffffffff; > const uint CONNMGR_STATUS_CONNECTED = 0x10; http://msdn.microsoft.com/en-us/library/bb840031.aspx > [Flags] > enum ConnMgrParam : int > { > GuidDestNet = 0x1, > MaxCost = 0x2, > MinRcvBw = 0x4, > MaxConnLatency = 0x8 > } > [Flags] > enum ConnMgrProxy : int > { > NoProxy = 0x0, > Http = 0x1, > Wap = 0x2, > Socks4 = 0x4, > Socks5 = 0x8 > } > enum ConnMgrPriority > { > UserInteractive = 0x8000, > HighPriorityBackground = 0x0200, > LowPriorityBackground = 0x0008 > } > > enum ConnMgrStatus > { > Unknown = 0x00, > Connected = 0x10, > Suspended = 0x11, > Disconnected = 0x20, > ConnectionFailed = 0x21, > ConnectionCanceled = 0x22, > ConnectionDisabled = 0x23, > NoPathToDestination = 0x24, > WaitingForPath = 0x25, > WaitingForPhone = 0x26, > PhoneOff = 0x27, > ExclusiveConflict = 0x28, > NoResources = 0x29, > ConnectionLinkFailed = 0x2a, > AuthenticationFailed = 0x2b, > NoPathWithProperty = 0x2c, > WaitingConnection = 0x40, > WaitingForResource = 0x41, > WaitingForNetwork = 0x42, > WaitingDisconnection = 0x80, > WaitingConnectionAbort = 0x81 > } I believe that's enough publicly-available info for someone to infer the naming scheme from the first one and the constant values from the second and thereby legitimately reproduce the #defines for the header. HTH :) cheers, DaveK ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel