Fixed obvious typos.
[reactos.git] / rosapps / taskmgr / run.h
1 /*
2 * ReactOS Task Manager
3 *
4 * run.h
5 *
6 * Copyright (C) 1999 - 2001 Brian Palmer <brianp@reactos.org>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 */
22
23 // run.h - definitions necessary to use Microsoft's "Run" dialog
24 // Undocumented Windows call
25 // use the type below to declare a function pointer
26
27 // Information taken from http://www.geocities.com/SiliconValley/4942/
28 // Copyright © 1998-1999 James Holderness. All Rights Reserved.
29 // jholderness@geocities.com
30
31 #ifndef __RUN_H
32 #define __RUN_H
33
34 void TaskManager_OnFileNew(void);
35
36 typedef void (WINAPI *RUNFILEDLG)(
37 HWND hwndOwner,
38 HICON hIcon,
39 LPCSTR lpstrDirectory,
40 LPCSTR lpstrTitle,
41 LPCSTR lpstrDescription,
42 UINT uFlags);
43
44 //
45 // Flags for RunFileDlg
46 //
47
48 #define RFF_NOBROWSE 0x01 // Removes the browse button.
49 #define RFF_NODEFAULT 0x02 // No default item selected.
50 #define RFF_CALCDIRECTORY 0x04 // Calculates the working directory from the file name.
51 #define RFF_NOLABEL 0x08 // Removes the edit box label.
52 #define RFF_NOSEPARATEMEM 0x20 // Removes the Separate Memory Space check box (Windows NT only).
53
54 #endif // __RUN_H