Partager via


IDccManSink::OnLogActive

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The OnLogActive method indicates that a connection is established between the client application and the connection manager.

Syntax

HRESULT IDccManSink::OnLogActive(void);

Parameters

None.

Return Value

This method should always return NOERROR.

Remarks

The IDccManSink::OnLogActive method is implemented by a client application and is called when a socket connection is established between the client application and the connection manager.

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Embedded CE  Services\AutoStartOnConnect

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