Lines Matching defs:UniStr

703     uint32_t cwcWinDir = (g_System32NtPath.UniStr.Length - sizeof(L"System32")) / sizeof(WCHAR);
708 if (memcmp(pwszPath, g_System32NtPath.UniStr.Buffer, cwcWinDir * sizeof(WCHAR)))
765 uint32_t cwcOther = g_System32NtPath.UniStr.Length / sizeof(WCHAR);
766 if (supHardViUtf16PathStartsWithEx(pwszName, cwcName, g_System32NtPath.UniStr.Buffer, cwcOther, true /*fCheckSlash*/))
820 cwcOther = g_WinSxSNtPath.UniStr.Length / sizeof(WCHAR);
821 if (supHardViUtf16PathStartsWithEx(pwszName, cwcName, g_WinSxSNtPath.UniStr.Buffer, cwcOther, true /*fCheckSlash*/))
846 cwcOther = g_System32NtPath.UniStr.Length / sizeof(WCHAR); /* ASSUMES System32 is called System32. */
882 g_ProgramFilesNtPath.UniStr.Buffer, g_ProgramFilesNtPath.UniStr.Length,
885 g_CommonFilesNtPath.UniStr.Buffer, g_CommonFilesNtPath.UniStr.Length,
889 g_ProgramFilesX86NtPath.UniStr.Buffer, g_ProgramFilesX86NtPath.UniStr.Length,
892 g_CommonFilesX86NtPath.UniStr.Buffer, g_CommonFilesX86NtPath.UniStr.Length,
1120 g_System32NtPath.UniStr.Buffer, g_System32NtPath.UniStr.Length / sizeof(WCHAR),
1124 g_WinSxSNtPath.UniStr.Buffer, g_WinSxSNtPath.UniStr.Length / sizeof(WCHAR),
1279 UNICODE_STRING UniStr;
1290 uBuf.UniStr.Buffer[uBuf.UniStr.Length / sizeof(WCHAR)] = '\0';
1292 uBuf.UniStr.Buffer = (WCHAR *)L"TODO3";
1294 return supHardenedWinVerifyImageByHandle(hFile, uBuf.UniStr.Buffer, fFlags, false /*fAvoidWinVerifyTrust*/,
1594 if (s_aPaths[i].pNtPath->UniStr.Length > 0)
1597 s_aPaths[i].pNtPath->UniStr.Buffer[s_aPaths[i].pNtPath->UniStr.Length / sizeof(WCHAR)] = '\0';
1599 s_aPaths[i].pNtPath->UniStr.Buffer));
1631 s_aPaths[i].pNtPath->UniStr.Length = 0;
1632 s_aPaths[i].pNtPath->UniStr.Buffer = NULL;
1644 s_aPaths[i].pNtPath->UniStr.Length = 0;
1645 s_aPaths[i].pNtPath->UniStr.Buffer = NULL;
1671 SUP_DPRINTF(("System32: %ls\n", g_System32NtPath.UniStr.Buffer));
1672 SUP_DPRINTF(("WinSxS: %ls\n", g_WinSxSNtPath.UniStr.Buffer));
2126 int rc = supR3HardNtViCallWinVerifyTrust(NULL, g_SupLibHardenedExeNtPath.UniStr.Buffer, 0,
2563 uint32_t cwcOther = g_System32NtPath.UniStr.Length / sizeof(WCHAR);
2564 if (supHardViUtf16PathStartsWithEx(pwszName, cwcName, g_System32NtPath.UniStr.Buffer, cwcOther, true /*fCheckSlash*/))