IShellExecuteHook::ExecuteIShellExecuteHook::Execute*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IShellExecuteHook
*Next Topic: IShellExtInit

IShellExecuteHook::Execute


HRESULT Execute(
    LPSHELLEXECUTEINFO pei
   );	

Called when ShellExecute or ShellExecuteEx is called for an object that is registered.

pei
Address of a SHELLEXECUTEINFO structure that contains information about the object being executed. On successful completion of the hook, the hInstApp member will be filled in by the hook.

This method provides an opportunity for the application to hook the execution of an object and change the default execution or perform some other action before the object is executed.

See also IShellExecuteHook


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.