IDccManSink::OnLogDisconnection

The IDccManSink::OnLogDisconnection method indicates that the connection manager has terminated the connection between the desktop PC and the Windows CE device.

Syntax

STDMETHODIMP IDccManSink::OnLogDisconnection(void);

At a Glance

Header file: Dccole.h
Platforms: H/PC
Windows CE versions: 1.0 and later

Parameters

None.

Return Values

This method should always return NOERROR.

Remarks

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

When this notification is made, the Windows CE connection manager starts any applications that are registered with the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\AutoStartOnDisconnect.

For more information, see Receiving Connection Notification and Registry-Based Notification.