reactos/rosapps/taskmgr/run.h

56 lines
1.8 KiB
C
Raw Normal View History

/*
* ReactOS Task Manager
*
* run.h
*
* Copyright (C) 1999 - 2001 Brian Palmer <brianp@reactos.org>
*
* 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.
*
* 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.
*
* 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
*/
/* 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
*/
#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);
/*
* Flags for RunFileDlg
*/
#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). */
#endif /* __RUN_H */