Windows: Add missing defines in Tcdefs.h

This commit is contained in:
Mounir IDRASSI 2019-12-06 18:01:18 +01:00
parent 5a56462959
commit 7f1e21e6a1
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F

View File

@ -263,6 +263,10 @@ extern ULONG AllocTag;
typedef int BOOL; typedef int BOOL;
#endif #endif
#ifndef BOOLEAN
typedef unsigned char BOOLEAN;
#endif
#ifndef TRUE #ifndef TRUE
#define TRUE 1 #define TRUE 1
#endif #endif
@ -289,6 +293,8 @@ typedef NTSTATUS (NTAPI *ExGetFirmwareEnvironmentVariableFn) (
PULONG Attributes PULONG Attributes
); );
typedef BOOLEAN (NTAPI *KeAreAllApcsDisabledFn) ();
extern NTSTATUS NTAPI KeSaveExtendedProcessorState ( extern NTSTATUS NTAPI KeSaveExtendedProcessorState (
__in ULONG64 Mask, __in ULONG64 Mask,
PXSTATE_SAVE XStateSave PXSTATE_SAVE XStateSave
@ -299,6 +305,9 @@ extern VOID NTAPI KeRestoreExtendedProcessorState (
PXSTATE_SAVE XStateSave PXSTATE_SAVE XStateSave
); );
extern BOOLEAN VC_KeAreAllApcsDisabled (VOID);
#else /* !TC_WINDOWS_DRIVER */ #else /* !TC_WINDOWS_DRIVER */
#if !defined(_UEFI) #if !defined(_UEFI)
#define TCalloc malloc #define TCalloc malloc