53 trace(
"Starting '%ls', which is already relative\n",
FileName);
59 StartupInfo.
cb =
sizeof(StartupInfo);
95 ok(Relative ==
FALSE,
"GetModuleFileNameA returned relative path: %s\n",
Buffer);
111 ok(Relative ==
FALSE,
"GetModuleFileNameW returned relative path: %ls\n",
Buffer);
static VOID StartChild(char **argv)
static VOID TestGetModuleFileNameW(VOID)
static VOID TestGetModuleFileNameA(VOID)
PRTL_UNICODE_STRING_BUFFER Path
#define MultiByteToWideChar
DWORD WINAPI GetModuleFileNameW(HINSTANCE hModule, LPWSTR lpFilename, DWORD nSize)
DWORD WINAPI GetModuleFileNameA(HINSTANCE hModule, LPSTR lpFilename, DWORD nSize)
BOOL WINAPI SetCurrentDirectoryW(IN LPCWSTR lpPathName)
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)
BOOL WINAPI PathIsRelativeA(LPCSTR lpszPath)
BOOL WINAPI PathIsRelativeW(LPCWSTR lpszPath)
struct _FileName FileName
_In_ ULONG _In_ ULONG _In_ ULONG Length
int winetest_get_mainargs(char ***pargv)
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)
#define RtlZeroMemory(Destination, Length)
DWORD WINAPI GetLastError(void)
#define GetModuleFileName