Home
last modified time | relevance | path

Searched refs:ntdll (Results 1 – 4 of 4) sorted by relevance

/pciutils/lib/
H A Di386-io-windows.h152 HMODULE ntdll; in SetProcessUserModeIOPL() local
156 ntdll = GetModuleHandle(TEXT("ntdll.dll")); in SetProcessUserModeIOPL()
157 if (!ntdll) in SetProcessUserModeIOPL()
164 Arg[0] = (LPVOID)GetProcAddress(ntdll, "NtSetInformationProcess"); in SetProcessUserModeIOPL()
172 Arg[1] = (LPVOID)GetProcAddress(ntdll, "RtlNtStatusToDosError"); in SetProcessUserModeIOPL()
H A Dphysmem-windows.c673 HMODULE ntdll; in init_physmem_ntdll() local
677 ntdll = GetModuleHandle(TEXT("ntdll.dll")); in init_physmem_ntdll()
678 if (!ntdll) in init_physmem_ntdll()
685 physmem->RtlNtStatusToDosError = (LPVOID)GetProcAddress(ntdll, "RtlNtStatusToDosError"); in init_physmem_ntdll()
687 physmem->NtOpenSection = (LPVOID)GetProcAddress(ntdll, "NtOpenSection"); in init_physmem_ntdll()
695 physmem->NtMapViewOfSection = (LPVOID)GetProcAddress(ntdll, "NtMapViewOfSection"); in init_physmem_ntdll()
703 physmem->NtUnmapViewOfSection = (LPVOID)GetProcAddress(ntdll, "NtUnmapViewOfSection"); in init_physmem_ntdll()
H A Dwin32-sysdbg.c120 HMODULE ntdll; in win32_sysdbg_setup() local
127 ntdll = GetModuleHandle(TEXT("ntdll.dll")); in win32_sysdbg_setup()
128 if (!ntdll) in win32_sysdbg_setup()
134 NtSystemDebugControl = (LPVOID)GetProcAddress(ntdll, "NtSystemDebugControl"); in win32_sysdbg_setup()
H A Dwin32-helpers.c355 HMODULE ntdll; in win32_change_error_mode() local
372 ntdll = GetModuleHandle(TEXT("ntdll.dll")); in win32_change_error_mode()
373 if (ntdll) in win32_change_error_mode()
374 …MySetThreadErrorMode = (SetThreadErrorModeProt)(void(*)(void))GetProcAddress(ntdll, "RtlSetThreadE… in win32_change_error_mode()