Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
HRESULT Advise( IUnknown* pUnk**, const IID&** iid**, LPDWORD** pdw );
Return value
A standard HRESULT value. Can be one of the following values:
S_OK
E_POINTER
CONNECT_E_ADVISELIMIT
CONNECT_E_CANNOTCONNECT
E_FAIL
See in the Platform SDK for a description of these return values.
Parameters
pUnk
[in] Pointer to the IUnknown interface of the sink object. This object sinks events from the event source of the object referred to by the smart pointer.
iid
[in] IID for the outgoing interface managed by the connection point.
pdw
[out] Returned token that uniquely identifies this connection.
Remarks
Establishes a connection point with the object pointed to by this smart pointer.