Mercurial > emacs
comparison src/w32fns.c @ 74350:501f287c0352
(Fw32_shell_execute): Doc fix.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 01 Dec 2006 13:04:59 +0000 |
parents | 3146bd0e5646 |
children | 69b307896f8b f1d13e615070 |
comparison
equal
deleted
inserted
replaced
74349:cdbaa3a95e6c | 74350:501f287c0352 |
---|---|
8042 | 8042 |
8043 DEFUN ("w32-shell-execute", Fw32_shell_execute, Sw32_shell_execute, 2, 4, 0, | 8043 DEFUN ("w32-shell-execute", Fw32_shell_execute, Sw32_shell_execute, 2, 4, 0, |
8044 doc: /* Get Windows to perform OPERATION on DOCUMENT. | 8044 doc: /* Get Windows to perform OPERATION on DOCUMENT. |
8045 This is a wrapper around the ShellExecute system function, which | 8045 This is a wrapper around the ShellExecute system function, which |
8046 invokes the application registered to handle OPERATION for DOCUMENT. | 8046 invokes the application registered to handle OPERATION for DOCUMENT. |
8047 OPERATION is typically \"open\", \"print\" or \"explore\" (but can be | 8047 |
8048 nil for the default action), and DOCUMENT is typically the name of a | 8048 OPERATION is either nil or a string that names a supported operation. |
8049 document file or URL, but can also be a program executable to run or | 8049 What operations can be used depends on the particular DOCUMENT and its |
8050 a directory to open in the Windows Explorer. | 8050 handler application, but typically it is one of the following common |
8051 | 8051 operations: |
8052 If DOCUMENT is a program executable, PARAMETERS can be a string | 8052 |
8053 containing command line parameters, but otherwise should be nil. | 8053 \"open\" - open DOCUMENT, which could be a file, a directory, or an |
8054 | 8054 executable program. If it is an application, that |
8055 SHOW-FLAG can be used to control whether the invoked application is hidden | 8055 application is launched in the current buffer's default |
8056 or minimized. If SHOW-FLAG is nil, the application is displayed normally, | 8056 directory. Otherwise, the application associated with |
8057 otherwise it is an integer representing a ShowWindow flag: | 8057 DOCUMENT is launched in the buffer's default directory. |
8058 \"print\" - print DOCUMENT, which must be a file | |
8059 \"explore\" - start the Windows Explorer on DOCUMENT | |
8060 \"edit\" - launch an editor and open DOCUMENT for editing; which | |
8061 editor is launched depends on the association for the | |
8062 specified DOCUMENT | |
8063 \"find\" - initiate search starting from DOCUMENT which must specify | |
8064 a directory | |
8065 nil - invoke the default OPERATION, or \"open\" if default is | |
8066 not defined or unavailable | |
8067 | |
8068 DOCUMENT is typically the name of a document file or a URL, but can | |
8069 also be a program executable to run, or a directory to open in the | |
8070 Windows Explorer. | |
8071 | |
8072 If DOCUMENT is a program executable, the optional arg PARAMETERS can | |
8073 be a string containing command line parameters that will be passed to | |
8074 the program; otherwise, PARAMETERS should be nil or unspecified. | |
8075 | |
8076 Second optional argument SHOW-FLAG can be used to control how the | |
8077 application will be displayed when it is invoked. If SHOW-FLAG is nil | |
8078 or unspceified, the application is displayed normally, otherwise it is | |
8079 an integer representing a ShowWindow flag: | |
8058 | 8080 |
8059 0 - start hidden | 8081 0 - start hidden |
8060 1 - start normally | 8082 1 - start normally |
8061 3 - start maximized | 8083 3 - start maximized |
8062 6 - start minimized */) | 8084 6 - start minimized */) |