IShellExecuteHook interface
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 Windows Start button.
Members
The IShellExecuteHook interface inherits from the IUnknown interface. IShellExecuteHook also has these types of members:
Methods
The IShellExecuteHook interface has these methods.
| Method | Description |
|---|---|
| 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.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
DLL |
|