[NDK][KMTESTS] Move the LOGICAL type definition to NDK

The LOGICAL (32-bit boolean) type is already defined for kernel-mode
in the XDK/DDK ntdef.h header. Add the type in the NDK for usage in
user-mode NT code also.

The definition present in kmt_platform.h can now be removed, since
it can now use the one from the NDK.
This commit is contained in:
Hermès Bélusca-Maïto
2025-08-25 22:50:09 +02:00
parent 186404274c
commit e250b3fd01
2 changed files with 2 additions and 1 deletions

View File

@@ -51,7 +51,6 @@
#define ok_irql(i)
#define KIRQL int
typedef const UCHAR CUCHAR, *PCUCHAR;
typedef ULONG LOGICAL, *PLOGICAL;
#undef KeRaiseIrql
#define KeRaiseIrql(new, old) *(old) = 123

View File

@@ -132,6 +132,8 @@ typedef LONG KPRIORITY;
//
// Basic NT Types
//
typedef ULONG LOGICAL, *PLOGICAL;
#if !defined(_NTSECAPI_H) && !defined(_SUBAUTH_H) && !defined(_NTSECAPI_)
#if !defined(__BCRYPT_H__) && !defined(__WINE_BCRYPT_H)