Lines Matching refs:pImport
369 static const char *supR3HardenedResolveImport(PSUPHNTIMPDLL pDll, PCSUPHNTIMPFUNC pImport, bool fReportErrors)
385 int iDiff = strcmp(pszExpName, pImport->pszName);
403 *pImport->ppfnImport = (PFNRT)&pDll->pbImageBase[offExport];
417 if (!pImport->fOptional)
419 "%ls: Failed to resolve '%s'.", pDll->pwszName, pImport->pszName);
420 *pImport->ppfnImport = NULL;
425 static void supR3HardenedDirectSyscall(PSUPHNTIMPDLL pDll, PCSUPHNTIMPFUNC pImport, PCSUPHNTIMPSYSCALL pSyscall,
438 int rc = RTLdrGetSymbolEx(pLdrEntry->hLdrMod, pbBits, (uintptr_t)pDll->pbImageBase, UINT32_MAX, pImport->pszName, &uValue);
442 "%s: RTLdrGetSymbolEx failed on %s: %Rrc", pDll->pszName, pImport->pszName, rc);
473 *pImport->ppfnImport = pSyscall->pfnType1;
521 *pImport->ppfnImport = pSyscall->pfnType1;
535 *pImport->ppfnImport = pSyscall->pfnType2;
548 pDll->pwszName, pImport->pszName, &abCopy[0]);