[NTOS:EX] Create a stub for SystemModuleInformationEx sysinfo class

The stub returns STATUS_INVALID_INFO_CLASS rather than STATUS_NOT_IMPLEMENTED.
This is a temporary measure to indicate to ntdll_winetest that this system information class is not implemented and prevent the test from crashing.
This commit is contained in:
Timo Kreuzer
2026-07-03 17:04:11 +00:00
parent c6410fb0c2
commit 7955690ad7
+8
View File
@@ -2884,6 +2884,13 @@ QSI_DEF(SystemFirmwareTableInformation)
return Status;
}
/* Class 77 - Extended module information */
QSI_DEF(SystemModuleInformationEx)
{
/* For now return STATUS_INVALID_INFO_CLASS to avoid crashing in wine tests */
return STATUS_INVALID_INFO_CLASS;
}
/* Class 105 - Processor Brand String */
QSI_DEF(SystemProcessorBrandString)
{
@@ -3014,6 +3021,7 @@ CallQS[] =
SI_QX(SystemFirmwareTableInformation),
// Vista and later
SI_QX(SystemModuleInformationEx),
SI_QX(SystemProcessorBrandString),
};