ReactOS 0.4.15-dev-5858-g16decc6
run.c File Reference
#include "precomp.h"
Include dependency graph for run.c:

Go to the source code of this file.

Functions

void TaskManager_OnFileNew (void)
 

Function Documentation

◆ TaskManager_OnFileNew()

void TaskManager_OnFileNew ( void  )

Definition at line 26 of file run.c.

27{
30 WCHAR szTitle[40];
31 WCHAR szText[256];
32
33 /* Load language strings from resource file */
35 LoadStringW(hInst, IDS_CREATENEWTASK_DESC, szText, sizeof(szText) / sizeof(szText[0]));
36
37 hShell32 = LoadLibraryW(L"SHELL32.DLL");
39
40 /* Show "Run..." dialog */
41 if (RunFileDlg)
42 {
44
45 /* NOTE - don't check whether running on win 9x or NT, let's just
46 assume that a unicode build only runs on NT */
48
50 }
51
53}
#define IDI_TASKMANAGER
Definition: resource.h:17
#define IDS_CREATENEWTASK_DESC
Definition: resource.h:240
#define IDS_CREATENEWTASK
Definition: resource.h:239
#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:35
#define RFF_CALCDIRECTORY
Definition: run.h:48
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
Definition: cursoricon.c:2044
#define MAKEINTRESOURCEW(i)
Definition: winuser.h:582
const char * LPCSTR
Definition: xmlstorage.h:183
__wchar_t WCHAR
Definition: xmlstorage.h:180

Referenced by TaskManagerWndProc().