Searched refs:cachedHM (Results 1 – 1 of 1) sorted by relevance
483 static HMODULE cachedHM = 0; in ReplaceFunctionA() local488 if (!cachedHM || strncmp(dllName, cachedName, MAX_PATH) != 0) in ReplaceFunctionA()495 cachedHM = 0; in ReplaceFunctionA()499 cachedHM = hModule; in ReplaceFunctionA()503 FARPROC inpFunc = GetProcAddress(cachedHM, funcName); in ReplaceFunctionA()523 static HMODULE cachedHM = 0; in ReplaceFunctionW() local528 if (!cachedHM || wcsncmp(dllName, cachedName, MAX_PATH) != 0) in ReplaceFunctionW()535 cachedHM = 0; in ReplaceFunctionW()539 cachedHM = hModule; in ReplaceFunctionW()543 FARPROC inpFunc = GetProcAddress(cachedHM, funcName); in ReplaceFunctionW()