NAME
IUnknown_QueryService (SHLWAPI.176)
SYNOPSIS
HRESULT IUnknown_QueryService
(
IUnknown* lpUnknown,
REFGUID sid,
REFIID riid,
LPVOID* lppOut
)
DESCRIPTION
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".