Here is a basic stand-alone test program, which I should probably learn how to implement into the standard testing array.
On my test Windows 7 system with a single processor (4 cores), it outputs the following:
Testing NtQuerySystemInformationSystemNumaHighestNodeNumber = 0x37, ...): ... with invalid size returned c0000004 ... with valid size returned 0, HighestNodeNumber = 0, ResultLength = 4
Testing GetNumaHighestNodeNumber: ... returned 1, HighestNodeNumber = 0