mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 11:33:31 +08:00
[SDK] Fix NT6 building issues and improve SDK NT6 headers.
CORE-12596
This commit is contained in:
parent
44023cb7d7
commit
420c0360ac
@ -556,7 +556,7 @@ HEADER("Data access macros"),
|
||||
RAW("#define USERDATA ds:[HEX(0FFDF0000)]"),
|
||||
RAW("#define PCR fs:"),
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN8)
|
||||
HEADER("KNODE offsets"),
|
||||
OFFSET(NdIdleCpuSet, KNODE, IdleCpuSet),
|
||||
#endif
|
||||
|
@ -125,7 +125,7 @@ RAW("#else"),
|
||||
{TYPE_CONSTANT, "SYNCH_LEVEL", (IPI_LEVEL - 2)},
|
||||
RAW("#endif"),
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN8)
|
||||
HEADER("Entropy Timing Constants"),
|
||||
CONSTANT(KENTROPY_TIMING_INTERRUPTS_PER_BUFFER),
|
||||
CONSTANT(KENTROPY_TIMING_BUFFER_MASK),
|
||||
@ -797,7 +797,9 @@ SIZE(KernelThreadObjectLength, KTHREAD),
|
||||
HEADER("KTIMER"),
|
||||
OFFSET(TiType, KTIMER, Header.Type),
|
||||
OFFSET(TiSize, KTIMER, Header.Size),
|
||||
OFFSET(TiInserted, KTIMER, Header.Inserted), // not in win 10
|
||||
#if (NTDDI_VERSION < NTDDI_WIN7)
|
||||
OFFSET(TiInserted, KTIMER, Header.Inserted),
|
||||
#endif
|
||||
OFFSET(TiSignalState, KTIMER, Header.SignalState),
|
||||
OFFSET(TiDueTime, KTIMER, DueTime),
|
||||
OFFSET(TiTimerListEntry, KTIMER, TimerListEntry),
|
||||
|
@ -525,6 +525,7 @@ RxGetFileSizeWithLock(
|
||||
_Out_ PLONGLONG FileSize);
|
||||
|
||||
#if (_WIN32_WINNT >= 0x0600)
|
||||
PFCB
|
||||
RxCreateNetFcb(
|
||||
_In_ PRX_CONTEXT RxContext,
|
||||
_In_ PIRP Irp,
|
||||
|
@ -627,6 +627,15 @@ Author:
|
||||
#define EXCEPTION_NPX_ERROR 0x010
|
||||
#define EXCEPTION_ALIGNMENT_CHECK 0x011
|
||||
|
||||
//
|
||||
// Hypervisor Enlightenment Definitions
|
||||
//
|
||||
#define HV_MMU_USE_HYPERCALL_FOR_ADDRESS_SWITCH 0x01
|
||||
#define HV_MMU_USE_HYPERCALL_FOR_LOCAL_FLUSH 0x02
|
||||
#define HV_MMU_USE_HYPERCALL_FOR_REMOTE_FLUSH 0x04
|
||||
#define HV_APIC_ENLIGHTENED 0x10
|
||||
#define HV_KE_USE_HYPERCALL_FOR_LONG_SPIN_WAIT 0x40
|
||||
|
||||
//
|
||||
// VDM State Pointer
|
||||
//
|
||||
|
@ -344,7 +344,7 @@ typedef struct STRUCT(_TEB)
|
||||
#endif
|
||||
PTR(PVOID) WinSockData;
|
||||
ULONG GdiBatchCount;
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN10)
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN7)
|
||||
union
|
||||
{
|
||||
PROCESSOR_NUMBER CurrentIdealProcessor;
|
||||
|
@ -4352,7 +4352,7 @@ typedef HBITMAP
|
||||
#endif /* (NTDDI_VERSION >= NTDDI_WIN8) */
|
||||
_Out_ HANDLE* phSharedSurface);
|
||||
typedef FN_DrvCreateDeviceBitmapEx *PFN_DrvCreateDeviceBitmapEx;
|
||||
extern DrvCreateDeviceBitmapEx DrvCreateDeviceBitmapEx
|
||||
extern FN_DrvCreateDeviceBitmapEx DrvCreateDeviceBitmapEx;
|
||||
|
||||
typedef VOID
|
||||
(APIENTRY FN_DrvDeleteDeviceBitmapEx)(
|
||||
|
@ -3446,6 +3446,14 @@ typedef struct tagSOUNDSENTRYW {
|
||||
DWORD iWindowsEffectOrdinal;
|
||||
} SOUNDSENTRYW,*LPSOUNDSENTRYW;
|
||||
|
||||
#if (_WIN32_WINNT >= 0x0600)
|
||||
typedef struct tagAUDIODESCRIPTION {
|
||||
UINT cbSize;
|
||||
BOOL Enabled;
|
||||
LCID Locale;
|
||||
} AUDIODESCRIPTION, *LPAUDIODESCRIPTION;
|
||||
#endif
|
||||
|
||||
typedef struct tagSTICKYKEYS {
|
||||
DWORD cbSize;
|
||||
DWORD dwFlags;
|
||||
|
@ -880,7 +880,7 @@ WSCGetProviderInfo(
|
||||
_In_ LPGUID lpProviderId,
|
||||
_In_ WSC_PROVIDER_INFO_TYPE InfoType,
|
||||
_Out_writes_bytes_to_(*InfoSize, *InfoSize) PBYTE Info,
|
||||
_Inout_ *InfoSize,
|
||||
_Inout_ size_t *InfoSize,
|
||||
_In_ DWORD Flags,
|
||||
_Out_ LPINT lpErrno);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user