ConnectToConnectionPoint(3w)
NAME
ConnectToConnectionPoint (SHLWAPI.168)
SYNOPSIS
HRESULT ConnectToConnectionPoint ( IUnknown* lpUnkSink, REFIID riid, BOOL bAdviseOnly, IUnknown* lpUnknown, LPDWORD lpCookie, IConnectionPoint** lppCP )
DESCRIPTION
Locate and advise a connection point in an IConnectionPointContainer
object.
PARAMS
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.
RETURNS
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.
IMPLEMENTATION
Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to
the function.
Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/shlwapi/ordinal.c".
- Debug channel "shell".