1 /* 2 * PROJECT: ReactOS Task Manager 3 * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) 4 * PURPOSE: Run Task. 5 * COPYRIGHT: Copyright 1999-2001 Brian Palmer <brianp@reactos.org> 6 * Copyright 2005 Klemens Friedl <frik85@reactos.at> 7 */ 8 /* 9 * run.h - definitions necessary to use Microsoft's "Run" dialog 10 * Undocumented Windows call 11 * use the type below to declare a function pointer 12 * 13 * Information taken from http://www.geocities.com/SiliconValley/4942/ 14 * Copyright � 1998-1999 James Holderness. All Rights Reserved. 15 * jholderness@geocities.com 16 */ 17 18 #pragma once 19 20 void TaskManager_OnFileNew(void); 21 22 typedef void (WINAPI *RUNFILEDLG)( 23 HWND hwndOwner, 24 HICON hIcon, 25 LPCWSTR lpstrDirectory, 26 LPCWSTR lpstrTitle, 27 LPCWSTR lpstrDescription, 28 UINT uFlags); 29 30 /* 31 * Flags for RunFileDlg 32 */ 33 #define RFF_NOBROWSE 0x01 /* Removes the browse button. */ 34 #define RFF_NODEFAULT 0x02 /* No default item selected. */ 35 #define RFF_CALCDIRECTORY 0x04 /* Calculates the working directory from the file name. */ 36 #define RFF_NOLABEL 0x08 /* Removes the edit box label. */ 37 #define RFF_NOSEPARATEMEM 0x20 /* Removes the Separate Memory Space check box (Windows NT only). */ 38