ReactOS 0.4.15-dev-7924-g5949c20
run.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#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). */
 

Typedefs

typedef void(WINAPIRUNFILEDLG) (HWND hwndOwner, HICON hIcon, LPCWSTR lpstrDirectory, LPCWSTR lpstrTitle, LPCWSTR lpstrDescription, UINT uFlags)
 

Functions

void TaskManager_OnFileNew (void)
 

Macro Definition Documentation

◆ RFF_CALCDIRECTORY

#define RFF_CALCDIRECTORY   0x04 /* Calculates the working directory from the file name. */

Definition at line 35 of file run.h.

◆ RFF_NOBROWSE

#define RFF_NOBROWSE   0x01 /* Removes the browse button. */

Definition at line 33 of file run.h.

◆ RFF_NODEFAULT

#define RFF_NODEFAULT   0x02 /* No default item selected. */

Definition at line 34 of file run.h.

◆ RFF_NOLABEL

#define RFF_NOLABEL   0x08 /* Removes the edit box label. */

Definition at line 36 of file run.h.

◆ RFF_NOSEPARATEMEM

#define RFF_NOSEPARATEMEM   0x20 /* Removes the Separate Memory Space check box (Windows NT only). */

Definition at line 37 of file run.h.

Typedef Documentation

◆ RUNFILEDLG

typedef void(WINAPI * RUNFILEDLG) (HWND hwndOwner, HICON hIcon, LPCWSTR lpstrDirectory, LPCWSTR lpstrTitle, LPCWSTR lpstrDescription, UINT uFlags)

Definition at line 22 of file run.h.

Function Documentation

◆ TaskManager_OnFileNew()

void TaskManager_OnFileNew ( void  )

Definition at line 11 of file run.c.

12{
15 WCHAR szTitle[40];
16 WCHAR szText[256];
17
18 /* Load language strings from resource file */
21
22 hShell32 = LoadLibraryW(L"SHELL32.DLL");
24
25 /* Show "Run..." dialog */
26 if (RunFileDlg)
27 {
29
30 /* NOTE - don't check whether running on win 9x or NT, let's just
31 assume that a unicode build only runs on NT */
33
35 }
36
38}
#define IDI_TASKMANAGER
Definition: resource.h:24
#define IDS_CREATENEWTASK_DESC
Definition: resource.h:245
#define IDS_CREATENEWTASK
Definition: resource.h:244
#define NULL
Definition: types.h:112
int(* FARPROC)()
Definition: compat.h:36
#define GetProcAddress(x, y)
Definition: compat.h:753
#define FreeLibrary(x)
Definition: compat.h:748
#define LoadLibraryW(x)
Definition: compat.h:747
void WINAPI RunFileDlg(HWND hWndOwner, HICON hIcon, LPCWSTR lpstrDirectory, LPCWSTR lpstrTitle, LPCWSTR lpstrDescription, UINT uFlags)
Definition: dialogs.cpp:409
HINSTANCE hInst
Definition: dxdiag.c:13
pKey DeleteObject()
TCHAR szTitle[MAX_LOADSTRING]
Definition: magnifier.c:35
HWND hMainWnd
Definition: magnifier.c:32
static HICON
Definition: imagelist.c:84
static HMODULE hShell32
Definition: string.c:34
HICON hIcon
Definition: msconfig.c:44
#define L(x)
Definition: ntvdm.h:50
void(WINAPI * RUNFILEDLG)(HWND hwndOwner, HICON hIcon, LPCWSTR lpstrDirectory, LPCWSTR lpstrTitle, LPCWSTR lpstrDescription, UINT uFlags)
Definition: run.h:22
#define RFF_CALCDIRECTORY
Definition: run.h:35
#define _countof(array)
Definition: sndvol32.h:68
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
#define MAKEINTRESOURCEW(i)
Definition: winuser.h:582
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE hInstance, _In_ LPCWSTR lpIconName)
Definition: cursoricon.c:2075
const char * LPCSTR
Definition: xmlstorage.h:183
__wchar_t WCHAR
Definition: xmlstorage.h:180

Referenced by TaskManagerWndProc().