다음을 통해 공유


IDccMan::Advise (Windows CE 5.0)

Send Feedback

This method registers an IDccManSink object so that it can receive connection notifications from 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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.