1 | ###User Defined Function### |
---|
2 | _WinAPI_ShellExecuteEx |
---|
3 | |
---|
4 | ###Description### |
---|
5 | Performs 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@@ |
---|
20 | Success: True. |
---|
21 | Failure: False and sets @error to $SE_ERR_* value (see Remarks) |
---|
22 | @@End@@ |
---|
23 | |
---|
24 | |
---|
25 | ###Remarks### |
---|
26 | $SE_ERR_* constants require #include <APIShellExConstants.au3> |
---|
27 | If the function succeeds, it sets the "hInstApp" member of the $tagSHELLEXECUTEINFO structure to a value greater than 32. |
---|
28 | If the function fails, "hInstApp" is set to one of the $SE_ERR_* constants that best indicates the cause of the failure. |
---|
29 | The $SE_ERR_* error values are provided for compatibility with <a href="_WinAPI_ShellExecute.htm">_WinAPI_ShellExecute()</a>. |
---|
30 | To 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 |
---|