mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[NTOS:EX] Implement query of SystemRecommendedSharedDataAlignment
This commit is contained in:
+11
-3
@@ -2455,9 +2455,17 @@ QSI_DEF(SystemExtendedProcessInformation)
|
||||
/* Class 58 - Recommended shared data alignment */
|
||||
QSI_DEF(SystemRecommendedSharedDataAlignment)
|
||||
{
|
||||
/* FIXME */
|
||||
DPRINT1("NtQuerySystemInformation - SystemRecommendedSharedDataAlignment not implemented\n");
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
PULONG Alignment = (PULONG)Buffer;
|
||||
|
||||
/* Check user buffer's size */
|
||||
*ReqSize = sizeof(ULONG);
|
||||
if (Size < *ReqSize)
|
||||
{
|
||||
return STATUS_INFO_LENGTH_MISMATCH;
|
||||
}
|
||||
|
||||
*Alignment = KeGetRecommendedSharedDataAlignment();
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/* Class 60 - NUMA memory information */
|
||||
|
||||
Reference in New Issue
Block a user