IUnknown_QueryService (SHLWAPI.176)
HRESULT IUnknown_QueryService ( IUnknown* lpUnknown, REFGUID sid, REFIID riid, LPVOID* lppOut )
Retrieve a Service Interface from an object.
lpUnknown | [In] | Object to get an IServiceProvider interface from. |
sid | [In] | Service Id for IServiceProvider_QueryService call. |
riid | [In] | Function requested for QueryService call. |
lppOut | [Out] | Destination for the service interface pointer. |
Success: S_OK. lppOut contains an object providing the requested service
Failure: An HRESULT error code.
lpUnknown is expected to support the IServiceProvider interface.
Exported by ordinal only. Use GetProcAddress to obtain a pointer to the function.
Implemented in "dlls/shlwapi/ordinal.c". source.winehq.org/source/dlls/shlwapi/ordinal.c
Debug channel "shell".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.