Note Shell execute hooks are deprecated as of Windows Vista.
Exposes a method that extends the behavior of the ShellExecute or ShellExecuteEx functions. It is typically implemented by subsystems that expose the names of objects that the user can specify in the Run dialog box after clicking the Microsoft Windows Start button.
IShellExecuteHook Members
| Execute |
Called when ShellExecute or ShellExecuteEx is called for an object that is registered. |
Remarks
You should implement IShellExecuteHook when you have named objects that the user would expect to be able to run from the Run dialog box after clicking the Windows Start button.
Shell execute hooks are registered by adding a value that contains the object's class identifier (CLSID) string under the following key in the registry:
HKEY_LOCAL_MACHINE
Software
Microsoft
Windows
CurrentVersion
Explorer
ShellExecuteHooks
You do not use this interface directly. It is generally used by the ShellExecuteEx function's code.
Interface Information
| Minimum DLL Version | shell32.dll version 4.0 or later |
|---|
| Custom Implementation | No |
|---|
| Inherits from | IUnknown |
|---|
| Header | shlobj.h |
|---|
| Minimum operating systems |
Windows NT 4.0, Windows 95 |
|---|