Index   Commented   Search   About

Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
-
Header File
shlobj.h
Unicode
No
Platform Notes
None

IShellExecuteHook::Execute

[Now Supported on Windows NT]

Provides a hook with an opportunity to intercept a command and perform an alternate action.

HRESULT Execute(

LPSHELLEXECUTEINFO pei
// Points to a SHELLEXECUTEINFO struct.
);

Parameters

pei

Pointer to a SHELLEXECUTEINFO structure. This structure is discussed further under ShellExecuteEx.

Return Values

Returns NOERROR if the hook is implemented in the executable or S_FALSE if it is not. It is an OLE-defined error value otherwise.

Remarks

Execute
provides the hook the chance to pick off a command to be executed and perform some other action.

See Also

IShellExecuteHook,
IShellExtInit, ITEMIDLIST

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun