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
    Pointer to an IDccManSink object that receives connection notifications.
  • pdwContext
    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 IDccMan::Unadvise.

Return Values

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

Remarks

None.

Requirements

Runs On Versions Defined in Include Link to
Windows CE OS 1.0 and later Dccole.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

IDccMan::Unadvise

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.