Lines Matching refs:hLibrary
111 HMODULE hLibrary = GetModuleHandle("KERNEL32.DLL"); in _CreateToolhelp32Snapshot() local
113 if ( hLibrary ) in _CreateToolhelp32Snapshot()
114 lpProc = reinterpret_cast< FN_PROC >(GetProcAddress( hLibrary, "CreateToolhelp32Snapshot" )); in _CreateToolhelp32Snapshot()
132 HMODULE hLibrary = GetModuleHandle("KERNEL32.DLL"); in _Process32First() local
134 if ( hLibrary ) in _Process32First()
135 lpProc = reinterpret_cast< FN_PROC >(GetProcAddress( hLibrary, "Process32First" )); in _Process32First()
153 HMODULE hLibrary = GetModuleHandle("KERNEL32.DLL"); in _Process32Next() local
155 if ( hLibrary ) in _Process32Next()
156 lpProc = reinterpret_cast< FN_PROC >(GetProcAddress( hLibrary, "Process32Next" )); in _Process32Next()
206 HMODULE hLibrary = LoadLibrary("PSAPI.DLL"); in _GetModuleFileNameExA() local
208 if ( hLibrary ) in _GetModuleFileNameExA()
209 lpProc = reinterpret_cast< FN_PROC >(GetProcAddress( hLibrary, "GetModuleFileNameExA" )); in _GetModuleFileNameExA()