ReactOS  0.4.12-dev-18-gf469aca
run.h
Go to the documentation of this file.
1 /*
2  * ReactOS Task Manager
3  *
4  * run.h
5  *
6  * Copyright (C) 1999 - 2001 Brian Palmer <brianp@reactos.org>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * This library 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 GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  *
22  * run.h - definitions necessary to use Microsoft's "Run" dialog
23  * Undocumented Windows call
24  * use the type below to declare a function pointer
25  *
26  * Information taken from http://www.geocities.com/SiliconValley/4942/
27  * Copyright 1998-1999 James Holderness. All Rights Reserved.
28  * jholderness@geocities.com
29  */
30 
31 #pragma once
32 
33 void TaskManager_OnFileNew(void);
34 
35 typedef void (WINAPI *RUNFILEDLG)(
36 HWND hwndOwner,
37 HICON hIcon,
38 LPCWSTR lpstrDirectory,
39 LPCWSTR lpstrTitle,
40 LPCWSTR lpstrDescription,
41 UINT uFlags);
42 
43 /*
44  * Flags for RunFileDlg
45  */
46 #define RFF_NOBROWSE 0x01 /* Removes the browse button. */
47 #define RFF_NODEFAULT 0x02 /* No default item selected. */
48 #define RFF_CALCDIRECTORY 0x04 /* Calculates the working directory from the file name. */
49 #define RFF_NOLABEL 0x08 /* Removes the edit box label. */
50 #define RFF_NOSEPARATEMEM 0x20 /* Removes the Separate Memory Space check box (Windows NT only). */
static HICON
Definition: imagelist.c:84
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:47
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
UINT uFlags
Definition: api.c:60
void(WINAPI * RUNFILEDLG)(HWND hwndOwner, HICON hIcon, LPCWSTR lpstrDirectory, LPCWSTR lpstrTitle, LPCWSTR lpstrDescription, UINT uFlags)
Definition: run.h:35
unsigned int UINT
Definition: ndis.h:50
#define WINAPI
Definition: msvc.h:20
HICON hIcon
Definition: msconfig.c:44
void TaskManager_OnFileNew(void)
Definition: run.c:26