Lines Matching refs:pName

1599  * @param   pName               The name of the module.
1604 supR3HardenedMonitor_LdrLoadDll(PWSTR pwszSearchPath, PULONG pfFlags, PUNICODE_STRING pName, PHANDLE phMod)
1607 PUNICODE_STRING const pOrgName = pName;
1628 if (!pName || pName->Length == 0)
1631 SUP_DPRINTF(("supR3HardenedMonitor_LdrLoadDll: returns rcNt=%#x (pName=%p)\n", STATUS_INVALID_PARAMETER, pName));
1635 /*SUP_DPRINTF(("supR3HardenedMonitor_LdrLoadDll: pName=%.*ls *pfFlags=%#x pwszSearchPath=%p:%ls\n",
1636 (unsigned)pName->Length / sizeof(WCHAR), pName->Buffer, pfFlags ? *pfFlags : UINT32_MAX, pwszSearchPath,
1642 if (pName->Length > 256 * sizeof(WCHAR))
1644 supR3HardenedError(VINF_SUCCESS, false, "supR3HardenedMonitor_LdrLoadDll: too long name: %#x bytes\n", pName->Length);
1663 if ( ( pName->Length >= 4 * sizeof(WCHAR)
1664 && RT_C_IS_ALPHA(pName->Buffer[0])
1665 && pName->Buffer[1] == ':'
1666 && RTPATH_IS_SLASH(pName->Buffer[2]) )
1667 || ( pName->Length >= 1 * sizeof(WCHAR)
1668 && RTPATH_IS_SLASH(pName->Buffer[1]) )
1672 pName,
1683 rcNt = supR3HardenedCopyRedirectionResult(wszPath, RT_ELEMENTS(wszPath), pUniStrResult, pName, &cwc);
1697 (unsigned)pName->Length / sizeof(WCHAR), pName->Buffer,
1699 pName = &ResolvedName;
1703 memcpy(wszPath, pName->Buffer, pName->Length);
1704 wszPath[pName->Length / sizeof(WCHAR)] = '\0';
1711 else if (supHardViUtf16PathStartsWithEx(pName->Buffer, pName->Length / sizeof(WCHAR),
1714 memcpy(wszPath, pName->Buffer, pName->Length);
1715 wszPath[pName->Length / sizeof(WCHAR)] = '\0';
1726 PCWCHAR pawcName = pName->Buffer;
1727 uint32_t cwcName = pName->Length / sizeof(WCHAR);
1768 pName,
1778 rcNt = supR3HardenedCopyRedirectionResult(wszPath, RT_ELEMENTS(wszPath), pUniStrResult, pName, &cwc);
1822 pName = &ResolvedName;
1876 if (pOrgName != pName)
1923 if (pOrgName != pName)
1924 SUP_DPRINTF(("supR3HardenedMonitor_LdrLoadDll: pName=%.*ls (Input=%.*ls, rcNtResolve=%#x) *pfFlags=%#x pwszSearchPath=%p:%ls [calling]\n",
1925 (unsigned)pName->Length / sizeof(WCHAR), pName->Buffer,
1930 SUP_DPRINTF(("supR3HardenedMonitor_LdrLoadDll: pName=%.*ls (rcNtResolve=%#x) *pfFlags=%#x pwszSearchPath=%p:%ls [calling]\n",
1931 (unsigned)pName->Length / sizeof(WCHAR), pName->Buffer, rcNtResolve,
1937 rcNt = g_pfnLdrLoadDllReal(pwszSearchPath, pfFlags, pName, phMod);
3833 InitializeObjectAttributes(&ObjAttrs, NULL /*pName*/, OBJ_INHERIT, NULL /*hRootDir*/, NULL /*pSecDesc*/);
3837 InitializeObjectAttributes(&ObjAttrs, NULL /*pName*/, OBJ_INHERIT, NULL /*hRootDir*/, NULL /*pSecDesc*/);