ConnectToConnectionPoint (SHLWAPI.168)
HRESULT ConnectToConnectionPoint ( IUnknown* lpUnkSink, REFIID riid, BOOL bAdviseOnly, IUnknown* lpUnknown, LPDWORD lpCookie, IConnectionPoint** lppCP )
Locate and advise a connection point in an IConnectionPointContainer object.
lpUnkSink | [In] | Sink for the connection point advise call. |
riid | [In] | REFIID of connection point to advise. |
bAdviseOnly | [In] | TRUE = Advise only, FALSE = Unadvise first. |
lpUnknown | [In] | Object supporting the IConnectionPointContainer interface. |
lpCookie | [Out] | Pointer to connection point cookie. |
lppCP | [Out] | Destination for the IConnectionPoint found. |
Success: S_OK. If lppCP is non-NULL, it is filled with the IConnectionPoint that was advised. The caller is responsible for releasing it.
Failure: E_FAIL, if any arguments are invalid. E_NOINTERFACE, if lpUnknown isn't an IConnectionPointContainer, Or an HRESULT error code if any call fails.
Exported by ordinal only. Use GetProcAddress to obtain a pointer to the function.
Implemented in "dlls/shlwapi/ordinal.c". source.winehq.org/source/dlls/shlwapi/ordinal.c
Debug channel "shell".
Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2006.