Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This method registers an IDccManSinkobject 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 IDccManSinkobject that receives connection notifications.
- pdwContext
-
[out] Pointer to a DWORDthat receives a context value used by the IDccManobject to identify the IDccManSinkobject that was passed in. The value pointed to by pdwContextshould be passed in the call to the IDccMan::Unadvisemethod.
Return Value
NOERROR indicates success. If an error occurs, the appropriate HRESULTvalue 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 |
Windows Mobile | Windows Mobile Version 5.0 and later |