mirror of
https://github.com/donnaskiez/ac.git
synced 2024-11-21 22:24:08 +01:00
26 lines
No EOL
539 B
C++
26 lines
No EOL
539 B
C++
#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);
|
|
typedef BOOLEAN(NTAPI pRtlDosPathNameToNtPathName_U(PCWSTR, PVOID, PCWSTR*, PVOID));
|
|
|
|
namespace usermode {
|
|
class Imports
|
|
{
|
|
public:
|
|
std::map<std::string, void*> ImportMap;
|
|
|
|
void* NtQueryInformationThread;
|
|
void* NtQueryVirtualMemory;
|
|
void* RtlDosPathNameToNtPathName_U;
|
|
|
|
Imports();
|
|
};
|
|
}
|
|
|
|
#endif |