ntregapi.h shows the definition of _KEY_VALUE_LAYER_INFORMATION to be: typedef struct _KEY_VALUE_LAYER_INFORMATION { ULONG IsTombstone; ULONG Reserved; } KEY_VALUE_LAYER_INFORMATION, *PKEY_VALUE_LAYER_INFORMATION; but the definition in wdm.h shows it to be : typedef struct _KEY_VALUE_LAYER_INFORMATI...
the definition of PROCESS_MITIGATION_POLICY_INFORMATION does not include the PROCESS_MITIGATION_DEP_POLICY policy nor the PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY and PROCESS_MITIGATION_REDIRECTION_TRUST_POLICY. Is there some reason for PROCESS_MITIGATION_DEP_POLICY to not be included or was it s...
in ntexapi.h the structures _SYSTEM_QUERY_TIME_ADJUST_INFORMATION_PRECISE and _SYSTEM_SET_TIME_ADJUST_INFORMATION_PRECISE are defined but, it is not clear what API uses them. from a bit of research, I am _guessing_ that they are used by NtQuerySystemInformation and NtSetSystemInformation respectivel...
In wdm.h this enumeration goes by the name _PARTITION_INFORMATION_CLASS and declares two (2) elements not present in ntmmapi.h in wdm.h, the definition is as follows: typedef enum _PARTITION_INFORMATION_CLASS { SystemMemoryPartitionInformation = 0, SystemMemoryPartitionDedicatedMemoryInformation = 9...
NtManagePartition number of parameters declared in ntmmapi.h does not match the number of parameters in the wdm.h defintion. in wdm.h, the prototype is as follows: _Must_inspect_result_ __kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtManagePartition ( _In_ HANDLE TargetHandle, _In_opt_ HANDLE SourceHan...
In ntpebteb.h, the field "BOOLEAN UnalignedLoadStoreExceptions" in the definition of the TEB structure appears as applicable to both, the 32bit and 64bit TEB. I believe that field applies only to the 64bit definition. see Geoff Chappell's definition of the TEB at https://www.geoffchappell....
In RtlRunDecodeUnicodeString, the disposition of the second parameter (the string to be decoded) is "_inout_". The current definition in ntrtl.h shows it as just "_in_"
I mentioned SP1 because I don't know if it is or isn't available in the original Win 7. It may or may not be, I don't know at this time, either way, it is available before Win 8.