IDccMan::Advise

This method registers an IDccManSink object so that it can receive connection notifications from the Windows CE connection manager.

HRESULT STDMETHODIMP IDccMan::Advise( 
  IDccManSink* pDccSink,
  DWORD* pdwContext
);

Parameters

  • pDccSink
    [in] Pointer to an IDccManSink object that receives connection notifications.
  • pdwContext
    [out] Pointer to a DWORD that receives a context value used by the IDccMan object to identify the IDccManSink object that was passed in. The value pointed to by pdwContext should be passed in the call to the IDccMan::Unadvise method.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

Remarks

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.

See Also

IDccMan::Unadvise

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.