1 | ' Windows.sbp - declarations file for Windows API.
|
---|
2 |
|
---|
3 |
|
---|
4 | #ifndef _INC_WINDOWS
|
---|
5 | #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 | Type _System_DeclareHandle_HMENU:unused As DWord:End Type
|
---|
19 |
|
---|
20 | 'variable type - User
|
---|
21 | TypeDef HMENU = *_System_DeclareHandle_HMENU
|
---|
22 | Type _System_DeclareHandle_HWND:unused As DWord:End Type
|
---|
23 | TypeDef HWND = *_System_DeclareHandle_HWND
|
---|
24 | TypeDef HFILE = Long
|
---|
25 |
|
---|
26 | 'variable type - GDI
|
---|
27 | Type _System_DeclareHandle_HBITMAP:unused As DWord:End Type
|
---|
28 | TypeDef HBITMAP = *_System_DeclareHandle_HBITMAP
|
---|
29 | Type _System_DeclareHandle_HBRUSH:unused As DWord:End Type
|
---|
30 | TypeDef HBRUSH = *_System_DeclareHandle_HBRUSH
|
---|
31 | Type _System_DeclareHandle_HCURSOR:unused As DWord:End Type
|
---|
32 | TypeDef HCURSOR = *_System_DeclareHandle_HCURSOR
|
---|
33 | Type _System_DeclareHandle_HDC:unused As DWord:End Type
|
---|
34 | TypeDef HDC = *_System_DeclareHandle_HDC
|
---|
35 | Type _System_DeclareHandle_HFONT:unused As DWord:End Type
|
---|
36 | TypeDef HFONT = *_System_DeclareHandle_HFONT
|
---|
37 | Type _System_DeclareHandle_HGDIOBJ:unused As DWord:End Type
|
---|
38 | TypeDef HGDIOBJ = *_System_DeclareHandle_HGDIOBJ
|
---|
39 | Type _System_DeclareHandle_HICON:unused As DWord:End Type
|
---|
40 | TypeDef HICON = *_System_DeclareHandle_HICON
|
---|
41 | Type _System_DeclareHandle_HPEN:unused As DWord:End Type
|
---|
42 | TypeDef HPEN = *_System_DeclareHandle_HPEN
|
---|
43 | Type _System_DeclareHandle_HRGN:unused As DWord:End Type
|
---|
44 | TypeDef HRGN = *_System_DeclareHandle_HRGN
|
---|
45 | Type _System_DeclareHandle_HMETAFILE:unused As DWord:End Type
|
---|
46 | TypeDef HMETAFILE = *_System_DeclareHandle_HMETAFILE
|
---|
47 | Type _System_DeclareHandle_HENHMETAFILE:unused As DWord:End Type
|
---|
48 | TypeDef HENHMETAFILE = *_System_DeclareHandle_HENHMETAFILE
|
---|
49 |
|
---|
50 | 'variable type - Shell
|
---|
51 | Type _System_DeclareHandle_HDROP:unused As DWord:End Type
|
---|
52 | TypeDef HDROP = *_System_DeclareHandle_HDROP
|
---|
53 |
|
---|
54 |
|
---|
55 | TypeDef LRESULT = LONG_PTR
|
---|
56 |
|
---|
57 | TypeDef WPARAM = ULONG_PTR
|
---|
58 | TypeDef LPARAM = LONG_PTR
|
---|
59 |
|
---|
60 |
|
---|
61 | TypeDef PSTR = *Byte
|
---|
62 | TypeDef PCSTR = *Byte
|
---|
63 | TypeDef LPSTR = PSTR
|
---|
64 | TypeDef LPCSTR = PCSTR
|
---|
65 |
|
---|
66 | TypeDef PWSTR = *WCHAR
|
---|
67 | TypeDef PCWSTR = *WCHAR
|
---|
68 | TypeDef LPWSTR = PWSTR
|
---|
69 | TypeDef LPCWSTR = PCWSTR
|
---|
70 |
|
---|
71 | TypeDef OLECHAR = WCHAR
|
---|
72 | TypeDef LPOLESTR = *OLECHAR
|
---|
73 | TypeDef LPCOLESTR = LPOLESTR
|
---|
74 |
|
---|
75 | TypeDef BSTR = LPOLESTR
|
---|
76 |
|
---|
77 | TypeDef LANGID = Word
|
---|
78 | TypeDef LCID = DWord
|
---|
79 | TypeDef LCTYPE = DWord
|
---|
80 | TypeDef LGRPID = DWord
|
---|
81 |
|
---|
82 | TypeDef HRESULT = Long
|
---|
83 | TypeDef ATOM = Word
|
---|
84 | TypeDef COLORREF = DWord
|
---|
85 |
|
---|
86 | TypeDef PROPID = DWord
|
---|
87 |
|
---|
88 | TypeDef RECTL = RECT
|
---|
89 | TypeDef SIZEL = SIZE
|
---|
90 |
|
---|
91 | TypeDef FARPROC = *Function() As LONG_PTR
|
---|
92 | TypeDef NEARPROC = FARPROC
|
---|
93 | TypeDef PROC = FARPROC
|
---|
94 | TypeDef WNDPROC = *Function(hwnd As HWND, msg As DWord, wParam As WPARAM, lParam As LPARAM) As LRESULT
|
---|
95 | TypeDef DLGPROC = *Function(hwnd As HWND, msg As DWord, wParam As WPARAM, lParam As LPARAM) As LONG_PTR
|
---|
96 |
|
---|
97 | #include <api_winerror.sbp>
|
---|
98 | #include <api_system.sbp>
|
---|
99 | #include <api_window.sbp>
|
---|
100 | #include <api_commdlg.sbp>
|
---|
101 | #include <api_gdi.sbp>
|
---|
102 | #include <api_shell.sbp>
|
---|
103 | #include <api_reg.sbp>
|
---|
104 | #include <api_msg.sbp>
|
---|
105 | #include <api_windowstyles.sbp>
|
---|
106 | #include <api_winspool.sbp>
|
---|
107 |
|
---|
108 |
|
---|
109 | #endif '_INC_WINDOWS
|
---|