Ticket #2764: _WinAPI_ShellExecuteEx.txt

File _WinAPI_ShellExecuteEx.txt, 1.1 KB (added by mLipok, 10 years ago)
Line 
1###User Defined Function###
2_WinAPI_ShellExecuteEx
3
4###Description###
5Performs an operation on a specified file
6
7###Syntax###
8#include <WinAPIShellEx.au3>
9_WinAPI_ShellExecuteEx ( ByRef $tSHEXINFO )
10
11
12###Parameters###
13@@ParamTable@@
14$tSHEXINFO
15        $tagSHELLEXECUTEINFO structure that contains and receives information about the application being executed.
16@@End@@
17
18###ReturnValue###
19@@ReturnTable@@
20Success:        True.
21Failure:        False and sets @error to $SE_ERR_* value (see Remarks)
22@@End@@
23
24
25###Remarks###
26$SE_ERR_* constants require #include <APIShellExConstants.au3>
27If the function succeeds, it sets the "hInstApp" member of the $tagSHELLEXECUTEINFO structure to a value greater than 32.
28If the function fails, "hInstApp" is set to one of the $SE_ERR_* constants that best indicates the cause of the failure.
29The $SE_ERR_* error values are provided for compatibility with <a href="_WinAPI_ShellExecute.htm">_WinAPI_ShellExecute()</a>.
30To retrieve more accurate error information, use <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a>.
31
32
33###Related###
34_WinAPI_ShellExecute
35
36
37###See Also###
38@@MsdnLink@@ ShellExecuteEx