IUnknown_QueryServiceExec(3w)

IUnknown_QueryServiceExec3w

Usage

HRESULT IUnknown_QueryServiceExec
(
IUnknown* lpUnknown,
REFIID service,
const GUID* group,
DWORD cmdId,
DWORD cmdOpt,
VARIANT* pIn,
VARIANT* pOut
)

Overview

Calls IOleCommandTarget::Exec() for specified service object.

Params

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

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

group [In] Group Id for IOleCommandTarget::Exec() call.

cmdId [In] Command Id for IOleCommandTarget::Exec() call.

cmdOpt [In] Options flags for command.

pIn [In] Input arguments for command.

pOut [Out] Output arguments for command.

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

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

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

Debug channel "shell".

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