Changeset 170 for Include/windows.sbp


Ignore:
Timestamp:
Mar 16, 2007, 10:01:14 AM (18 years ago)
Author:
イグトランス (egtra)
Message:

winnt.ab, windef.ab, guiddef.abを導入

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/windows.sbp

    r168 r170  
    44#ifndef _INC_WINDOWS
    55#define _INC_WINDOWS
    6 
    7 
    8 TypeDef HANDLE    = VoidPtr
    9 
    10 'variable type - System
    11 TypeDef HGLOBAL   = HANDLE
    12 TypeDef HLOCAL    = HANDLE
    13 Type _System_DeclareHandle_HINSTANCE:unused As DWord:End Type
    14 TypeDef HINSTANCE = *_System_DeclareHandle_HINSTANCE
    15 TypeDef HMODULE = HINSTANCE
    16 Type _System_DeclareHandle_HKEY:unused As DWord:End Type
    17 TypeDef HKEY      = *_System_DeclareHandle_HKEY
    18 TypeDef HFILE     = Long
    19 Type _System_DeclareHandle_HANDLE:unused As DWord:End Type
    20 TypeDef HRSRC = *_System_DeclareHandle_HANDLE
    21 
    22 'variable type - User
    23 Type _System_DeclareHandle_HMENU:unused As DWord:End Type
    24 TypeDef HMENU     = *_System_DeclareHandle_HMENU
    25 Type _System_DeclareHandle_HWND:unused As DWord:End Type
    26 TypeDef HWND      = *_System_DeclareHandle_HWND
    27 Type _System_DeclareHandle_HACCEL:unused As DWord:End Type
    28 TypeDef HACCEL      = *_System_DeclareHandle_HACCEL
    29 
    30 'variable type - GDI
    31 Type _System_DeclareHandle_HBITMAP:unused As DWord:End Type
    32 TypeDef HBITMAP   = *_System_DeclareHandle_HBITMAP
    33 Type _System_DeclareHandle_HBRUSH:unused As DWord:End Type
    34 TypeDef HBRUSH    = *_System_DeclareHandle_HBRUSH
    35 Type _System_DeclareHandle_HCURSOR:unused As DWord:End Type
    36 TypeDef HCURSOR   = *_System_DeclareHandle_HCURSOR
    37 Type _System_DeclareHandle_HDC:unused As DWord:End Type
    38 TypeDef HDC       = *_System_DeclareHandle_HDC
    39 Type _System_DeclareHandle_HFONT:unused As DWord:End Type
    40 TypeDef HFONT     = *_System_DeclareHandle_HFONT
    41 Type _System_DeclareHandle_HGDIOBJ:unused As DWord:End Type
    42 TypeDef HGDIOBJ   = *_System_DeclareHandle_HGDIOBJ
    43 Type _System_DeclareHandle_HICON:unused As DWord:End Type
    44 TypeDef HICON     = *_System_DeclareHandle_HICON
    45 Type _System_DeclareHandle_HPEN:unused As DWord:End Type
    46 TypeDef HPEN      = *_System_DeclareHandle_HPEN
    47 Type _System_DeclareHandle_HRGN:unused As DWord:End Type
    48 TypeDef HRGN      = *_System_DeclareHandle_HRGN
    49 Type _System_DeclareHandle_HMETAFILE:unused As DWord:End Type
    50 TypeDef HMETAFILE = *_System_DeclareHandle_HMETAFILE
    51 Type _System_DeclareHandle_HENHMETAFILE:unused As DWord:End Type
    52 TypeDef HENHMETAFILE = *_System_DeclareHandle_HENHMETAFILE
    53 Type _System_DeclareHandle_HTASK:unused As DWord:End Type
    54 TypeDef HTASK = *_System_DeclareHandle_HTASK
    55 Type _System_DeclareHandle_HHOOK:unused As DWord:End Type
    56 TypeDef HHOOK = *_System_DeclareHandle_HHOOK
    57 Type _System_DeclareHandle_HMONITOR:unused As DWord:End Type
    58 TypeDef HMONITOR = *_System_DeclareHandle_HMONITOR
    59 
    60 'variable type - Shell
    61 Type _System_DeclareHandle_HDROP:unused As DWord:End Type
    62 TypeDef HDROP     = *_System_DeclareHandle_HDROP
    63 
    64 
    65 TypeDef LRESULT = LONG_PTR
    66 
    67 TypeDef WPARAM = ULONG_PTR
    68 TypeDef LPARAM = LONG_PTR
    69 
    70 TypeDef CHAR = SByte
    71 TypeDef WCHAR = Word
    72 TypeDef TCHAR = Char
    73 
    74 #ifdef UNICODE
    75 TypeDef TBYTE = Char
    76 
    77 TypeDef PSTR = *SByte
    78 TypeDef PCSTR = *SByte
    79 
    80 TypeDef PWSTR = *Char
    81 TypeDef PCWSTR = *Char
    82 
    83 TypeDef PTSTR = PWSTR
    84 TypeDef PCTSTR = PCWSTR
    85 #else
    86 TypeDef TBYTE = Byte
    87 
    88 TypeDef PSTR = *Char
    89 TypeDef PCSTR = *Char
    90 
    91 TypeDef PWSTR = *WCHAR
    92 TypeDef PCWSTR = *WCHAR
    93 
    94 TypeDef PTSTR = PSTR
    95 TypeDef PCTSTR = PCSTR
    96 #endif
    97 
    98 TypeDef LPSTR = PSTR
    99 TypeDef LPCSTR = PCSTR
    100 
    101 TypeDef LPWSTR = PWSTR
    102 TypeDef LPCWSTR = PCWSTR
    103 
    104 TypeDef LPTSTR = PTSTR
    105 TypeDef LPCTSTR = PCTSTR
    1066
    1077TypeDef OLECHAR = WCHAR
     
    11111TypeDef BSTR = LPOLESTR
    11212
    113 TypeDef UCSCHAR = DWord
    114 
    115 Const UCSCHAR_INVALID_CHARACTER = &hffffffff As UCSCHAR
    116 Const MIN_UCSCHAR = 0 As UCSCHAR
    117 Const MAX_UCSCHAR = &h0010ffff As UCSCHAR
    118 
    11913TypeDef LANGID = Word
    12014TypeDef LCID = DWord
     
    12216TypeDef LGRPID = DWord
    12317
    124 TypeDef HRESULT = Long
    125 TypeDef ATOM = Word
    126 TypeDef COLORREF = DWord
    127 
    12818TypeDef PROPID = DWord
    12919
    130 TypeDef RECTL = RECT
    131 TypeDef SIZEL = SIZE
    132 
    133 TypeDef PVOID = VoidPtr
    134 TypeDef LPVOID = VoidPtr
    135 TypeDef LPCVOID = VoidPtr
    136 
    137 TypeDef FARPROC = *Function() As LONG_PTR
    138 TypeDef NEARPROC = FARPROC
    139 TypeDef PROC = FARPROC
    14020TypeDef WNDPROC = *Function(hwnd As HWND, msg As DWord, wParam As WPARAM, lParam As LPARAM) As LRESULT
    14121TypeDef DLGPROC = *Function(hwnd As HWND, msg As DWord, wParam As WPARAM, lParam As LPARAM) As LONG_PTR
    14222
     23#require <windef.ab>
    14324#require <api_winerror.sbp>
    14425#require <api_system.sbp>
Note: See TracChangeset for help on using the changeset viewer.