IUnknown_QueryService(3w)

IUnknown_QueryService3w

Usage

HRESULT IUnknown_QueryService
(
IUnknown* lpUnknown,
REFGUID sid,
REFIID riid,
LPVOID* lppOut
)

Overview

Retrieve a Service Interface from an object.

Params

lpUnknown [In] Object to get an IServiceProvider interface from.

sid [In] Service Id for IServiceProvider_QueryService(3w) call.

riid [In] Function requested for QueryService call.

lppOut [Out] Destination for the service interface pointer.

Returns

Success: S_OK. lppOut contains an object providing the requested service

Failure: An HRESULT error code.

Notes

lpUnknown is expected to support the IServiceProvider interface.

Implementation

Declared in "shlwapi.h".

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.