#include "windef.h"
#include "verrsrc.h"
#include "dbghelp.h"
#include "wine/test.h"
Go to the source code of this file.
◆ START_TEST()
Definition at line 193 of file dbghelp.c.
194{
196
197
200
203
206
209}
BOOL WINAPI SymInitialize(HANDLE hProcess, PCSTR UserSearchPath, BOOL fInvadeProcess)
#define GetCurrentProcess()
BOOL WINAPI SymCleanup(HANDLE hProcess)
BOOL WINAPI DECLSPEC_HOTPATCH SetEnvironmentVariableA(IN LPCSTR lpName, IN LPCSTR lpValue)
static void test_stack_walk(void)
static void test_search_path(void)
DWORD WINAPI GetLastError(void)
◆ test_search_path()
Definition at line 135 of file dbghelp.c.
136{
137 char search_path[128];
139
140
141
144 ok(!
strcmp(search_path,
"."),
"Got search path '%s', expected '.'\n", search_path);
145
146
151 ok(!
strcmp(search_path,
"W:\\"),
"Got search path '%s', expected 'W:\\'\n", search_path);
152
153
158 ok(!
strcmp(search_path,
"."),
"Got search path '%s', expected '.'\n", search_path);
159
160
166 ok(!
strcmp(search_path,
".;X:\\"),
"Got search path '%s', expected '.;X:\\'\n", search_path);
167
168
174 ok(!
strcmp(search_path,
".;X:\\;Y:\\"),
"Got search path '%s', expected '.;X:\\;Y:\\'\n", search_path);
175
176
182 ok(!
strcmp(search_path,
".;Y:\\"),
"Got search path '%s', expected '.;Y:\\'\n", search_path);
183
184
190 ok(!
strcmp(search_path,
"."),
"Got search path '%s', expected '.'\n", search_path);
191}
int strcmp(const char *String1, const char *String2)
BOOL WINAPI SymSetSearchPath(HANDLE hProcess, PCSTR searchPath)
BOOL WINAPI SymGetSearchPath(HANDLE hProcess, PSTR szSearchPath, DWORD SearchPathLength)
Referenced by START_TEST().
◆ test_stack_walk()