2023-08-16 11:28:46 +02:00
|
|
|
#ifndef IMPORTS_H
|
|
|
|
#define IMPORTS_H
|
|
|
|
|
|
|
|
#include <winternl.h>
|
|
|
|
#include <Windows.h>
|
|
|
|
#include <map>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
typedef NTSTATUS( WINAPI* pNtQueryInformationThread )( HANDLE, LONG, PVOID, ULONG, PULONG );
|
2023-09-05 18:04:06 +02:00
|
|
|
typedef BOOLEAN( NTAPI pRtlDosPathNameToNtPathName_U( PCWSTR, PVOID, PCWSTR*, PVOID ));
|
2023-08-16 11:28:46 +02:00
|
|
|
|
|
|
|
namespace usermode
|
|
|
|
{
|
|
|
|
class Imports
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
std::map<std::string, void*> ImportMap;
|
2023-08-17 10:45:50 +02:00
|
|
|
|
2023-08-16 11:28:46 +02:00
|
|
|
void* NtQueryInformationThread;
|
2023-08-17 10:45:50 +02:00
|
|
|
void* NtQueryVirtualMemory;
|
2023-09-05 18:04:06 +02:00
|
|
|
void* RtlDosPathNameToNtPathName_U;
|
2023-08-17 10:45:50 +02:00
|
|
|
|
2023-08-16 11:28:46 +02:00
|
|
|
Imports();
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|