mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[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:
@@ -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),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user