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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/windef.ab

    r300 r497  
    11' windef.ab
    2 
    3 #ifndef _WINDEF_
    4 #define _WINDEF_
    52
    63'#ifndef WINVER
     
    85'#endif
    96
    10 #ifndef BASETYPES
    11 #define BASETYPES
    127'TypeDef ULONG = DWord
    138'TypeDef PULONG = *ULONG
     
    1712TypeDef PUCHAR = *UCHAR
    1813'TypeDef PSZ = *SByte
    19 #endif
    2014
    2115Const MAX_PATH = 260
    2216
    23 '#ifndef NULL
    24 '#define NULL
    2517Const NULL = 0 As VoidPtr
    26 '#endif
    27 
    28 '#ifndef FALSE
    29 '#define FALSE
     18
    3019Const FALSE = 0
    31 '#endif
    32 
    33 '#ifndef TRUE
    34 '#define TRUE
    3520Const TRUE = 1
    36 '#endif
    3721
    3822TypeDef DWORD = DWord
     
    6044'TypeDef PUINT = *DWord
    6145
    62 #ifndef NT_INCLUDED
    6346#require <winnt.ab>
    64 #endif
    6547
    6648'#require <specstrings.ab>
     
    8870Const LOWORD(dw) = ((dw As DWord) And &HFFFF) As Word
    8971
    90 #ifndef WIN_INTERNAL
    9172Type _System_DeclareHandle_HWND:unused As DWord:End Type
    9273TypeDef HWND = *_System_DeclareHandle_HWND
    9374Type _System_DeclareHandle_HHOOK:unused As DWord:End Type
    9475TypeDef HHOOK = *_System_DeclareHandle_HHOOK
    95 #ifdef WINABLE
    96 Type _System_DeclareHandleHEVENT:unused As DWord:End Type
     76Type _System_DeclareHandle_HEVENT:unused As DWord:End Type
    9777TypeDef HEVENT = *_System_DeclareHandle_HEVENT
    98 #endif
    99 #endif
    10078
    10179TypeDef ATOM = Word
     
    11795TypeDef PHKEY = *HKEY
    11896
    119 #ifndef WIN_INTERNAL
    12097Type _System_DeclareHandle_HACCEL:unused As DWord:End Type
    12198TypeDef HACCEL = *_System_DeclareHandle_HACCEL
    122 #endif
    123 #ifndef GDI_INTERNAL
    12499Type _System_DeclareHandle_HBITMAP:unused As DWord:End Type
    125100TypeDef HBITMAP = *_System_DeclareHandle_HBITMAP
    126101Type _System_DeclareHandle_HBRUSH:unused As DWord:End Type
    127102TypeDef HBRUSH = *_System_DeclareHandle_HBRUSH
    128 #endif
    129103Type _System_DeclareHandle_HCOLORSPACE:unused As DWord:End Type
    130104TypeDef HCOLORSPACE = *_System_DeclareHandle_HCOLORSPACE
    131 #ifndef GDI_INTERNAL
    132105Type _System_DeclareHandle_HDC:unused As DWord:End Type
    133106TypeDef HDC = *_System_DeclareHandle_HDC
    134 #endif
    135107Type _System_DeclareHandle_HGLRC:unused As DWord:End Type
    136108TypeDef HGLRC = *_System_DeclareHandle_HGLRC
     
    139111Type _System_DeclareHandle_HENHMETAFILE:unused As DWord:End Type
    140112TypeDef HENHMETAFILE = *_System_DeclareHandle_HENHMETAFILE
    141 #ifndef GDI_INTERNAL
    142113Type _System_DeclareHandle_HFONT:unused As DWord:End Type
    143114TypeDef HFONT = *_System_DeclareHandle_HFONT
    144 #endif
    145115Type _System_DeclareHandle_HICON:unused As DWord:End Type
    146116TypeDef HICON = *_System_DeclareHandle_HICON
    147 #ifndef WIN_INTERNAL
    148117Type _System_DeclareHandle_HMENU:unused As DWord:End Type
    149118TypeDef HMENU = *_System_DeclareHandle_HMENU
    150 #endif
    151119Type _System_DeclareHandle_HMETAFILE:unused As DWord:End Type
    152120TypeDef HMETAFILE = *_System_DeclareHandle_HMETAFILE
     
    154122TypeDef HINSTANCE = *_System_DeclareHandle_HINSTANCE
    155123TypeDef HMODULE = HINSTANCE
    156 #ifndef GDI_INTERNAL
    157124Type _System_DeclareHandle_HPALETTE:unused As DWord:End Type
    158125TypeDef HPALETTE = *_System_DeclareHandle_HPALETTE
    159126Type _System_DeclareHandle_HPEN:unused As DWord:End Type
    160127TypeDef HPEN = *_System_DeclareHandle_HPEN
    161 #endif
    162128Type _System_DeclareHandle_HRGN:unused As DWord:End Type
    163129TypeDef HRGN = *_System_DeclareHandle_HRGN
     
    249215TypeDef PFILETIME = *FILETIME
    250216TypeDef LPFILETIME = *FILETIME
    251 
    252 #define _FILETIME_
    253217
    254218Const DM_UPDATE = 1
     
    280244Const DC_ORIENTATION = 17
    281245Const DC_COPIES = 18
    282 
    283 #endif
Note: See TracChangeset for help on using the changeset viewer.