IHandlerActivationHost interface (shobjidl_core.h)
Enables a client of Shell item activation (including callers of ShellExecuteEx and IContextMenu::InvokeCommand) to be given a chance to veto or perform some action before the activation of verb handlers.
Inheritance
The IHandlerActivationHost interface inherits from the IUnknown interface. IHandlerActivationHost also has these types of members:
Methods
The IHandlerActivationHost interface has these methods.
IHandlerActivationHost::BeforeCoCreateInstance . (IHandlerActivationHost.BeforeCoCreateInstance) |
IHandlerActivationHost::BeforeCreateProcess . (IHandlerActivationHost.BeforeCreateProcess) |
Remarks
This interface is implemented by an object reachable through the site chain provided to ShellExecuteEx or the context menu handler. Applications will return this object in their IServiceProvider::QueryService implementation when asked for the service ID SID_SHandlerActivationHost.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |