Changeset 497 for trunk/Include/WinNT.ab


Ignore:
Timestamp:
Mar 28, 2008, 5:43:34 PM (17 years ago)
Author:
イグトランス (egtra)
Message:

インクルードガードとその他不要な前処理定義などの削除

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/WinNT.ab

    r322 r497  
    11' winnt.ab
    2 
    3 #ifndef _WINNT_
    4 #define _WINNT_
    52
    63'#include <ctype.h>
     
    7269#endif
    7370
    74 '#ifndef VOID
    75 '#define VOID void
    7671TypeDef CHAR = SByte
    7772TypeDef SHORT = Integer
    7873TypeDef LONG = Long
    7974TypeDef INT = Long
    80 '#endif
    8175
    8276TypeDef WCHAR = Word
     
    138132
    139133#ifdef UNICODE
    140 
    141 #ifndef _TCHAR_DEFINED
    142134TypeDef TCHAR = WCHAR
    143135TypeDef PTCHAR = *WCHAR
    144136TypeDef TBYTE = WCHAR
    145137TypeDef PTBYTE = *WCHAR
    146 #define _TCHAR_DEFINED
    147 #endif
    148138
    149139TypeDef PTCH = PWCH
     
    158148TypeDef LPCUTSTR = LPCUWSTR
    159149'TypeDef LP = LPWSTR
    160 
    161150#else
    162 
    163 #ifndef _TCHAR_DEFINED
    164151TypeDef TCHAR = Char
    165152TypeDef PTCHAR = *Char
    166153TypeDef TBYTE = Byte
    167154TypeDef PTBYTE = *Byte
    168 #define _TCHAR_DEFINED
    169 #endif
    170155
    171156TypeDef PTCH = PCH
     
    191176TypeDef FLONG = DWord
    192177
    193 #ifndef _HRESULT_DEFINED
    194 #define _HRESULT_DEFINED
    195178TypeDef HRESULT = Long
    196 #endif
    197179
    198180TypeDef CCHAR = CHAR
     
    212194TypeDef PFLOAT128 = FLOAT128
    213195
    214 '#define _ULONGLONG_
    215196TypeDef LONGLONG = Int64
    216197TypeDef ULONGLONG = QWord
    217198
    218199Const MAXLONGLONG = (&h7fffffffffffffff)
    219 '#endif
    220200
    221201TypeDef PLONGLONG = *LONGLONG
     
    242222TypeDef PLUID = *LUID
    243223
    244 '#define _DWORDLONG_
    245224'TypeDef DWORDLONG = ULONGLONG
    246225'TypeDef PDWORDLONG = DWORDLONG
     
    285264#require <guiddef.ab>
    286265
    287 #ifndef __OBJECTID_DEFINED
    288 #define __OBJECTID_DEFINED
    289 
    290266Type OBJECTID
    291267    Lineage As GUID
    292268    Uniquifier As DWord
    293269End Type
    294 #endif
    295270
    296271Const MINCHAR = &h80
     
    10771052#endif
    10781053
    1079 #ifndef _LDT_ENTRY_DEFINED
    1080 #define _LDT_ENTRY_DEFINED
    1081 
    10821054Type LDT_ENTRY
    10831055    LimitLow As Word
     
    10891061End Type
    10901062TypeDef PLDT_ENTRY = *LDT_ENTRY
    1091 
    1092 #endif
    10931063
    10941064Const WOW64_CONTEXT_i386 = &h00010000
     
    12501220' Security Id (SID)
    12511221
    1252 #ifndef SID_IDENTIFIER_AUTHORITY_DEFINED
    1253 #define SID_IDENTIFIER_AUTHORITY_DEFINED
    12541222Type SID_IDENTIFIER_AUTHORITY
    12551223    Value[ELM(6)] As Byte
    12561224End Type
    12571225TypeDef PSID_IDENTIFIER_AUTHORITY = *SID_IDENTIFIER_AUTHORITY
    1258 #endif
    1259 
    1260 #ifndef SID_DEFINED
    1261 #define SID_DEFINED
     1226
    12621227Type SID
    12631228    Revision As Byte
     
    12671232End Type
    12681233TypeDef PSID = *SID
    1269 #endif
    12701234
    12711235Const SID_REVISION = (1)
     
    41914155
    41924156Const BTYPE(x) = ((x) And N_BTMASK)
    4193 
    4194 #ifndef ISPTR
    4195 #define ISPTR
    41964157Const ISPTR(x) = (((x) And N_TMASK) = (IMAGE_SYM_DTYPE_POINTER << N_BTSHFT))
    4197 #endif
    4198 
    4199 #ifndef ISFCN
    4200 #define ISFCN
    42014158Const ISFCN(x) = (((x) And N_TMASK) = (IMAGE_SYM_DTYPE_FUNCTION << N_BTSHFT))
    4202 #endif
    4203 
    4204 #ifndef ISARY
    4205 #define ISARY
    42064159Const ISARY(x) = (((x) And N_TMASK) = (IMAGE_SYM_DTYPE_ARRAY << N_BTSHFT))
    4207 #endif
    4208 
    4209 #ifndef ISTAG
    4210 #define ISTAG
    42114160Const ISTAG(x) = ((x) = IMAGE_SYM_CLASS_STRUCT_TAG Or (x) = IMAGE_SYM_CLASS_UNION_TAG Or (x) = IMAGE_SYM_CLASS_ENUM_TAG)
    4212 #endif
    4213 
    4214 #ifndef INCREF
    4215 #define INCREF
    42164161Const INCREF(x) = ((((x) And (Not N_BTMASK)) << N_TSHIFT) Or (IMAGE_SYM_DTYPE_POINTER << N_BTSHFT) Or ((x) And N_BTMASK))
    4217 #endif
    4218 
    4219 #ifndef DECREF
    4220 #define DECREF
    42214162Const DECREF(x) = ((((x) >> N_TSHIFT) And (Not N_BTMASK)) Or ((x) And N_BTMASK))
    4222 #endif
    42234163
    42244164' Auxiliary entry format.
     
    51965136#endif
    51975137
    5198 ' for move macros
    5199 '#include <string.h>
    5200 
    5201 #ifndef _SLIST_HEADER_
    5202 #define _SLIST_HEADER_
    5203 
    52045138#ifdef _WIN64
    52055139Type Align(16) SLIST_ENTRY
     
    52545188#endif
    52555189
    5256 #endif
    52575190
    52585191Declare Sub RtlInitializeSListHead Lib "kernel32" (/*IN*/ ByRef ListHead As SLIST_HEADER)
     
    52635196Declare Function RtlQueryDepthSList Lib "kernel32" (/*IN*/ ByRef ListHead As SLIST_HEADER) As Word
    52645197
    5265 #ifndef _RTL_RUN_ONCE_DEF
    5266 #define _RTL_RUN_ONCE_DEF
    5267 
    52685198'Const RTL_RUN_ONCE_INIT {0} 'Static initializer
    52695199
     
    52805210
    52815211TypeDef PRTL_RUN_ONCE_INIT_FN = *Function(ByRef RunOnce As RTL_RUN_ONCE, Parameter As VoidPtr, ByRef Context As VoidPtr) As DWord'LOGICAL
    5282 #endif
    52835212
    52845213Declare Sub RtlRunOnceInitialize Lib "kernel32" (ByRef RunOnce As RTL_RUN_ONCE)
     
    61086037End Enum
    61096038
    6110 #ifndef _NTTMAPI_
    6111 #define _NTTMAPI_
     6039'#ifndef _NTTMAPI_
     6040'#define _NTTMAPI_
    61126041
    61136042'#include <ktmtypes.ab>
     
    61706099End Enum
    61716100
    6172 
    61736101Enum TRANSACTION_STATE
    61746102    TransactionStateNormal = 1
     
    63216249TypeDef PKTMOBJECT_CURSOR = *KTMOBJECT_CURSOR
    63226250
    6323 #endif
     6251'#endif
    63246252
    63256253TypeDef TP_VERSION = DWord
     
    64396367'#endif // winnt_only
    64406368
    6441 #endif
Note: See TracChangeset for help on using the changeset viewer.