source: Include/windows.sbp@ 74

Last change on this file since 74 was 74, checked in by NoWest, 18 years ago

HTASKハンドルを追加しました。

File size: 3.5 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
51Type _System_DeclareHandle_HTASK:unused As DWord:End Type
52TypeDef HTASK = *_System_DeclareHandle_HTASK
53
54'variable type - Shell
55Type _System_DeclareHandle_HDROP:unused As DWord:End Type
56TypeDef HDROP = *_System_DeclareHandle_HDROP
57
58
59TypeDef LRESULT = LONG_PTR
60
61TypeDef WPARAM = ULONG_PTR
62TypeDef LPARAM = LONG_PTR
63
64
65TypeDef PSTR = *Byte
66TypeDef PCSTR = *Byte
67TypeDef LPSTR = PSTR
68TypeDef LPCSTR = PCSTR
69
70TypeDef PWSTR = *WCHAR
71TypeDef PCWSTR = *WCHAR
72TypeDef LPWSTR = PWSTR
73TypeDef LPCWSTR = PCWSTR
74
75TypeDef OLECHAR = WCHAR
76TypeDef LPOLESTR = *OLECHAR
77TypeDef LPCOLESTR = LPOLESTR
78
79TypeDef BSTR = LPOLESTR
80
81TypeDef LANGID = Word
82TypeDef LCID = DWord
83TypeDef LCTYPE = DWord
84TypeDef LGRPID = DWord
85
86TypeDef HRESULT = Long
87TypeDef ATOM = Word
88TypeDef COLORREF = DWord
89
90TypeDef PROPID = DWord
91
92TypeDef RECTL = RECT
93TypeDef SIZEL = SIZE
94
95TypeDef FARPROC = *Function() As LONG_PTR
96TypeDef NEARPROC = FARPROC
97TypeDef PROC = FARPROC
98TypeDef WNDPROC = *Function(hwnd As HWND, msg As DWord, wParam As WPARAM, lParam As LPARAM) As LRESULT
99TypeDef DLGPROC = *Function(hwnd As HWND, msg As DWord, wParam As WPARAM, lParam As LPARAM) As LONG_PTR
100
101#include <api_winerror.sbp>
102#include <api_system.sbp>
103#include <api_window.sbp>
104#include <api_commdlg.sbp>
105#include <api_gdi.sbp>
106#include <api_shell.sbp>
107#include <api_reg.sbp>
108#include <api_msg.sbp>
109#include <api_windowstyles.sbp>
110#include <api_winspool.sbp>
111
112
113#endif '_INC_WINDOWS
Note: See TracBrowser for help on using the repository browser.