diff options
| author | auth12 <[email protected]> | 2020-07-27 16:29:29 -0700 |
|---|---|---|
| committer | auth12 <[email protected]> | 2020-07-27 16:29:29 -0700 |
| commit | 9354a3bd08b63fd5f79f47f186876d3f3611828a (patch) | |
| tree | ec7e2d524f61e710c53fd5a45df4faf8a3565d9d /client/src/util/native.h | |
| parent | Fixed support for colored text. (diff) | |
| download | loader-9354a3bd08b63fd5f79f47f186876d3f3611828a.tar.xz loader-9354a3bd08b63fd5f79f47f186876d3f3611828a.zip | |
Imported modules are now manual mapped.
Diffstat (limited to 'client/src/util/native.h')
| -rw-r--r-- | client/src/util/native.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/client/src/util/native.h b/client/src/util/native.h index dada567..44b8ab6 100644 --- a/client/src/util/native.h +++ b/client/src/util/native.h @@ -340,6 +340,38 @@ namespace native { SYSTEM_HANDLE_TABLE_ENTRY_INFO Handles[1]; } SYSTEM_HANDLE_INFORMATION, *PSYSTEM_HANDLE_INFORMATION; + struct API_SET_VALUE_ENTRY { + ULONG Flags; + ULONG NameOffset; + ULONG NameLength; + ULONG ValueOffset; + ULONG ValueLength; + }; + + struct API_SET_VALUE_ARRAY { + ULONG Flags; + ULONG NameOffset; + ULONG Unk; + ULONG NameLength; + ULONG DataOffset; + ULONG Count; + }; + + struct API_SET_NAMESPACE_ENTRY { + ULONG Limit; + ULONG Size; + }; + + struct API_SET_NAMESPACE_ARRAY { + ULONG Version; + ULONG Size; + ULONG Flags; + ULONG Count; + ULONG Start; + ULONG End; + ULONG Unk[2]; + }; + using NtQuerySystemInformation = NTSTATUS(__stdcall*)(native::SYSTEM_INFORMATION_CLASS, PVOID, SIZE_T, PULONG); using NtOpenProcess = NTSTATUS(__stdcall*)(PHANDLE, ACCESS_MASK, POBJECT_ATTRIBUTES, CLIENT_ID*); using NtReadVirtualMemory = NTSTATUS(__stdcall*)(HANDLE, PVOID, PVOID, SIZE_T, PULONG); |