Searched refs:hPsapi (Results 1 – 1 of 1) sorted by relevance
642 HINSTANCE hPsapi; in GetModuleListPSAPI() local658 hPsapi = LoadLibrary(_T("psapi.dll")); in GetModuleListPSAPI()659 if (hPsapi == NULL) in GetModuleListPSAPI()662 pEPM = (tEPM)GetProcAddress(hPsapi, "EnumProcessModules"); in GetModuleListPSAPI()663 pGMFNE = (tGMFNE)GetProcAddress(hPsapi, "GetModuleFileNameExA"); in GetModuleListPSAPI()664 pGMBN = (tGMFNE)GetProcAddress(hPsapi, "GetModuleBaseNameA"); in GetModuleListPSAPI()665 pGMI = (tGMI)GetProcAddress(hPsapi, "GetModuleInformation"); in GetModuleListPSAPI()669 FreeLibrary(hPsapi); in GetModuleListPSAPI()709 if (hPsapi != NULL) in GetModuleListPSAPI()710 FreeLibrary(hPsapi); in GetModuleListPSAPI()