Searched refs:ntdll (Results 1 – 4 of 4) sorted by relevance
152 HMODULE ntdll; in SetProcessUserModeIOPL() local156 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()
673 HMODULE ntdll; in init_physmem_ntdll() local677 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()
120 HMODULE ntdll; in win32_sysdbg_setup() local127 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()
355 HMODULE ntdll; in win32_change_error_mode() local372 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()