24 WCHAR fallbackCmd[] =
L"cmd.exe";
26 if (cchEnv == 0 || cchEnv >
_countof(szComSpec))
29 wcscpy(szComSpec, fallbackCmd);
#define IDS_CREATENEWTASK_DESC
#define IDS_CREATENEWTASK
void TaskManager_OnFileNew(void)
#define GetEnvironmentVariableW(x, y, z)
#define GetProcAddress(x, y)
BOOL WINAPI DECLSPEC_HOTPATCH CreateProcessW(LPCWSTR lpApplicationName, LPWSTR lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, BOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, LPCWSTR lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation)
INT WINAPI DECLSPEC_HOTPATCH LoadStringW(HINSTANCE instance, UINT resource_id, LPWSTR buffer, INT buflen)
void WINAPI RunFileDlg(HWND hWndOwner, HICON hIcon, LPCWSTR lpstrDirectory, LPCWSTR lpstrTitle, LPCWSTR lpstrDescription, UINT uFlags)
TCHAR szTitle[MAX_LOADSTRING]
void(WINAPI * RUNFILEDLG)(HWND hwndOwner, HICON hIcon, LPCWSTR lpstrDirectory, LPCWSTR lpstrTitle, LPCWSTR lpstrDescription, UINT uFlags)
#define RFF_CALCDIRECTORY
#define CREATE_NEW_CONSOLE
SHORT WINAPI GetAsyncKeyState(_In_ int)
#define MAKEINTRESOURCEW(i)
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE hInstance, _In_ LPCWSTR lpIconName)