mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
[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:
@@ -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
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user