NAME

ConnectToConnectionPoint  (SHLWAPI.168)

SYNOPSIS

 HRESULT ConnectToConnectionPoint
 (
  IUnknown*          lpUnkSink,
  REFIID             riid,
  BOOL               fConnect,
  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.
fConnect [In] TRUE = Connection being establisted, FALSE = broken.
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

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/shlwapi/ordinal.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shlwapi/ordinal.c

Debug channel "shell".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.