reactos/base/applications/taskmgr/run.h
Hermès Bélusca-Maïto c706222f3f
[TASKMGR] Fix the license. Turns out it's LGPL-2.1-or-later from the texts.
Caught by Stanislav. Sorry for the oversight!
2023-06-15 19:45:23 +02:00

38 lines
1.2 KiB
C

/*
* PROJECT: ReactOS Task Manager
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
* PURPOSE: Run Task.
* COPYRIGHT: Copyright 1999-2001 Brian Palmer <brianp@reactos.org>
* Copyright 2005 Klemens Friedl <frik85@reactos.at>
*/
/*
* 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 © 1998-1999 James Holderness. All Rights Reserved.
* jholderness@geocities.com
*/
#pragma once
void TaskManager_OnFileNew(void);
typedef void (WINAPI *RUNFILEDLG)(
HWND hwndOwner,
HICON hIcon,
LPCWSTR lpstrDirectory,
LPCWSTR lpstrTitle,
LPCWSTR 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). */