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.