次の方法で共有


IDccManSink::OnLogDisconnection (Windows CE 5.0)

Send Feedback

This method indicates that Connection Manager has terminated the connection between the desktop computer and the target device.

STDMETHODIMP IDccManSink::OnLogDisconnection(void); 

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 Cnnection Manager terminates the connection between the desktop computer and the target device.

When this notification is made, 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

OS Versions: Windows CE 1.0 and later.
Header: Dccole.h.
Link Library: Ole32.lib, Uuid.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.