在 2020/12/17 10:09, Alex Henrie 写道: > Signed-off-by: Alex Henrie <alexhenri...@gmail.com> > --- > This field is the current number of processors in the system plus the > number of processors that could be added without rebooting. > > https://www.geoffchappell.com/studies/windows/km/ntoskrnl/api/ex/sysinfo/processor.htm > --- > mingw-w64-headers/include/winternl.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >
That doesn't look like official documentation. And because it removes a name which could be a breakage, doesit make more sense to use a union instead, like this? ``` __C89_NAMELESS union { USHORT Unknown; USHORT MaximumProcessors; } __C89_NAMELESSUNIONNAME; ``` -- Best regards, LH_Mouse
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public