Partager via


IDccManSink2

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The IDccManSink2 interface extends the IDccManSink interface to provide support for the new Internet Protocol (IP) standard, IP version 6 (IPv6). IPv6 replaces the previous version, IPv4.

Note

The IDccManSink2 interface is designed for event notifications only and is executed by RAPI internal thread. Therefore, you should not make RAPI function calls other than CeRapiInitEx and CeRapiUninit from within the methods of the interface. A RAPI application should only call other RAPI functions from its own thread.

When to Implement

Implement this interface to receive and process notifications from Connection Manager that indicate when an IP address is established for communication between the desktop computer and the Windows Mobile device.

When to Use

Use this interface to take advantage of IPv6 when establishing communication between the desktop computer and the mobile device. This interface supports both IPv4 and IPv6.

Methods in Vtable Order

IDccManSink2 method Windows Mobile Professional Windows Mobile Standard Description

OnLogIpAddrEx

X

X

Indicates that an IP address has been established for communication between the desktop computer and the mobile device.

Remarks

The OnLogIpAddr method is available in this interface (through the IDccManSink inheritance), but it is triggered only when the device connects through IPv4. Therefore, applications should always use the OnLogIpAddrEx method, which recognizes both IPv4 and IPv6.

IPv6 was standardized by the Internet Engineering Task Force (IETF) in December 1998, in document RFC 2640.

Requirements

Header dccole2.h
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Pocket PC for Windows Mobile 2003 and later, Smartphone for Windows Mobile 2003 and later

See Also

Reference

IDccManSink
IDccManSink2

Concepts

RAPI Interfaces

Other Resources

IDccMan