Lines Matching defs:g_wszSupLibHardenedExePath
273 RTUTF16 g_wszSupLibHardenedExePath[1024];
3883 if (!CreateProcessW(g_wszSupLibHardenedExePath,
3910 W32ImageName.Buffer = g_wszSupLibHardenedExePath; /* Yes the windows name for the process parameters. */
3911 W32ImageName.Length = (USHORT)RTUtf16Len(g_wszSupLibHardenedExePath) * sizeof(WCHAR);
5338 DWORD cwcExecName = GetModuleFileNameW(GetModuleHandleW(NULL), g_wszSupLibHardenedExePath,
5339 RT_ELEMENTS(g_wszSupLibHardenedExePath));
5340 if (cwcExecName >= RT_ELEMENTS(g_wszSupLibHardenedExePath))
5344 RTUTF16 wszLong[RT_ELEMENTS(g_wszSupLibHardenedExePath)];
5345 DWORD cwcLong = GetLongPathNameW(g_wszSupLibHardenedExePath, wszLong, RT_ELEMENTS(wszLong));
5348 memcpy(g_wszSupLibHardenedExePath, wszLong, (cwcLong + 1) * sizeof(RTUTF16));
5353 HANDLE hFile = CreateFileW(g_wszSupLibHardenedExePath, GENERIC_READ, FILE_SHARE_READ, NULL /*pSecurityAttributes*/,
5364 "NtQueryObject -> %#x (on %ls)\n", rcNt, g_wszSupLibHardenedExePath);