source: Include/windows.sbp@ 8

Last change on this file since 8 was 8, checked in by イグトランス (egtra), 18 years ago

HACCEL

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