Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This interface is implemented by Connection Manager. It allows an application some control of Connection Manager and the ability to register for connection notifications.

An application creates this interface by calling the COM CoCreateInstancefunction, using the CLSID_DccMan globally unique identifier (GUID), and receiving a pointer to an IDccManinterface.

Connection Manager is a component of Windows Mobile . For more information about Connection Manager, see Connection Manager.

Methods

The following table shows the methods for this interface in alphabetical order.

Method Description

Advise

Registers an IDccManSinkobject so that it can receive connection notifications from Connection Manager.

ShowCommSettings

Displays the dialog box for setting the communications port.

Unadvise

Unregisters the client.

Remarks

The IDccManSink::OnLog*methods should return a value of NOERROR.

An IDccManinterface method typically returns a value of NOERROR if the method succeeds.

If a method fails, it uses the HRESULT_FROM_WIN32macro to return an HRESULTWin32 error value.

The application can display the error by using the Win32 FormatMessagefunction to create the error string.

For more information about message tables, see the Win32 Programmer's Reference.

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

Header dccole.h
Library ole32.lib, uuid.lib
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also