Lines Matching defs:pszFilename
759 * @param pszFilename The filename.
763 static int supR3HardenedVerifySameFile(int iFile, const char *pszFilename, bool fFatal)
775 if (SUP_COMP_FILENAME(szName, pszFilename))
785 && GetFullPathName(pszFilename, RT_ELEMENTS(szName), &szName[0], &pszIgnored))
792 && realpath(pszFilename, szName) != NULL)
802 pszFilename, szName);
824 * @param pszFilename The filename.
828 DECLHIDDEN(int) supR3HardenedVerifyFixedFile(const char *pszFilename, bool fFatal)
833 const char *pszName = supR3HardenedPathFilename(pszFilename);
837 int rc = supR3HardenedVerifySameFile(iFile, pszFilename, fFatal);
1647 * @param pszFilename The file to verify.
1657 DECLHIDDEN(int) supR3HardenedVerifyFile(const char *pszFilename, RTHCUINTPTR hNativeFile,
1664 int rc = supR3HardenedVerifyPathSanity(pszFilename, pErrInfo, &Info);
1669 "The file path specifies a directory: '", pszFilename, "'");
1708 rc = RTStrToUtf16(pszFilename, &pwszPath);
1715 rc = RTErrInfoSetF(pErrInfo, rc, "Error converting '%s' to UTF-16: %Rrc", pszFilename, rc);
1730 const char *pszSuffix = RTPathSuffix(pszFilename);
1746 "Error %u trying to open (or duplicate handle for) '%s'", RtlGetLastWin32Error(), pszFilename);