SHWeakQueryInterface (SHLWAPI.267)
HRESULT SHWeakQueryInterface ( IUnknown* pUnk, IUnknown* pInner, IID* riid, LPVOID* ppv )
pUnk | [In] | Outer object. |
pInner | [In] | Inner object. |
riid | [In] | Interface GUID to query for. |
ppv | [Out] | Destination for queried interface. |
Get an interface from an object.
Success: S_OK. ppv contains the requested interface.
Failure: An HRESULT error code.
This QueryInterface asks the inner object for an interface. In case of aggregation this request would be forwarded by the inner to the outer object. This function asks the inner object directly for the interface circumventing the forwarding to the outer object.
Exported by ordinal only. Use GetProcAddress to obtain a pointer to the function.
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 Nov 2024.