#include "shelltest.h"
#include <stdio.h>
Go to the source code of this file.
◆ ok_wstri
◆ FN_PathProcessCommand
◆ START_TEST()
Definition at line 118 of file PathProcessCommand.cpp.
119{
121
125 {
128 }
130 {
131 skip(
"PathProcessCommand not found\n");
132 return;
133 }
134
138
140
142
144}
static void Test_PathProcessCommand(void)
static FN_PathProcessCommand s_PathProcessCommand
LONG(WINAPI * FN_PathProcessCommand)(LPCWSTR, LPWSTR, INT, DWORD)
#define GetCurrentDirectoryW(x, y)
#define GetEnvironmentVariableW(x, y, z)
#define GetProcAddress(x, y)
BOOL WINAPI DECLSPEC_HOTPATCH SetEnvironmentVariableW(IN LPCWSTR lpName, IN LPCWSTR lpValue)
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
BOOL WINAPI SetCurrentDirectoryW(IN LPCWSTR lpPathName)
#define MAKEINTRESOURCEA(i)
◆ Test_PathProcessCommand()
static void Test_PathProcessCommand |
( |
void |
| ) |
|
|
static |
Definition at line 19 of file PathProcessCommand.cpp.
20{
27
30 fout =
_wfopen(
L"test with spaces.exe",
L"wb");
32
35
40
42 lstrcatW(szFull2,
L"\\test with spaces.exe");
44 lstrcatW(szFull4,
L"\\_Test.exe arg1 arg2");
46
48
49
54
55
60
61
66
67
72
73
76
77
82
83
88
89
94
95
100
101
106
107
112
116}
#define ok_int(expression, result)
BOOL WINAPI DeleteFileW(IN LPCWSTR lpFileName)
BOOL WINAPI CreateDirectoryW(IN LPCWSTR lpPathName, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes)
BOOL WINAPI RemoveDirectoryW(IN LPCWSTR lpPathName)
UINT WINAPI GetSystemDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
DWORD WINAPI GetShortPathNameW(IN LPCWSTR lpszLongPath, OUT LPWSTR lpszShortPath, IN DWORD cchBuffer)
DWORD WINAPI GetFullPathNameW(IN LPCWSTR lpFileName, IN DWORD nBufferLength, OUT LPWSTR lpBuffer, OUT LPWSTR *lpFilePart)
_Check_return_ _CRTIMP FILE *__cdecl _wfopen(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_Mode)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
LPWSTR WINAPI lstrcatW(LPWSTR lpString1, LPCWSTR lpString2)
#define PPCF_FORCEQUALIFY
#define PPCF_LONGESTPOSSIBLE
#define PPCF_ADDARGUMENTS
#define PPCF_NODIRECTORIES
int WINAPIV wsprintfW(_Out_ LPWSTR, _In_ _Printf_format_string_ LPCWSTR,...)
Referenced by START_TEST().
◆ s_PathProcessCommand