Add comment W32 Constants Translate this page
Performs an operation on a specified file.|
DECLARE INTEGER ShellExecute IN shell32;
Handle to a parent window. This window receives any message boxes that an application produces, such as error reporting.
A string, referred to as a verb, that specifies the action to be performed: edit, explore, find, open, print
Address of a null-terminated string that specifies the file or object on which to execute the specified verb.
If the lpFile parameter specifies an executable file, lpParameters is an address to a null-terminated string that specifies the parameters to be passed to the application.
Address of a null-terminated string that specifies the default directory.
Flags that specify how an application is to be displayed when it is opened.
|Returns a value greater than 32 if successful, or an error value that is less than or equal to 32 otherwise. . The return value is cast as an HINSTANCE for backward compatibility with 16-bit Microsoft® Windows® applications. It is not a true HINSTANCE, however.|
= ShellExecute(0, "print", "c:\aa\index.txt",;
"", "", SW_SHOWMAXIMIZED)
|The following verbs are commonly used: edit, explore, find, open, print and properties.|
See also: ShellExecuteEx, CreateProcess, AssocQueryString
|Translate this page:|
Visited in last 7 days: 148
|Created: ||2001-08-06 12:00:00|
|Modified: ||2012-10-12 13:24:05|