mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 23:46:50 +00:00
[PSDK]
Fix winnt.h include guard definition svn path=/trunk/; revision=56743
This commit is contained in:
parent
6f12cdf02c
commit
03bea4140f
|
@ -7,7 +7,7 @@
|
||||||
#include <objbase.h>
|
#include <objbase.h>
|
||||||
#else
|
#else
|
||||||
#define IUnknown void
|
#define IUnknown void
|
||||||
#if !defined(NT_BUILD_ENVIRONMENT) && !defined(_WINNT_H)
|
#if !defined(NT_BUILD_ENVIRONMENT) && !defined(_WINNT_)
|
||||||
#define CO_E_NOTINITIALIZED 0x800401F0L
|
#define CO_E_NOTINITIALIZED 0x800401F0L
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _WINNT_H
|
#ifndef _WINNT_
|
||||||
#define _WINNT_H
|
#define _WINNT_
|
||||||
|
|
||||||
#if !defined(__ROS_LONG64__)
|
#if !defined(__ROS_LONG64__)
|
||||||
#ifdef __WINESRC__
|
#ifdef __WINESRC__
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#define PAGE_SIZE 0x1000
|
#define PAGE_SIZE 0x1000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _WINNT_H
|
#ifndef _WINNT_
|
||||||
//
|
//
|
||||||
// IRQLs
|
// IRQLs
|
||||||
//
|
//
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
#define PCR ((KPCR * const)KIP0PCRADDRESS)
|
#define PCR ((KPCR * const)KIP0PCRADDRESS)
|
||||||
#define USERPCR ((volatile KPCR * const)USPCR)
|
#define USERPCR ((volatile KPCR * const)USPCR)
|
||||||
#define KeGetPcr() PCR
|
#define KeGetPcr() PCR
|
||||||
#ifndef _WINNT_H
|
#ifndef _WINNT_
|
||||||
#define SharedUserData ((KUSER_SHARED_DATA * const)KI_USER_SHARED_DATA)
|
#define SharedUserData ((KUSER_SHARED_DATA * const)KI_USER_SHARED_DATA)
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -124,7 +124,7 @@ typedef struct _CONTEXT {
|
||||||
//
|
//
|
||||||
// Processor Control Region
|
// Processor Control Region
|
||||||
//
|
//
|
||||||
#ifdef _WINNT_H
|
#ifdef _WINNT_
|
||||||
#define KIRQL ULONG
|
#define KIRQL ULONG
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -241,7 +241,7 @@ __fastcall
|
||||||
KfAcquireSpinLock(
|
KfAcquireSpinLock(
|
||||||
IN OUT ULONG_PTR* SpinLock);
|
IN OUT ULONG_PTR* SpinLock);
|
||||||
|
|
||||||
#ifndef _WINNT_H
|
#ifndef _WINNT_
|
||||||
//
|
//
|
||||||
// IRQL Support on ARM is similar to MIPS/ALPHA
|
// IRQL Support on ARM is similar to MIPS/ALPHA
|
||||||
//
|
//
|
||||||
|
|
|
@ -9,7 +9,7 @@ typedef [handle] LPWSTR PLSAPR_SERVER_NAME;
|
||||||
typedef [context_handle] PVOID LSAPR_HANDLE;
|
typedef [context_handle] PVOID LSAPR_HANDLE;
|
||||||
typedef LSAPR_HANDLE *PLSAPR_HANDLE;
|
typedef LSAPR_HANDLE *PLSAPR_HANDLE;
|
||||||
|
|
||||||
cpp_quote("#ifndef _WINNT_H")
|
cpp_quote("#ifndef _WINNT_")
|
||||||
typedef struct _LUID {
|
typedef struct _LUID {
|
||||||
DWORD LowPart;
|
DWORD LowPart;
|
||||||
LONG HighPart;
|
LONG HighPart;
|
||||||
|
@ -33,7 +33,7 @@ typedef struct _LSAPR_ACL {
|
||||||
[size_is(AclSize - 4)] BYTE Dummy1[*];
|
[size_is(AclSize - 4)] BYTE Dummy1[*];
|
||||||
} LSAPR_ACL, *PLSAPR_ACL;
|
} LSAPR_ACL, *PLSAPR_ACL;
|
||||||
|
|
||||||
cpp_quote("#ifndef _WINNT_H")
|
cpp_quote("#ifndef _WINNT_")
|
||||||
typedef WORD SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL;
|
typedef WORD SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
|
|
||||||
|
@ -282,7 +282,7 @@ typedef struct _POLICY_LSA_REPLICA_SRCE_INFO {
|
||||||
RPC_UNICODE_STRING ReplicaAccountName;
|
RPC_UNICODE_STRING ReplicaAccountName;
|
||||||
} POLICY_LSA_REPLICA_SRCE_INFO, *PPOLICY_LSA_REPLICA_SRCE_INFO;
|
} POLICY_LSA_REPLICA_SRCE_INFO, *PPOLICY_LSA_REPLICA_SRCE_INFO;
|
||||||
|
|
||||||
cpp_quote("#ifndef _WINNT_H")
|
cpp_quote("#ifndef _WINNT_")
|
||||||
typedef struct _QUOTA_LIMITS {
|
typedef struct _QUOTA_LIMITS {
|
||||||
INT64 PagedPoolLimit;
|
INT64 PagedPoolLimit;
|
||||||
INT64 NonPagedPoolLimit;
|
INT64 NonPagedPoolLimit;
|
||||||
|
|
|
@ -26,11 +26,11 @@ typedef signed int LONG32;
|
||||||
typedef signed __int64 LONG64;
|
typedef signed __int64 LONG64;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
typedef unsigned __int64 QWORD;
|
typedef unsigned __int64 QWORD;
|
||||||
cpp_quote("#ifndef _WINNT_H")
|
cpp_quote("#ifndef _WINNT_")
|
||||||
typedef short SHORT;
|
typedef short SHORT;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
typedef __int64 TIME;
|
typedef __int64 TIME;
|
||||||
cpp_quote("#ifndef _WINNT_H")
|
cpp_quote("#ifndef _WINNT_")
|
||||||
typedef char CHAR, *PCHAR;
|
typedef char CHAR, *PCHAR;
|
||||||
typedef unsigned char UCHAR, *PUCHAR;
|
typedef unsigned char UCHAR, *PUCHAR;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
|
@ -43,27 +43,27 @@ typedef unsigned short UINT16;
|
||||||
typedef unsigned int UINT32;
|
typedef unsigned int UINT32;
|
||||||
typedef unsigned __int64 UINT64;
|
typedef unsigned __int64 UINT64;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
cpp_quote("#ifndef _WINNT_H")
|
cpp_quote("#ifndef _WINNT_")
|
||||||
typedef unsigned long ULONG, *PULONG;
|
typedef unsigned long ULONG, *PULONG;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
cpp_quote("#ifndef _BASETSD_H")
|
cpp_quote("#ifndef _BASETSD_H")
|
||||||
typedef unsigned int ULONG32;
|
typedef unsigned int ULONG32;
|
||||||
typedef unsigned __int64 ULONG64;
|
typedef unsigned __int64 ULONG64;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
cpp_quote("#ifndef _WINNT_H")
|
cpp_quote("#ifndef _WINNT_")
|
||||||
typedef unsigned __int64 ULONGLONG;
|
typedef unsigned __int64 ULONGLONG;
|
||||||
typedef unsigned short USHORT;
|
typedef unsigned short USHORT;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
cpp_quote("#ifndef _WINDEF_H")
|
cpp_quote("#ifndef _WINDEF_H")
|
||||||
typedef unsigned short WORD, *PWORD, *LPWORD;
|
typedef unsigned short WORD, *PWORD, *LPWORD;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
cpp_quote("#ifndef _WINNT_H")
|
cpp_quote("#ifndef _WINNT_")
|
||||||
typedef long LONG, *PLONG;
|
typedef long LONG, *PLONG;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
cpp_quote("#ifndef _WINDEF_H")
|
cpp_quote("#ifndef _WINDEF_H")
|
||||||
typedef long *LPLONG;
|
typedef long *LPLONG;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
cpp_quote("#ifndef _WINNT_H")
|
cpp_quote("#ifndef _WINNT_")
|
||||||
typedef signed __int64 LONGLONG;
|
typedef signed __int64 LONGLONG;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ cpp_quote("#ifndef __wtypes_h__")
|
||||||
typedef double DOUBLE;
|
typedef double DOUBLE;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
|
|
||||||
cpp_quote("#ifndef _WINNT_H")
|
cpp_quote("#ifndef _WINNT_")
|
||||||
typedef BYTE BOOLEAN, *PBOOLEAN;
|
typedef BYTE BOOLEAN, *PBOOLEAN;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
cpp_quote("#ifndef _BASETSD_H")
|
cpp_quote("#ifndef _BASETSD_H")
|
||||||
|
@ -89,13 +89,13 @@ typedef ULONG_PTR SIZE_T;
|
||||||
typedef ULONG_PTR DWORD_PTR;
|
typedef ULONG_PTR DWORD_PTR;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
typedef DWORD NET_API_STATUS;
|
typedef DWORD NET_API_STATUS;
|
||||||
cpp_quote("#ifndef _WINNT_H")
|
cpp_quote("#ifndef _WINNT_")
|
||||||
typedef ULONGLONG DWORDLONG, *PDWORDLONG;
|
typedef ULONGLONG DWORDLONG, *PDWORDLONG;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
typedef DWORD HCALL;
|
typedef DWORD HCALL;
|
||||||
//typedef DWORD HRESULT;
|
//typedef DWORD HRESULT;
|
||||||
|
|
||||||
cpp_quote("#ifndef _WINNT_H")
|
cpp_quote("#ifndef _WINNT_")
|
||||||
typedef void *HANDLE;
|
typedef void *HANDLE;
|
||||||
typedef void /*VOID,*/ *PVOID;
|
typedef void /*VOID,*/ *PVOID;
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
|
@ -105,7 +105,7 @@ cpp_quote("#endif")
|
||||||
typedef [context_handle] void *PCONTEXT_HANDLE;
|
typedef [context_handle] void *PCONTEXT_HANDLE;
|
||||||
typedef PCONTEXT_HANDLE *PPCONTEXT_HANDLE;
|
typedef PCONTEXT_HANDLE *PPCONTEXT_HANDLE;
|
||||||
|
|
||||||
cpp_quote("#ifndef _WINNT_H")
|
cpp_quote("#ifndef _WINNT_")
|
||||||
typedef wchar_t WCHAR, *PWCHAR;
|
typedef wchar_t WCHAR, *PWCHAR;
|
||||||
cpp_quote("#if 0")
|
cpp_quote("#if 0")
|
||||||
typedef wchar_t UNICODE;
|
typedef wchar_t UNICODE;
|
||||||
|
|
|
@ -59,7 +59,7 @@ typedef struct _SAMPR_RETURNED_USTRING_ARRAY
|
||||||
[size_is(Count)] PRPC_UNICODE_STRING Element;
|
[size_is(Count)] PRPC_UNICODE_STRING Element;
|
||||||
} SAMPR_RETURNED_USTRING_ARRAY, *PSAMPR_RETURNED_USTRING_ARRAY;
|
} SAMPR_RETURNED_USTRING_ARRAY, *PSAMPR_RETURNED_USTRING_ARRAY;
|
||||||
|
|
||||||
cpp_quote("#ifndef _WINNT_H")
|
cpp_quote("#ifndef _WINNT_")
|
||||||
typedef enum _SID_NAME_USE
|
typedef enum _SID_NAME_USE
|
||||||
{
|
{
|
||||||
SidTypeUser = 1,
|
SidTypeUser = 1,
|
||||||
|
|
Loading…
Reference in a new issue