IDccManSink::OnLogActive
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 Values
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 CE connection manager starts any applications that are registered with the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\AutoStartOnConnect
To determine whether the platform supports this interface, see Determining Supported COM APIs.
Requirements
Pocket PC: Pocket PC 2002 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 1.0 and later
Header: dccole.h
See Also
Remote API Interfaces | IDccManSink | IDccManSink2
Send Feedback on this topic to the authors