Lines Matching refs:dll
505 HMODULE dll; in win32_pathbyaddr() local
522 dll = LoadLibrary(TEXT(DLLNAME)); in win32_pathbyaddr()
523 if (dll == NULL) { in win32_pathbyaddr()
529 GetProcAddress(dll, "CreateToolhelp32Snapshot"); in win32_pathbyaddr()
531 FreeLibrary(dll); in win32_pathbyaddr()
538 GetProcAddress(dll, "CloseToolhelp32Snapshot"); in win32_pathbyaddr()
542 module_first = (MODULE32) GetProcAddress(dll, "Module32First"); in win32_pathbyaddr()
543 module_next = (MODULE32) GetProcAddress(dll, "Module32Next"); in win32_pathbyaddr()
551 FreeLibrary(dll); in win32_pathbyaddr()
560 FreeLibrary(dll); in win32_pathbyaddr()
570 FreeLibrary(dll); in win32_pathbyaddr()
604 FreeLibrary(dll); in win32_pathbyaddr()
610 HMODULE dll; in win32_globallookup() local
621 dll = LoadLibrary(TEXT(DLLNAME)); in win32_globallookup()
622 if (dll == NULL) { in win32_globallookup()
628 GetProcAddress(dll, "CreateToolhelp32Snapshot"); in win32_globallookup()
630 FreeLibrary(dll); in win32_globallookup()
637 GetProcAddress(dll, "CloseToolhelp32Snapshot"); in win32_globallookup()
641 module_first = (MODULE32) GetProcAddress(dll, "Module32First"); in win32_globallookup()
642 module_next = (MODULE32) GetProcAddress(dll, "Module32Next"); in win32_globallookup()
646 FreeLibrary(dll); in win32_globallookup()
655 FreeLibrary(dll); in win32_globallookup()
662 FreeLibrary(dll); in win32_globallookup()
668 FreeLibrary(dll); in win32_globallookup()