IDccMan::Advise (Windows Embedded CE 6.0)
1/6/2010
This method registers an IDccManSink object so that it can receive connection notifications from Connection Manager.
Syntax
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 Value
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
Header | dccole.h |
Library | ole32.lib, uuid.lib |
Windows Embedded CE | Windows CE 1.0 and later |