2001-12-10 01:19:33 +00:00
|
|
|
|
/*
|
|
|
|
|
* ReactOS Task Manager
|
|
|
|
|
*
|
|
|
|
|
* run.h
|
|
|
|
|
*
|
|
|
|
|
* Copyright (C) 1999 - 2001 Brian Palmer <brianp@reactos.org>
|
|
|
|
|
*
|
2003-11-29 02:31:24 +00:00
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2001-12-10 01:19:33 +00:00
|
|
|
|
*
|
2003-11-29 02:31:24 +00:00
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
* Lesser General Public License for more details.
|
2001-12-10 01:19:33 +00:00
|
|
|
|
*
|
2003-11-29 02:31:24 +00:00
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
2001-12-10 01:19:33 +00:00
|
|
|
|
*/
|
|
|
|
|
|
2003-11-29 02:31:24 +00:00
|
|
|
|
/* run.h - definitions necessary to use Microsoft's "Run" dialog
|
|
|
|
|
* Undocumented Windows call
|
|
|
|
|
* use the type below to declare a function pointer
|
|
|
|
|
*
|
|
|
|
|
* Information taken from http:/*www.geocities.com/SiliconValley/4942/
|
|
|
|
|
* Copyright <EFBFBD> 1998-1999 James Holderness. All Rights Reserved.
|
|
|
|
|
* jholderness@geocities.com
|
|
|
|
|
*/
|
2001-12-10 01:19:33 +00:00
|
|
|
|
|
|
|
|
|
#ifndef __RUN_H
|
|
|
|
|
#define __RUN_H
|
|
|
|
|
|
|
|
|
|
void TaskManager_OnFileNew(void);
|
|
|
|
|
|
|
|
|
|
typedef void (WINAPI *RUNFILEDLG)(
|
|
|
|
|
HWND hwndOwner,
|
|
|
|
|
HICON hIcon,
|
|
|
|
|
LPCSTR lpstrDirectory,
|
|
|
|
|
LPCSTR lpstrTitle,
|
|
|
|
|
LPCSTR lpstrDescription,
|
|
|
|
|
UINT uFlags);
|
|
|
|
|
|
2003-11-29 02:31:24 +00:00
|
|
|
|
/*
|
|
|
|
|
* Flags for RunFileDlg
|
|
|
|
|
*/
|
2001-12-10 01:19:33 +00:00
|
|
|
|
|
2003-11-29 02:31:24 +00:00
|
|
|
|
#define RFF_NOBROWSE 0x01 /* Removes the browse button. */
|
|
|
|
|
#define RFF_NODEFAULT 0x02 /* No default item selected. */
|
|
|
|
|
#define RFF_CALCDIRECTORY 0x04 /* Calculates the working directory from the file name. */
|
|
|
|
|
#define RFF_NOLABEL 0x08 /* Removes the edit box label. */
|
|
|
|
|
#define RFF_NOSEPARATEMEM 0x20 /* Removes the Separate Memory Space check box (Windows NT only). */
|
2001-12-10 01:19:33 +00:00
|
|
|
|
|
2003-11-29 02:31:24 +00:00
|
|
|
|
#endif /* __RUN_H */
|