Partager via


IDccManSink::OnLogDisconnection

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The OnLogDisconnection method indicates that the connection manager has terminated the connection between the desktop computer and the Windows Embedded CE–based device.

Syntax

HRESULT IDccManSink::OnLogDisconnection(void);

Parameters

None.

Return Value

This method should always return NOERROR.

Remarks

The IDccManSink::OnLogDisconnection method is implemented by a client application and is called when the Windows Embedded CE connection manager terminates the connection between the desktop computer and the Windows Embedded CE–based device.

When this notification is made, the Windows Embedded CE connection manager starts any applications that are registered with the registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\AutoStartOnDisconnect

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

Requirements

Header dccole.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Reference

IDccManSink
IDccManSink2

Concepts

RAPI Interfaces