Replaced value with macro

This commit is contained in:
Benjamin Höglinger-Stelzer 2023-07-01 04:42:57 +02:00
parent 7392917f61
commit 22ef4d0685

View File

@ -23,7 +23,7 @@ typedef struct _SYSTEM_MODULE_INFORMATION_ENTRY
typedef struct _SYSTEM_MODULE_INFORMATION typedef struct _SYSTEM_MODULE_INFORMATION
{ {
ULONG Count; ULONG Count;
SYSTEM_MODULE_INFORMATION_ENTRY Module[1]; SYSTEM_MODULE_INFORMATION_ENTRY Module[ANYSIZE_ARRAY];
} SYSTEM_MODULE_INFORMATION, * PSYSTEM_MODULE_INFORMATION; } SYSTEM_MODULE_INFORMATION, * PSYSTEM_MODULE_INFORMATION;
// Function prototype for ZwQuerySystemInformation // Function prototype for ZwQuerySystemInformation