Function _WinAPI_ShellExecuteEx

Function Reference


Performs an operation on a specified file

#include <WinAPIShellEx.au3>
_WinAPI_ShellExecuteEx ( ByRef $tSHEXINFO )


$tSHEXINFO $tagSHELLEXECUTEINFO structure that contains and receives information about the application being executed.

Return Value

Success: True.
Failure: False.


$SE_ERR_* constants require #include <APIShellExConstants.au3>
If the function succeeds, it sets the "hInstApp" member of the $tagSHELLEXECUTEINFO structure to a value greater than 32,
If the function fails, "hInstApp" is set to one of the $SE_ERR_* constants that best indicates the cause of the failure.
The $SE_ERR_* error values are provided for compatibility with _WinAPI_ShellExecute(). To retrieve more accurate
error information, use _WinAPI_GetLastError().



See Also

Search ShellExecuteEx in MSDN Library.