SHWeakQueryInterface(3w)

SHWeakQueryInterface3w

Usage

HRESULT SHWeakQueryInterface
(
IUnknown* pUnk,
IUnknown* pInner,
IID* riid,
LPVOID* ppv
)

Params

pUnk [In] Outer object.

pInner [In] Inner object.

riid [In] Interface GUID to query for.

ppv [Out] Destination for queried interface.

Overview

Get an interface from an object.

Returns

Success: S_OK. ppv contains the requested interface.

Failure: An HRESULT error code.

Notes

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.

Implementation

Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.

Implemented in "dlls/shlwapi/ordinal.c".

Debug channel "shell".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.