summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2022-11-12 23:11:36 +0000
committermidipix <writeonce@midipix.org>2022-11-13 00:04:13 +0000
commit3b05e82a2c5d529cb383a5c06b509883dc59d628 (patch)
treed86718a78a99a592ae1abb269b4028785e2376a9 /include
parent065693d86b3cda3ebfd59b5fbf240d67fe743f9d (diff)
downloadntapi-3b05e82a2c5d529cb383a5c06b509883dc59d628.tar.bz2
ntapi-3b05e82a2c5d529cb383a5c06b509883dc59d628.tar.xz
__ntapi_tt_get_system_info_snapshot(): eliminate the buffer's helper struct.
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_sysinfo.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/ntapi/nt_sysinfo.h b/include/ntapi/nt_sysinfo.h
index c941a0b..305095d 100644
--- a/include/ntapi/nt_sysinfo.h
+++ b/include/ntapi/nt_sysinfo.h
@@ -210,14 +210,8 @@ typedef enum _nt_debug_control_code {
#define NT_FLG_SYSTEM_OBJECT_SINGLE_HANDLE_ENTRY (uint32_t)0x40
-typedef struct _nt_system_information_buffer {
- size_t count;
- size_t mark;
-} nt_system_information_buffer;
-
-
typedef struct _nt_system_information_snapshot {
- nt_system_information_buffer * buffer;
+ void * buffer;
void * pcurrent;
size_t info_len;
size_t max_len;