Lines Matching refs:hFake
271 * @param hFake The fake process handle.
274 static int rtDbgModDbgHelpCopyLineNumbers(PRTDBGMODINT pMod, RTDBGMOD hCnt, HANDLE hFake, uint64_t uModAddr)
285 if (SymEnumLinesW(hFake, uModAddr, NULL /*pszObj*/, NULL /*pszFile*/, rtDbgModDbgHelpCopyLineNumberCallback, &Args))
340 * @param hFake The fake process handle.
343 static int rtDbgModDbgHelpCopySymbols(PRTDBGMODINT pMod, RTDBGMOD hCnt, HANDLE hFake, uint64_t uModAddr)
350 if (SymEnumSymbols(hFake, uModAddr, NULL, rtDbgModDbgHelpCopySymbolsCallback, &Args))
415 HANDLE hFake;
417 hFake = (HANDLE)(uintptr_t)ASMAtomicIncU32(&s_uFakeHandle);
418 while (hFake == NULL || hFake == INVALID_HANDLE_VALUE);
421 if (SymInitialize(hFake, NULL /*SearchPath*/, FALSE /*fInvalidProcess*/))
429 uint64_t uModAddr = SymLoadModuleExW(hFake, NULL /*hFile*/, pwszDbgFile, NULL /*pszModName*/,
433 rc = rtDbgModDbgHelpCopySymbols(pMod, hCnt, hFake, uModAddr);
435 rc = rtDbgModDbgHelpCopyLineNumbers(pMod, hCnt, hFake, uModAddr);
445 SymUnloadModule64(hFake, uModAddr);
458 BOOL fRc2 = SymCleanup(hFake); Assert(fRc2); NOREF(fRc2);