Searched defs:pImport (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPR3HardenedMainImports-win.cpp369 static const char *supR3HardenedResolveImport(PSUPHNTIMPDLL pDll, PCSUPHNTIMPFUNC pImport, bool fReportErrors) argument
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, argument
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
[all...]
H A DSUPR3HardenedMain-win.cpp831 PVERIFIERCACHEIMPORT pImport = (PVERIFIERCACHEIMPORT)RTMemAllocZ(cbNeeded); local
832 if (pImport)
835 memcpy(pImport->szName, uBuf.szName, cbName);
838 pImport->cwcAltSearchDir = 0;
839 pImport->pwszAltSearchDir = NULL;
843 pImport->cwcAltSearchDir = cwcDir;
844 pImport->pwszAltSearchDir = (PRTUTF16)&pImport->szName[cbNameAligned];
845 memcpy(pImport->pwszAltSearchDir, pawcDir, cwcDir * sizeof(RTUTF16));
846 pImport
[all...]

Completed in 64 milliseconds