Fix winnt.h include guard definition

svn path=/trunk/; revision=56743
This commit is contained in:
Timo Kreuzer 2012-06-17 16:06:33 +00:00
parent 6f12cdf02c
commit 03bea4140f
6 changed files with 21 additions and 21 deletions

View file

@ -7,7 +7,7 @@
#include <objbase.h>
#else
#define IUnknown void
#if !defined(NT_BUILD_ENVIRONMENT) && !defined(_WINNT_H)
#if !defined(NT_BUILD_ENVIRONMENT) && !defined(_WINNT_)
#define CO_E_NOTINITIALIZED 0x800401F0L
#endif
#endif

View file

@ -1,5 +1,5 @@
#ifndef _WINNT_H
#define _WINNT_H
#ifndef _WINNT_
#define _WINNT_
#if !defined(__ROS_LONG64__)
#ifdef __WINESRC__

View file

@ -8,7 +8,7 @@
#define PAGE_SIZE 0x1000
#endif
#ifndef _WINNT_H
#ifndef _WINNT_
//
// IRQLs
//
@ -34,7 +34,7 @@
#define PCR ((KPCR * const)KIP0PCRADDRESS)
#define USERPCR ((volatile KPCR * const)USPCR)
#define KeGetPcr() PCR
#ifndef _WINNT_H
#ifndef _WINNT_
#define SharedUserData ((KUSER_SHARED_DATA * const)KI_USER_SHARED_DATA)
//
@ -124,7 +124,7 @@ typedef struct _CONTEXT {
//
// Processor Control Region
//
#ifdef _WINNT_H
#ifdef _WINNT_
#define KIRQL ULONG
#endif
@ -241,7 +241,7 @@ __fastcall
KfAcquireSpinLock(
IN OUT ULONG_PTR* SpinLock);
#ifndef _WINNT_H
#ifndef _WINNT_
//
// IRQL Support on ARM is similar to MIPS/ALPHA
//

View file

@ -9,7 +9,7 @@ typedef [handle] LPWSTR PLSAPR_SERVER_NAME;
typedef [context_handle] PVOID LSAPR_HANDLE;
typedef LSAPR_HANDLE *PLSAPR_HANDLE;
cpp_quote("#ifndef _WINNT_H")
cpp_quote("#ifndef _WINNT_")
typedef struct _LUID {
DWORD LowPart;
LONG HighPart;
@ -33,7 +33,7 @@ typedef struct _LSAPR_ACL {
[size_is(AclSize - 4)] BYTE Dummy1[*];
} LSAPR_ACL, *PLSAPR_ACL;
cpp_quote("#ifndef _WINNT_H")
cpp_quote("#ifndef _WINNT_")
typedef WORD SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL;
cpp_quote("#endif")
@ -282,7 +282,7 @@ typedef struct _POLICY_LSA_REPLICA_SRCE_INFO {
RPC_UNICODE_STRING ReplicaAccountName;
} POLICY_LSA_REPLICA_SRCE_INFO, *PPOLICY_LSA_REPLICA_SRCE_INFO;
cpp_quote("#ifndef _WINNT_H")
cpp_quote("#ifndef _WINNT_")
typedef struct _QUOTA_LIMITS {
INT64 PagedPoolLimit;
INT64 NonPagedPoolLimit;

View file

@ -26,11 +26,11 @@ typedef signed int LONG32;
typedef signed __int64 LONG64;
cpp_quote("#endif")
typedef unsigned __int64 QWORD;
cpp_quote("#ifndef _WINNT_H")
cpp_quote("#ifndef _WINNT_")
typedef short SHORT;
cpp_quote("#endif")
typedef __int64 TIME;
cpp_quote("#ifndef _WINNT_H")
cpp_quote("#ifndef _WINNT_")
typedef char CHAR, *PCHAR;
typedef unsigned char UCHAR, *PUCHAR;
cpp_quote("#endif")
@ -43,27 +43,27 @@ typedef unsigned short UINT16;
typedef unsigned int UINT32;
typedef unsigned __int64 UINT64;
cpp_quote("#endif")
cpp_quote("#ifndef _WINNT_H")
cpp_quote("#ifndef _WINNT_")
typedef unsigned long ULONG, *PULONG;
cpp_quote("#endif")
cpp_quote("#ifndef _BASETSD_H")
typedef unsigned int ULONG32;
typedef unsigned __int64 ULONG64;
cpp_quote("#endif")
cpp_quote("#ifndef _WINNT_H")
cpp_quote("#ifndef _WINNT_")
typedef unsigned __int64 ULONGLONG;
typedef unsigned short USHORT;
cpp_quote("#endif")
cpp_quote("#ifndef _WINDEF_H")
typedef unsigned short WORD, *PWORD, *LPWORD;
cpp_quote("#endif")
cpp_quote("#ifndef _WINNT_H")
cpp_quote("#ifndef _WINNT_")
typedef long LONG, *PLONG;
cpp_quote("#endif")
cpp_quote("#ifndef _WINDEF_H")
typedef long *LPLONG;
cpp_quote("#endif")
cpp_quote("#ifndef _WINNT_H")
cpp_quote("#ifndef _WINNT_")
typedef signed __int64 LONGLONG;
cpp_quote("#endif")
@ -74,7 +74,7 @@ cpp_quote("#ifndef __wtypes_h__")
typedef double DOUBLE;
cpp_quote("#endif")
cpp_quote("#ifndef _WINNT_H")
cpp_quote("#ifndef _WINNT_")
typedef BYTE BOOLEAN, *PBOOLEAN;
cpp_quote("#endif")
cpp_quote("#ifndef _BASETSD_H")
@ -89,13 +89,13 @@ typedef ULONG_PTR SIZE_T;
typedef ULONG_PTR DWORD_PTR;
cpp_quote("#endif")
typedef DWORD NET_API_STATUS;
cpp_quote("#ifndef _WINNT_H")
cpp_quote("#ifndef _WINNT_")
typedef ULONGLONG DWORDLONG, *PDWORDLONG;
cpp_quote("#endif")
typedef DWORD HCALL;
//typedef DWORD HRESULT;
cpp_quote("#ifndef _WINNT_H")
cpp_quote("#ifndef _WINNT_")
typedef void *HANDLE;
typedef void /*VOID,*/ *PVOID;
cpp_quote("#endif")
@ -105,7 +105,7 @@ cpp_quote("#endif")
typedef [context_handle] void *PCONTEXT_HANDLE;
typedef PCONTEXT_HANDLE *PPCONTEXT_HANDLE;
cpp_quote("#ifndef _WINNT_H")
cpp_quote("#ifndef _WINNT_")
typedef wchar_t WCHAR, *PWCHAR;
cpp_quote("#if 0")
typedef wchar_t UNICODE;

View file

@ -59,7 +59,7 @@ typedef struct _SAMPR_RETURNED_USTRING_ARRAY
[size_is(Count)] PRPC_UNICODE_STRING Element;
} SAMPR_RETURNED_USTRING_ARRAY, *PSAMPR_RETURNED_USTRING_ARRAY;
cpp_quote("#ifndef _WINNT_H")
cpp_quote("#ifndef _WINNT_")
typedef enum _SID_NAME_USE
{
SidTypeUser = 1,