IUnknown_ProfferService(3w)

IUnknown_ProfferService3w

Usage

HRESULT IUnknown_ProfferService
(
IUnknown* lpUnknown,
REFGUID service,
IServiceProvider* pService,
DWORD* pCookie
)

Overview

Calls IProfferService methods to proffer/revoke specified service.

Params

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

service [In] Service Id for IProfferService::Proffer/Revoke calls.

pService [In] Service to proffer. If NULL::Revoke is called.

pCookie [IO] Group Id for IOleCommandTarget::Exec() call.

Returns

Success: S_OK. IProffer method returns S_OK

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.