Mercurial > projects > dwt-win
annotate dwt/internal/win32/WINAPI.d @ 339:210994f12c4c
Fixes for dmd 1.041 and tango 0.99.8
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 28 Mar 2009 03:12:07 +0100 |
parents | 240db000bbcd |
children |
rev | line source |
---|---|
19 | 1 /** |
3 | 2 * This module declared window APIs required by DWT but not in std.c.windows.windows, |
3 * The one in the std.c.windows.windows module are aliased | |
4 */ | |
5 | |
6 | |
7 module dwt.internal.win32.WINAPI; | |
8 | |
15 | 9 public import dwt.internal.win32.WINTYPES; |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
10 //import tango_sys_win32.Types; |
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
11 //import STDWIN = tango_sys_win32.UserGdi; |
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
12 |
339
210994f12c4c
Fixes for dmd 1.041 and tango 0.99.8
Frank Benoit <benoit@tionex.de>
parents:
276
diff
changeset
|
13 import tango.sys.win32.Types; |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
14 //////////////////////////////////////////////////////////////////////////////////////// |
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
15 // dwt |
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
16 //////////////////////////////////////////////////////////////////////////////////////// |
19 | 17 |
37 | 18 alias HANDLE HPAINTBUFFER; |
19 | |
19 | 20 extern (Windows){ |
256
02962e389917
Fix build for non-TANGOSVN and protos for AssocQueryString link error, thanks torhu for the patch.
Frank Benoit <benoit@tionex.de>
parents:
253
diff
changeset
|
21 HRESULT AssocQueryStringA(ASSOCF flags, int str, LPCSTR pszAssoc, LPCSTR pszExtra, LPSTR pszOut, DWORD *pcchOut); |
02962e389917
Fix build for non-TANGOSVN and protos for AssocQueryString link error, thanks torhu for the patch.
Frank Benoit <benoit@tionex.de>
parents:
253
diff
changeset
|
22 HRESULT AssocQueryStringW(ASSOCF flags, int str, LPCWSTR pszAssoc, LPCWSTR pszExtra, LPWSTR pszOut, DWORD *pcchOut); |
19 | 23 int AddFontResourceExA(char* lpszFilename, int fl, void* pdv); |
24 int AddFontResourceExW(wchar* lpszFilename, int fl, void* pdv); | |
25 | |
24 | 26 BOOL AlphaBlend( |
27 HDC hdcDest, // handle to destination DC | |
28 int nXOriginDest, // x-coord of upper-left corner | |
29 int nYOriginDest, // y-coord of upper-left corner | |
30 int nWidthDest, // destination width | |
31 int nHeightDest, // destination height | |
32 HDC hdcSrc, // handle to source DC | |
33 int nXOriginSrc, // x-coord of upper-left corner | |
34 int nYOriginSrc, // y-coord of upper-left corner | |
35 int nWidthSrc, // source width | |
36 int nHeightSrc, // source height | |
37 BLENDFUNCTION blendFunction // alpha-blending function | |
38 ); | |
25 | 39 BOOL TransparentBlt( |
40 HDC hdcDest, // handle to destination DC | |
41 int nXOriginDest, // x-coord of destination upper-left corner | |
42 int nYOriginDest, // y-coord of destination upper-left corner | |
43 int nWidthDest, // width of destination rectangle | |
44 int hHeightDest, // height of destination rectangle | |
45 HDC hdcSrc, // handle to source DC | |
46 int nXOriginSrc, // x-coord of source upper-left corner | |
47 int nYOriginSrc, // y-coord of source upper-left corner | |
48 int nWidthSrc, // width of source rectangle | |
49 int nHeightSrc, // height of source rectangle | |
50 UINT crTransparent // color to make transparent | |
51 ); | |
28 | 52 int IIDFromString (wchar* lpsz, byte* lpiid); |
30 | 53 HRESULT ScriptJustify( |
54 SCRIPT_VISATTR* psva, | |
55 int* piAdvance, | |
56 int cGlyphs, | |
57 int iDx, | |
58 int iMinKashida, | |
59 int* piJustify | |
60 ); | |
28 | 61 |
30 | 62 HRESULT ScriptRecordDigitSubstitution( |
63 LCID Locale, | |
64 SCRIPT_DIGITSUBSTITUTE* psds | |
65 ); | |
66 HRESULT ScriptApplyDigitSubstitution( | |
67 SCRIPT_DIGITSUBSTITUTE* psds, | |
68 SCRIPT_CONTROL* psc, | |
69 SCRIPT_STATE* pss | |
70 ); | |
32 | 71 |
72 // UxTheme.dll | |
73 BOOL IsAppThemed(); | |
74 | |
75 HRESULT DrawThemeBackground( | |
76 HTHEME hTheme, | |
77 HDC hdc, | |
78 int iPartId, | |
79 int iStateId, | |
80 RECT *pRect, | |
81 RECT *pClipRect | |
82 ); | |
83 HRESULT DrawThemeEdge( | |
84 HTHEME hTheme, | |
85 HDC hdc, | |
86 int iPartId, | |
87 int iStateId, | |
88 LPCRECT pDestRect, | |
89 UINT uEdge, | |
90 UINT uFlags, | |
91 LPRECT pContentRect | |
92 ); | |
93 HRESULT DrawThemeIcon( | |
94 HTHEME hTheme, | |
95 HDC hdc, | |
96 int iPartId, | |
97 int iStateId, | |
98 LPCRECT pRect, | |
99 HIMAGELIST himl, | |
100 int iImageIndex | |
101 ); | |
102 HRESULT DrawThemeParentBackground( | |
103 HWND hwnd, | |
104 HDC hdc, | |
105 RECT *prc | |
106 ); | |
107 HRESULT DrawThemeText( | |
108 HTHEME hTheme, | |
109 HDC hdc, | |
110 int iPartId, | |
111 int iStateId, | |
112 LPCWSTR pszText, | |
113 int iCharCount, | |
114 DWORD dwTextFlags, | |
115 DWORD dwTextFlags2, | |
116 LPCRECT pRect | |
117 ); | |
118 | |
33 | 119 HTHEME OpenThemeData( |
120 HWND hwnd, | |
121 LPCWSTR pszClassList | |
122 ); | |
123 HRESULT BufferedPaintInit(); | |
124 HRESULT CloseThemeData( | |
125 HTHEME hTheme | |
126 ); | |
127 HRESULT BufferedPaintUnInit(); | |
268
1a74c57e2d49
Fix depenency to updated user32.lib and kernel32.lib
Frank Benoit <benoit@tionex.de>
parents:
260
diff
changeset
|
128 //BOOL IsHungAppWindow( |
1a74c57e2d49
Fix depenency to updated user32.lib and kernel32.lib
Frank Benoit <benoit@tionex.de>
parents:
260
diff
changeset
|
129 // HWND hWnd |
1a74c57e2d49
Fix depenency to updated user32.lib and kernel32.lib
Frank Benoit <benoit@tionex.de>
parents:
260
diff
changeset
|
130 //); |
37 | 131 HPAINTBUFFER BeginBufferedPaint( |
132 HDC hdcTarget, | |
133 RECT *prcTarget, | |
134 uint/+BP_BUFFERFORMAT+/ dwFormat, | |
135 void*/+BP_PAINTPARAMS+/ pPaintParams, | |
136 HDC *phdc | |
137 ); | |
138 HRESULT EndBufferedPaint( | |
139 HPAINTBUFFER hBufferedPaint, | |
140 BOOL fUpdateTarget | |
141 ); | |
78 | 142 |
49 | 143 |
144 HRESULT GetThemeTextExtent( | |
145 HTHEME hTheme, | |
146 HDC hdc, | |
147 int iPartId, | |
148 int iStateId, | |
149 LPCWSTR pszText, | |
150 int iCharCount, | |
151 DWORD dwTextFlags, | |
152 LPCRECT pBoundingRect, | |
153 LPRECT pExtentRect | |
154 ); | |
67
3f4e6a4ecc09
Table, TableItem, TableColumn
Frank Benoit <benoit@tionex.de>
parents:
49
diff
changeset
|
155 HRESULT SetWindowTheme( |
3f4e6a4ecc09
Table, TableItem, TableColumn
Frank Benoit <benoit@tionex.de>
parents:
49
diff
changeset
|
156 HWND hwnd, |
3f4e6a4ecc09
Table, TableItem, TableColumn
Frank Benoit <benoit@tionex.de>
parents:
49
diff
changeset
|
157 LPCWSTR pszSubAppName, |
3f4e6a4ecc09
Table, TableItem, TableColumn
Frank Benoit <benoit@tionex.de>
parents:
49
diff
changeset
|
158 LPCWSTR pszSubIdList |
3f4e6a4ecc09
Table, TableItem, TableColumn
Frank Benoit <benoit@tionex.de>
parents:
49
diff
changeset
|
159 ); |
78 | 160 |
161 //Kernel32.lib | |
268
1a74c57e2d49
Fix depenency to updated user32.lib and kernel32.lib
Frank Benoit <benoit@tionex.de>
parents:
260
diff
changeset
|
162 //LANGID GetSystemDefaultUILanguage(); |
78 | 163 |
164 // Macro from winnt.h/windows.h | |
165 WORD PRIMARYLANGID( | |
166 WORD lgid | |
167 ); | |
168 | |
169 //Gdi32.lib | |
75 | 170 int IntersectClipRect( |
171 HDC hdc, // handle to DC | |
172 int nLeftRect, // x-coord of upper-left corner | |
173 int nTopRect, // y-coord of upper-left corner | |
174 int nRightRect, // x-coord of lower-right corner | |
175 int nBottomRect // y-coord of lower-right corner | |
176 ); | |
82 | 177 |
89 | 178 LRESULT CoCreateInstance( |
179 byte* rclsid, void* pUnkOuter, int dwClsContext, byte* riid, void* ppv | |
180 ); | |
82 | 181 /+ |
182 // kernel32 winxp/vista | |
183 version(ANSI){ | |
184 HANDLE CreateActCtxA( | |
185 ACTCTXA* pActCtx | |
186 ); | |
187 } | |
188 else{ | |
189 HANDLE CreateActCtxW( | |
190 ACTCTXW* pActCtx | |
191 ); | |
192 } | |
193 BOOL ActivateActCtx( | |
194 HACTCTX hActCtx, | |
195 uint* lpCookie | |
196 ); | |
197 +/ | |
19 | 198 } |
37 | 199 //-------------------------------------------------------------------------------------- |
3 | 200 |
201 // Windows API | |
202 extern (Windows){ | |
203 int AbortDoc(HDC hdc); | |
204 HKL ActivateKeyboardLayout( | |
205 HKL hkl, // handle to keyboard layout | |
206 UINT Flags // keyboard layout flags | |
207 ); | |
208 BOOL AdjustWindowRectEx( | |
209 LPRECT lpRect, // pointer to client-rectangle structure | |
210 DWORD dwStyle, // window styles | |
211 BOOL bMenu, // menu-present flag | |
212 DWORD dwExStyle // extended style | |
213 ); | |
214 BOOL Arc( | |
215 HDC hdc, // handle to device context | |
216 int nLeftRect, // x-coord of bounding rectangle's upper-left corner | |
217 int nTopRect, // y-coord of bounding rectangle's upper-left corner | |
218 int nRightRect, // x-coord of bounding rectangle's lower-right corner | |
219 int nBottomRect, // y-coord of bounding rectangle's lower-right corner | |
220 int nXStartArc, // first radial ending point | |
221 int nYStartArc, // first radial ending point | |
222 int nXEndArc, // second radial ending point | |
223 int nYEndArc // second radial ending point | |
224 ); | |
225 HDWP BeginDeferWindowPos( | |
226 int nNumWindows | |
227 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
228 //alias STDWIN.BeginPaint BeginPaint; |
3 | 229 BOOL BitBlt( |
230 HDC hdcDest, // handle to destination device context | |
231 int nXDest, // x-coordinate of destination rectangle's upper-left corner | |
232 int nYDest, // y-coordinate of destination rectangle's upper-left corner | |
233 int nWidth, // width of destination rectangle | |
234 int nHeight, // height of destination rectangle | |
235 HDC hdcSrc, // handle to source device context | |
236 int nXSrc, // x-coordinate of source rectangle's upper-left corner | |
237 int nYSrc, // y-coordinate of source rectangle's upper-left corner | |
238 DWORD dwRop // raster operation code | |
239 ); | |
240 BOOL BringWindowToTop( | |
241 HWND hWnd // handle to window | |
242 ); | |
243 LRESULT CallNextHookEx( | |
244 HHOOK hhk, // handle to current hook | |
245 int nCode, // hook code passed to hook procedure | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
246 WPARAM wParam, // value passed to hook procedure |
3 | 247 LPARAM lParam // value passed to hook procedure |
248 ); | |
249 LRESULT CallWindowProcA( | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
250 WNDPROC lpPrevWndFunc, // pointer to previous procedure |
3 | 251 HWND hWnd, // handle to window |
252 UINT Msg, // message | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
253 WPARAM wParam, // first message parameter |
3 | 254 LPARAM lParam // second message parameter |
255 ); | |
256 LRESULT CallWindowProcW( | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
257 WNDPROC lpPrevWndFunc, // pointer to previous procedure |
3 | 258 HWND hWnd, // handle to window |
259 UINT Msg, // message | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
260 WPARAM wParam, // first message parameter |
3 | 261 LPARAM lParam // second message parameter |
262 ); | |
263 LPSTR CharLowerA( | |
264 LPSTR lpsz // single character or pointer to string | |
265 ); | |
266 LPWSTR CharLowerW( | |
267 LPWSTR lpsz // single character or pointer to string | |
268 ); | |
269 LPSTR CharUpperA( | |
270 LPSTR lpsz // single character or pointer to string | |
271 ); | |
272 LPWSTR CharUpperW( | |
273 LPWSTR lpsz // single character or pointer to string | |
274 ); | |
275 DWORD CheckMenuItem( | |
276 HMENU hmenu, // handle to menu | |
277 UINT uIDCheckItem, // menu item to check or uncheck | |
278 UINT uCheck // menu item flags | |
279 ); | |
280 BOOL ChooseColorA( | |
281 LPCHOOSECOLORA lpcc // pointer to structure with initialization data | |
282 ); | |
283 BOOL ChooseColorW( | |
284 LPCHOOSECOLORW lpcc // pointer to structure with initialization data | |
285 ); | |
286 BOOL ChooseFontA( | |
287 LPCHOOSEFONTA lpcf // pointer to structure with initialization data | |
288 ); | |
289 BOOL ChooseFontW( | |
290 LPCHOOSEFONTW lpcf // pointer to structure with initialization data | |
291 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
292 //alias STDWIN.ClientToScreen ClientToScreen; |
3 | 293 BOOL CloseClipboard(); |
294 int CombineRgn( | |
295 HRGN hrgnDest, // handle to destination region | |
296 HRGN hrgnSrc1, // handle to source region | |
297 HRGN hrgnSrc2, // handle to source region | |
298 int fnCombineMode // region combining mode | |
299 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
300 //alias STDWIN.CloseHandle CloseHandle; |
3 | 301 DWORD CommDlgExtendedError(); |
302 | |
303 version(WinCE){ | |
304 BOOL CommandBar_AddAdornments(HWND hwndCB, DWORD dwFlags, DWORD dwReserved); | |
305 HWND CommandBar_Create(HINSTANCE hInst, HWND hwndParent, int idCmdBar); | |
306 void CommandBar_Destroy(HWND hwndCB); | |
307 BOOL CommandBar_DrawMenuBar(HWND hwndCB, int iButton); | |
308 int CommandBar_Height(HWND hwndCB); | |
309 int CommandBar_InsertMenubarEx(HWND hwndCB, HINSTANCE hInst, int pszMenu, int iButton); | |
310 int CommandBar_Show(HWND hwndCB, int fShow); | |
311 } | |
312 | |
313 HANDLE CopyImage( | |
314 HANDLE hImage, // handle to the image to copy | |
315 UINT uType, // type of image to copy | |
316 int cxDesired, // desired width of new image | |
317 int cyDesired, // desired height of new image | |
318 UINT fuFlags // copy flags | |
319 ); | |
320 HACCEL CreateAcceleratorTableA( | |
321 LPACCEL lpaccl, // pointer to structure array with accelerator data | |
322 int cEntries // number of structures in the array | |
323 ); | |
324 HACCEL CreateAcceleratorTableW( | |
325 LPACCEL lpaccl, // pointer to structure array with accelerator data | |
326 int cEntries // number of structures in the array | |
327 ); | |
328 HBITMAP CreateBitmap( | |
329 int nWidth, // bitmap width, in pixels | |
330 int nHeight, // bitmap height, in pixels | |
331 UINT cPlanes, // number of color planes used by device | |
332 UINT cBitsPerPel, // number of bits required to identify a color | |
333 VOID *lpvBits // pointer to array containing color data | |
334 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
335 //alias STDWIN.CreateCaret CreateCaret; |
3 | 336 HBITMAP CreateCompatibleBitmap( |
337 HDC hdc, // handle to device context | |
338 int nWidth, // width of bitmap, in pixels | |
339 int nHeight // height of bitmap, in pixels | |
340 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
341 //alias STDWIN.CreateCompatibleDC CreateCompatibleDC; |
3 | 342 HCURSOR CreateCursor( |
343 HINSTANCE hInst, // handle to application instance | |
344 int xHotSpot, // horizontal position of hot spot | |
345 int yHotSpot, // vertical position of hot spot | |
346 int nWidth, // cursor width | |
347 int nHeight, // cursor height | |
348 VOID *pvANDPlane, // pointer to AND bitmask array | |
349 VOID *pvXORPlane // pointer to XOR bitmask array | |
350 ); | |
351 HDC CreateDCA( | |
352 LPCSTR lpszDriver, // pointer to string specifying driver name | |
353 LPCSTR lpszDevice, // pointer to string specifying device name | |
354 LPCSTR lpszOutput, // do not use; set to NULL | |
355 DEVMODE *lpInitData | |
356 // pointer to optional printer data | |
357 ); | |
358 HDC CreateDCW( | |
359 LPCWSTR lpszDriver, // pointer to string specifying driver name | |
360 LPCWSTR lpszDevice, // pointer to string specifying device name | |
361 LPCWSTR lpszOutput, // do not use; set to NULL | |
362 DEVMODE *lpInitData | |
363 // pointer to optional printer data | |
364 ); | |
213 | 365 HBITMAP CreateDIBSection( |
366 HDC hdc, // handle to device context | |
367 BITMAPINFO *pbmi, // pointer to structure containing bitmap size, | |
368 // format, and color data | |
369 UINT iUsage, // color data type indicator: RGB values or | |
370 // palette indexes | |
371 VOID **ppvBits, // pointer to variable to receive a pointer to | |
372 // the bitmap's bit values | |
373 HANDLE hSection, // optional handle to a file mapping object | |
374 DWORD dwOffset // offset to the bitmap bit values within the | |
375 // file mapping object | |
3 | 376 ); |
377 HANDLE CreateEventA( | |
378 LPSECURITY_ATTRIBUTES lpEventAttributes, | |
379 // pointer to security attributes | |
380 BOOL bManualReset, // flag for manual-reset event | |
381 BOOL bInitialState, // flag for initial state | |
382 LPCSTR lpName // pointer to event-object name | |
383 ); | |
384 HANDLE CreateEventW( | |
385 LPSECURITY_ATTRIBUTES lpEventAttributes, | |
386 // pointer to security attributes | |
387 BOOL bManualReset, // flag for manual-reset event | |
388 BOOL bInitialState, // flag for initial state | |
389 LPCWSTR lpName // pointer to event-object name | |
390 ); | |
391 | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
392 //alias STDWIN.CreateFileA CreateFileA; |
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
393 //alias STDWIN.CreateFileW CreateFileW; |
3 | 394 HFONT CreateFontIndirectA(LOGFONTA* lplf ); |
395 HFONT CreateFontIndirectW(LOGFONTW* lplf ); | |
396 HICON CreateIconIndirect( | |
397 PICONINFO piconinfo // pointer to icon information structure | |
398 ); | |
399 HMENU CreateMenu(); | |
400 HPALETTE CreatePalette( | |
401 LOGPALETTE *lplgpl // pointer to logical color palette | |
402 ); | |
403 HBRUSH CreatePatternBrush( | |
404 HBITMAP hbmp // handle to bitmap | |
405 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
406 //alias STDWIN.CreatePen CreatePen; |
3 | 407 HRGN CreatePolygonRgn( |
408 POINT *lppt, // pointer to array of points | |
409 int cPoints, // number of points in array | |
410 int fnPolyFillMode // polygon-filling mode | |
411 ); | |
412 HMENU CreatePopupMenu(); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
413 //alias STDWIN.CreateRectRgn CreateRectRgn; |
3 | 414 HBRUSH CreateSolidBrush( |
415 COLORREF crColor // brush color value | |
416 ); | |
417 | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
418 //alias STDWIN.CreateWindowExA CreateWindowExA; |
3 | 419 HWND CreateWindowExW( |
420 DWORD dwExStyle, // extended window style | |
421 LPCWSTR lpClassName, // pointer to registered class name | |
422 LPCWSTR lpWindowName, // pointer to window name | |
423 DWORD dwStyle, // window style | |
424 int x, // horizontal position of window | |
425 int y, // vertical position of window | |
426 int nWidth, // window width | |
427 int nHeight, // window height | |
428 HWND hWndParent, // handle to parent or owner window | |
429 HMENU hMenu, // handle to menu, or child-window identifier | |
430 HINSTANCE hInstance, // handle to application instance | |
431 LPVOID lpParam // pointer to window-creation data | |
432 ); | |
433 | |
434 LRESULT DefFrameProcA( | |
435 HWND hWnd, // handle to MDI frame window | |
436 HWND hWndMDIClient, // handle to MDI client window | |
437 UINT uMsg, // message | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
438 WPARAM wParam, // first message parameter |
3 | 439 LPARAM lParam // second message parameter |
440 ); | |
441 LRESULT DefFrameProcW( | |
442 HWND hWnd, // handle to MDI frame window | |
443 HWND hWndMDIClient, // handle to MDI client window | |
444 UINT uMsg, // message | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
445 WPARAM wParam, // first message parameter |
3 | 446 LPARAM lParam // second message parameter |
447 ); | |
448 LRESULT DefMDIChildProcA( | |
449 HWND hWnd, // handle to MDI child window | |
450 UINT uMsg, // message | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
451 WPARAM wParam, // first message parameter |
3 | 452 LPARAM lParam // second message parameter |
453 ); | |
454 LRESULT DefMDIChildProcW( | |
455 HWND hWnd, // handle to MDI child window | |
456 UINT uMsg, // message | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
457 WPARAM wParam, // first message parameter |
3 | 458 LPARAM lParam // second message parameter |
459 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
460 //alias STDWIN.DefWindowProcA DefWindowProcA; |
3 | 461 LRESULT DefWindowProcW( |
462 HWND hWnd, // handle to window | |
463 UINT Msg, // message identifier | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
464 WPARAM wParam, // first message parameter |
3 | 465 LPARAM lParam // second message parameter |
466 ); | |
467 | |
468 HDWP DeferWindowPos( | |
469 HDWP hWinPosInfo, // handle to internal structure | |
470 HWND hWnd, // handle to window to position | |
471 HWND hWndInsertAfter, // placement-order handle | |
472 int x, // horizontal position | |
473 int y, // vertical position | |
474 int cx, // width | |
475 int cy, // height | |
476 UINT uFlags // window-positioning flags | |
477 ); | |
478 | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
479 //alias STDWIN.DeleteDC DeleteDC; |
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
480 //alias STDWIN.DeleteFileA DeleteFileA; |
3 | 481 BOOL DeleteMenu( |
482 HMENU hMenu, // handle to menu | |
483 UINT uPosition, // menu item identifier or position | |
484 UINT uFlags // menu item flag | |
485 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
486 //alias STDWIN.DeleteObject DeleteObject; |
3 | 487 BOOL DestroyAcceleratorTable( |
488 HACCEL hAccel // handle to accelerator table | |
489 ); | |
490 int DestroyCaret(); | |
491 BOOL DestroyCursor( | |
492 HCURSOR hCursor // handle to cursor to destroy | |
493 ); | |
494 BOOL DestroyIcon( | |
495 HICON hIcon // handle to icon to destroy | |
496 ); | |
497 BOOL DestroyMenu( | |
498 HMENU hMenu // handle to menu to destroy | |
499 ); | |
500 BOOL DestroyWindow( | |
501 HWND hWnd // handle to window to destroy | |
502 ); | |
503 LONG DispatchMessageA( | |
504 MSG *lpmsg // pointer to structure with message | |
505 ); | |
506 LONG DispatchMessageW( | |
507 MSG *lpmsg // pointer to structure with message | |
508 ); | |
509 BOOL DragDetect( | |
510 HWND hwnd, | |
511 POINT pt | |
512 ); | |
513 void DragFinish( | |
514 HDROP hDrop | |
515 ); | |
516 UINT DragQueryFileA( | |
517 HDROP hDrop, | |
518 UINT iFile, | |
519 LPSTR lpszFile, | |
520 UINT cch | |
521 ); | |
522 UINT DragQueryFileW( | |
523 HDROP hDrop, | |
524 UINT iFile, | |
525 LPWSTR lpszFile, | |
526 UINT cch | |
527 ); | |
528 BOOL DrawEdge( | |
529 HDC hdc, // handle to device context | |
530 LPRECT qrc, // pointer to rectangle coordinates | |
531 UINT edge, // type of inner and outer edge to draw | |
532 UINT grfFlags // type of border | |
533 ); | |
534 BOOL DrawFocusRect( | |
535 HDC hDC, // handle to device context | |
536 RECT *lprc // pointer to structure for rectangle | |
537 ); | |
538 BOOL DrawFrameControl( | |
539 HDC hdc, // handle to device context | |
540 LPRECT lprc, // pointer to bounding rectangle | |
541 UINT uType, // frame-control type | |
542 UINT uState // frame-control state | |
543 ); | |
544 BOOL DrawIconEx( | |
545 HDC hdc, // handle to device context | |
546 int xLeft, // x-coordinate of upper left corner | |
547 int yTop, // y-coordinate of upper left corner | |
548 HICON hIcon, // handle to icon to draw | |
549 int cxWidth, // width of the icon | |
550 int cyWidth, // height of the icon | |
551 UINT istepIfAniCur, // index of frame in animated cursor | |
552 HBRUSH hbrFlickerFreeDraw, // handle to background brush | |
553 UINT diFlags // icon-drawing flags | |
554 ); | |
555 BOOL DrawMenuBar( | |
556 HWND hWnd // handle to window with menu bar to redraw | |
557 ); | |
558 BOOL DrawStateA( | |
559 HDC hdc, // handle to device context | |
560 HBRUSH hbr, // handle to brush | |
561 DRAWSTATEPROC lpOutputFunc, // pointer to callback function | |
562 LPARAM lData, // image information | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
563 WPARAM wData, // more image information |
3 | 564 int x, // horizontal location of image |
565 int y, // vertical location of image | |
566 int cx, // width of image | |
567 int cy, // height of image | |
568 UINT fuFlags // image type and state | |
569 ); | |
570 BOOL DrawStateW( | |
571 HDC hdc, // handle to device context | |
572 HBRUSH hbr, // handle to brush | |
573 DRAWSTATEPROC lpOutputFunc, // pointer to callback function | |
574 LPARAM lData, // image information | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
575 WPARAM wData, // more image information |
3 | 576 int x, // horizontal location of image |
577 int y, // vertical location of image | |
578 int cx, // width of image | |
579 int cy, // height of image | |
580 UINT fuFlags // image type and state | |
581 ); | |
582 int DrawTextA( | |
583 HDC hDC, // handle to device context | |
584 LPCSTR lpString, // pointer to string to draw | |
585 int nCount, // string length, in characters | |
586 LPRECT lpRect, // pointer to struct with formatting dimensions | |
587 UINT uFormat // text-drawing flags | |
588 ); | |
589 int DrawTextW( | |
590 HDC hDC, // handle to device context | |
591 LPCWSTR lpString, // pointer to string to draw | |
592 int nCount, // string length, in characters | |
593 LPRECT lpRect, // pointer to struct with formatting dimensions | |
594 UINT uFormat // text-drawing flags | |
595 ); | |
596 | |
597 BOOL Ellipse( | |
598 HDC hdc, // handle to device context | |
599 int nLeftRect, // x-coord of bounding rectangle's upper-left corner | |
600 int nTopRect, // y-coord of bounding rectangle's upper-left corner | |
601 int nRightRect, // x-coord of bounding rectangle's lower-right corner | |
602 int nBottomRect // y-coord of bounding rectangle's lower-right corner | |
603 ); | |
604 BOOL EnableMenuItem( | |
605 HMENU hMenu, // handle to menu | |
606 UINT uIDEnableItem, // menu item to enable, disable, or gray | |
607 UINT uEnable // menu item flags | |
608 ); | |
19 | 609 BOOL EnableWindow( |
3 | 610 HWND hWnd, |
611 BOOL bEnable | |
612 ); | |
613 BOOL EndDeferWindowPos( | |
614 HDWP hWinPosInfo // handle to internal structure | |
615 ); | |
616 int EndDoc(HDC hDC); | |
617 int EndPage(HDC hDC); | |
618 BOOL EnumDisplayMonitors( | |
619 HDC hdc, // handle to display DC | |
620 LPCRECT lprcClip, // clipping rectangle | |
621 MONITORENUMPROC lpfnEnum, // callback function | |
622 LPARAM dwData // data for callback function | |
623 ); | |
624 int EnumFontFamiliesExA( | |
625 HDC hdc, // handle to device context | |
626 LPLOGFONTA lpLogfont, // pointer to logical font information | |
627 FONTENUMEXPROC lpEnumFontFamExProc, | |
628 // pointer to callback function | |
629 LPARAM lParam, // application-supplied data | |
630 DWORD dwFlags // reserved; must be zero | |
631 ); | |
632 int EnumFontFamiliesExW( | |
633 HDC hdc, // handle to device context | |
634 LPLOGFONTW lpLogfont, // pointer to logical font information | |
635 FONTENUMEXPROC lpEnumFontFamExProc, | |
636 // pointer to callback function | |
637 LPARAM lParam, // application-supplied data | |
638 DWORD dwFlags // reserved; must be zero | |
639 ); | |
640 | |
641 int EnumFontFamiliesA( | |
642 HDC hdc, // handle to device control | |
643 LPCSTR lpszFamily, // pointer to family-name string | |
644 FONTENUMPROC lpEnumFontFamProc, | |
645 // pointer to callback function | |
646 LPARAM lParam // pointer to application-supplied data | |
647 ); | |
648 int EnumFontFamiliesW( | |
649 HDC hdc, // handle to device control | |
650 LPCWSTR lpszFamily, // pointer to family-name string | |
651 FONTENUMPROC lpEnumFontFamProc, | |
652 // pointer to callback function | |
653 LPARAM lParam // pointer to application-supplied data | |
654 ); | |
655 BOOL EqualRect( | |
656 RECT *lprc1, // pointer to structure with first rectangle | |
657 RECT *lprc2 // pointer to structure with second rectangle | |
658 ); | |
659 BOOL EqualRgn( | |
660 HRGN hSrcRgn1, // handle to first region | |
661 HRGN hSrcRgn2 // handle to second region | |
662 ); | |
663 DWORD ExpandEnvironmentStringsA( | |
664 LPCSTR lpSrc, // pointer to string with environment variables | |
665 LPSTR lpDst, // pointer to string with expanded environment | |
666 // variables | |
667 DWORD nSize // maximum characters in expanded string | |
668 ); | |
669 DWORD ExpandEnvironmentStringsW( | |
670 LPCWSTR lpSrc, // pointer to string with environment variables | |
671 LPWSTR lpDst, // pointer to string with expanded environment | |
672 // variables | |
673 DWORD nSize // maximum characters in expanded string | |
674 ); | |
675 BOOL ExtTextOutA( | |
676 HDC hdc, // handle to device context | |
677 int X, // x-coordinate of reference point | |
678 int Y, // y-coordinate of reference point | |
679 UINT fuOptions, // text-output options | |
680 RECT *lprc, // optional clipping and/or opaquing rectangle | |
681 LPCSTR lpString, // points to string | |
682 UINT cbCount, // number of characters in string | |
683 INT *lpDx // pointer to array of intercharacter spacing | |
684 // values | |
685 ); | |
686 BOOL ExtTextOutW( | |
687 HDC hdc, // handle to device context | |
688 int X, // x-coordinate of reference point | |
689 int Y, // y-coordinate of reference point | |
690 UINT fuOptions, // text-output options | |
691 RECT *lprc, // optional clipping and/or opaquing rectangle | |
692 LPCWSTR lpString, // points to string | |
693 UINT cbCount, // number of characters in string | |
694 INT *lpDx // pointer to array of intercharacter spacing | |
695 // values | |
696 ); | |
697 UINT ExtractIconExA( | |
698 LPCSTR lpszFile, | |
699 int nIconIndex, | |
700 HICON *phiconLarge, | |
701 HICON *phiconSmall, | |
702 UINT nIcons | |
703 ); | |
704 UINT ExtractIconExW( | |
705 LPCWSTR lpszFile, | |
706 int nIconIndex, | |
707 HICON *phiconLarge, | |
708 HICON *phiconSmall, | |
709 UINT nIcons | |
710 ); | |
711 HRSRC FindResourceA( | |
712 HMODULE hModule, // module handle | |
713 LPCSTR lpName, // pointer to resource name | |
714 LPCSTR lpType // pointer to resource type | |
715 ); | |
716 HRSRC FindResourceW( | |
717 HMODULE hModule, // module handle | |
718 LPCWSTR lpName, // pointer to resource name | |
719 LPCWSTR lpType // pointer to resource type | |
720 ); | |
721 HWND FindWindowA( | |
722 LPCSTR lpClassName, // pointer to class name | |
723 LPCSTR lpWindowName // pointer to window name | |
724 ); | |
725 HWND FindWindowW( | |
726 LPCWSTR lpClassName, // pointer to class name | |
727 LPCWSTR lpWindowName // pointer to window name | |
728 ); | |
729 DWORD FormatMessageA( | |
730 DWORD dwFlags, // source and processing options | |
731 LPCVOID lpSource, // pointer to message source | |
732 DWORD dwMessageId, // requested message identifier | |
733 DWORD dwLanguageId, // language identifier for requested message | |
734 LPSTR lpBuffer, // pointer to message buffer | |
735 DWORD nSize, // maximum size of message buffer | |
736 // va_list *Arguments // pointer to array of message inserts | |
737 void* Arguments | |
738 ); | |
739 DWORD FormatMessageW( | |
740 DWORD dwFlags, // source and processing options | |
741 LPCVOID lpSource, // pointer to message source | |
742 DWORD dwMessageId, // requested message identifier | |
743 DWORD dwLanguageId, // language identifier for requested message | |
744 LPWSTR lpBuffer, // pointer to message buffer | |
745 DWORD nSize, // maximum size of message buffer | |
746 // va_list *Arguments // pointer to array of message inserts | |
747 void* Arguments | |
748 ); | |
749 DWORD GdiSetBatchLimit( | |
750 DWORD dwLimit // batch limit | |
751 ); | |
752 UINT GetACP(); | |
753 HWND GetActiveWindow(); | |
754 COLORREF GetBkColor( | |
755 HDC hdc // handle of device context | |
756 ); | |
757 HWND GetCapture(); | |
758 BOOL GetCaretPos( | |
759 LPPOINT lpPoint // address of structure to receive coordinates | |
760 ); | |
761 BOOL GetCharABCWidthsA( | |
762 HDC hdc, // handle to device context | |
763 UINT uFirstChar, // first character in range to query | |
764 UINT uLastChar, // last character in range to query | |
765 LPABC lpabc // pointer to character-width structure | |
766 ); | |
767 BOOL GetCharABCWidthsW( | |
768 HDC hdc, // handle to device context | |
769 UINT uFirstChar, // first character in range to query | |
770 UINT uLastChar, // last character in range to query | |
771 LPABC lpabc // pointer to character-width structure | |
772 ); | |
773 | |
774 BOOL GetCharWidthA( | |
775 HDC hdc, // handle to device context | |
776 UINT iFirstChar, // first character in range to query | |
777 UINT iLastChar, // last character in range to query | |
778 LPINT lpBuffer // pointer to buffer for widths | |
779 ); | |
780 BOOL GetCharWidthW( | |
781 HDC hdc, // handle to device context | |
782 UINT iFirstChar, // first character in range to query | |
783 UINT iLastChar, // last character in range to query | |
784 LPINT lpBuffer // pointer to buffer for widths | |
785 ); | |
786 DWORD GetCharacterPlacementA( | |
787 HDC hdc, // handle to device context | |
788 LPCSTR lpString, // pointer to string | |
789 int nCount, // number of characters in string | |
790 int nMaxExtent, // maximum extent for displayed string | |
791 LPGCP_RESULTS lpResults, | |
792 // pointer to buffer for placement result | |
793 DWORD dwFlags // placement flags | |
794 ); | |
795 DWORD GetCharacterPlacementW( | |
796 HDC hdc, // handle to device context | |
797 LPCWSTR lpString, // pointer to string | |
798 int nCount, // number of characters in string | |
799 int nMaxExtent, // maximum extent for displayed string | |
800 LPGCP_RESULTS lpResults, | |
801 // pointer to buffer for placement result | |
802 DWORD dwFlags // placement flags | |
803 ); | |
804 BOOL GetClassInfoA( | |
805 HINSTANCE hInstance, // handle of application instance | |
806 LPCSTR lpClassName, // address of class name string | |
807 LPWNDCLASSA lpWndClass // address of structure for class data | |
808 ); | |
809 BOOL GetClassInfoW( | |
810 HINSTANCE hInstance, // handle of application instance | |
811 LPCWSTR lpClassName, // address of class name string | |
812 LPWNDCLASSW lpWndClass // address of structure for class data | |
813 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
814 //alias STDWIN.GetClientRect GetClientRect; |
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
815 //alias STDWIN.GetClipBox GetClipBox; |
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
816 //alias STDWIN.GetClipRgn GetClipRgn; |
3 | 817 HANDLE GetClipboardData( |
818 UINT uFormat // clipboard format | |
819 ); | |
820 int GetClipboardFormatNameA( | |
821 UINT format, // clipboard format to retrieve | |
822 LPSTR lpszFormatName, // address of buffer for name | |
823 int cchMaxCount // length of name string in characters | |
824 ); | |
825 int GetClipboardFormatNameW( | |
826 UINT format, // clipboard format to retrieve | |
827 LPWSTR lpszFormatName, // address of buffer for name | |
828 int cchMaxCount // length of name string in characters | |
829 ); | |
830 BOOL GetComboBoxInfo( | |
831 HWND hwndCombo, | |
832 PCOMBOBOXINFO pcbi | |
833 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
834 //alias STDWIN.GetCurrentObject GetCurrentObject; |
3 | 835 DWORD GetCurrentProcessId(); |
836 DWORD GetCurrentThreadId(); | |
837 HCURSOR GetCursor(); | |
838 BOOL GetCursorPos( | |
839 LPPOINT lpPoint // address of structure for cursor position | |
840 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
841 //alias STDWIN.GetDC GetDC; |
3 | 842 UINT GetDIBColorTable( |
843 HDC hdc, // handle to device context whose DIB is of | |
844 // interest | |
845 UINT uStartIndex, // color table index of first entry to retrieve | |
846 UINT cEntries, // number of color table entries to retrieve | |
847 RGBQUAD *pColors // pointer to buffer that receives color table | |
848 // entries | |
849 ); | |
850 int GetDIBits( | |
851 HDC hdc, // handle to device context | |
852 HBITMAP hbmp, // handle to bitmap | |
853 UINT uStartScan, // first scan line to set in destination bitmap | |
854 UINT cScanLines, // number of scan lines to copy | |
855 LPVOID lpvBits, // address of array for bitmap bits | |
856 LPBITMAPINFO lpbi, // address of structure with bitmap data | |
857 UINT uUsage // RGB or palette index | |
858 ); | |
859 HWND GetDesktopWindow(); | |
860 int GetDialogBaseUnits(); | |
861 int GetDoubleClickTime(); | |
862 DWORD GetFontLanguageInfo( | |
863 HDC hdc // handle to a device context | |
864 ); | |
865 BOOL GetGUIThreadInfo( | |
866 DWORD idThread, | |
867 LPGUITHREADINFO lpgui | |
868 ); | |
869 BOOL GetIconInfo( | |
870 HICON hIcon, // icon handle | |
871 PICONINFO piconinfo // address of icon structure | |
872 ); | |
873 int GetKeyNameTextA( | |
874 LONG lParam, // second parameter of keyboard message | |
875 LPSTR lpString, // pointer to buffer for key name | |
876 int nSize // maximum length of key-name string length | |
877 ); | |
878 int GetKeyNameTextW( | |
879 LONG lParam, // second parameter of keyboard message | |
880 LPWSTR lpString, // pointer to buffer for key name | |
881 int nSize // maximum length of key-name string length | |
882 ); | |
883 HKL GetKeyboardLayout( | |
884 DWORD dwLayout // thread identifier | |
885 ); | |
886 SHORT GetKeyState( | |
887 int nVirtKey // virtual-key code | |
888 ); | |
889 UINT GetKeyboardLayoutList( | |
890 int nBuff, // size of buffer in array element | |
891 HKL *lpList // buffer for keyboard layout handles | |
892 ); | |
893 BOOL GetKeyboardState( | |
894 PBYTE lpKeyState // pointer to array to receive status data | |
895 ); | |
896 HWND GetLastActivePopup(HWND hWnd); | |
897 DWORD GetLastError(); | |
898 DWORD GetLayout( | |
899 HDC hdc // handle to DC | |
900 ); | |
901 int GetLocaleInfoA( | |
902 LCID Locale, // locale identifier | |
903 LCTYPE LCType, // type of information | |
904 LPSTR lpLCData, // address of buffer for information | |
905 int cchData // size of buffer | |
906 ); | |
907 int GetLocaleInfoW( | |
908 LCID Locale, // locale identifier | |
909 LCTYPE LCType, // type of information | |
910 LPWSTR lpLCData, // address of buffer for information | |
911 int cchData // size of buffer | |
912 ); | |
913 HMENU GetMenu( | |
914 HWND hWnd // handle to window | |
915 ); | |
916 BOOL GetMenuBarInfo( | |
917 HWND hwnd, | |
918 LONG idObject, | |
919 LONG idItem, | |
920 PMENUBARINFO pmbi | |
921 ); | |
19 | 922 UINT GetMenuDefaultItem( |
3 | 923 HMENU hMenu, |
924 UINT fByPos, | |
925 UINT gmdiFlags | |
926 ); | |
19 | 927 BOOL GetMenuInfo( |
3 | 928 HMENU hmenu, |
929 LPCMENUINFO lpcmi | |
930 ); | |
931 int GetMenuItemCount(HMENU hMenu); | |
932 BOOL GetMenuItemInfoA( | |
933 HMENU hMenu, | |
934 UINT uItem, | |
935 BOOL fByPosition, | |
936 LPMENUITEMINFO lpmii | |
937 ); | |
938 BOOL GetMenuItemInfoW( | |
939 HMENU hMenu, | |
940 UINT uItem, | |
941 BOOL fByPosition, | |
942 LPMENUITEMINFO lpmii | |
943 ); | |
944 BOOL GetMenuItemRect( | |
19 | 945 HWND hWnd, |
946 HMENU hMenu, | |
947 UINT uItem, | |
948 LPRECT lprcItem | |
3 | 949 ); |
950 BOOL GetMessageW( | |
951 LPMSG lpMsg, // address of structure with message | |
952 HWND hWnd, // handle of window | |
953 UINT wMsgFilterMin, // first message | |
954 UINT wMsgFilterMax // last message | |
955 ); | |
956 DWORD GetMessagePos(); | |
957 LONG GetMessageTime(); | |
958 DWORD GetModuleFileNameA( | |
959 HMODULE hModule, // handle to module to find filename for | |
960 LPSTR lpFilename, // pointer to buffer to receive module path | |
961 DWORD nSize // size of buffer, in characters | |
962 ); | |
963 DWORD GetModuleFileNameW( | |
964 HMODULE hModule, // handle to module to find filename for | |
965 LPWSTR lpFilename, // pointer to buffer to receive module path | |
966 DWORD nSize // size of buffer, in characters | |
967 ); | |
968 HMODULE GetModuleHandleW( | |
969 LPCWSTR lpModuleName | |
970 ); | |
971 BOOL GetMonitorInfoA( | |
972 HMONITOR hMonitor, // handle to display monitor | |
973 LPMONITORINFO lpmi // pointer to display monitor information | |
974 ); | |
975 BOOL GetMonitorInfoW( | |
976 HMONITOR hMonitor, // handle to display monitor | |
977 LPMONITORINFO lpmi // pointer to display monitor information | |
978 ); | |
979 UINT GetNearestPaletteIndex( | |
980 HPALETTE hpal, // handle of logical color palette | |
981 COLORREF crColor // color to be matched | |
982 ); | |
983 BOOL GetOpenFileNameA( | |
984 OPENFILENAMEA* lpofn // address of structure with initialization data | |
985 ); | |
986 BOOL GetOpenFileNameW( | |
987 OPENFILENAMEW* lpofn // address of structure with initialization data | |
988 ); | |
989 UINT GetPaletteEntries( | |
990 HPALETTE hpal, // handle to logical palette | |
991 UINT iStartIndex, // first entry to retrieve | |
992 UINT nEntries, // number of entries to retrieve | |
993 LPPALETTEENTRY lppe // array that receives entries | |
994 ); | |
995 HWND GetParent( | |
996 HWND hWnd // handle to child window | |
997 ); | |
998 | |
999 COLORREF GetPixel( | |
1000 HDC hdc, // handle to device context | |
1001 int XPos, // x-coordinate of pixel | |
1002 int nYPos // y-coordinate of pixel | |
1003 ); | |
1004 HANDLE GetProcessHeap(); | |
1005 DWORD GetProfileStringA( | |
1006 LPCSTR lpAppName, // address of section name | |
1007 LPCSTR lpKeyName, // address of key name | |
1008 LPCSTR lpDefault, // address of default string | |
1009 LPSTR lpReturnedString, // address of destination buffer | |
1010 DWORD nSize // size of destination buffer | |
1011 ); | |
1012 DWORD GetProfileStringW( | |
1013 LPCWSTR lpAppName, // address of section name | |
1014 LPCWSTR lpKeyName, // address of key name | |
1015 LPCWSTR lpDefault, // address of default string | |
1016 LPWSTR lpReturnedString, // address of destination buffer | |
1017 DWORD nSize // size of destination buffer | |
1018 ); | |
1019 int GetROP2( | |
1020 HDC hdc // handle of device context | |
1021 ); | |
1022 int GetRandomRgn( | |
1023 HDC hdc, // handle to DC | |
1024 HRGN hrgn, // handle to region | |
1025 INT iNum // must be SYSRGN | |
1026 ); | |
1027 DWORD GetRegionData( | |
1028 HRGN hRgn, // handle to region | |
1029 DWORD dwCount, // size of buffer containing region data | |
1030 LPRGNDATA lpRgnData // pointer to region data | |
1031 ); | |
1032 int GetRgnBox( | |
1033 HRGN hrgn, // handle to a region | |
1034 LPRECT lprc // pointer that receives bounding rectangle | |
1035 ); | |
1036 BOOL GetSaveFileNameA( | |
1037 OPENFILENAMEA* lpofn // address of structure with initialization data | |
1038 ); | |
1039 BOOL GetSaveFileNameW( | |
1040 OPENFILENAME* lpofn // address of structure with initialization data | |
1041 ); | |
1042 BOOL GetScrollInfo( | |
1043 HWND hwnd, // handle to window with scroll bar | |
1044 int fnBar, // scroll bar flag | |
1045 LPSCROLLINFO lpsi // pointer to structure for scroll parameters | |
1046 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1047 //alias STDWIN.GetStockObject GetStockObject; |
3 | 1048 DWORD GetSysColor( |
1049 int nIndex // display element | |
1050 ); | |
1051 HBRUSH GetSysColorBrush( | |
1052 int nIndex // system color index | |
1053 ); | |
1054 HMENU GetSystemMenu( | |
1055 HWND hWnd, // handle to window to own window menu | |
1056 BOOL bRevert // reset flag | |
1057 ); | |
1058 int GetSystemMetrics( | |
1059 int nIndex // system metric or configuration setting to retrieve | |
1060 ); | |
1061 UINT GetSystemPaletteEntries( | |
1062 HDC hdc, // handle of device context | |
1063 UINT iStartIndex, // index of first entry to be retrieved | |
1064 UINT nEntries, // number of entries to be retrieved | |
1065 LPPALETTEENTRY lppe // array receiving system-palette entries | |
1066 ); | |
1067 int GetTextCharset( | |
1068 HDC hdc // handle to DC | |
1069 ); | |
1070 COLORREF GetTextColor( | |
1071 HDC hdc // handle to device context | |
1072 ); | |
1073 BOOL GetTextExtentPoint32A( | |
1074 HDC hdc, // handle to device context | |
1075 LPCSTR lpString, // pointer to text string | |
1076 int cbString, // number of characters in string | |
1077 LPSIZE lpSize // pointer to structure for string size | |
1078 ); | |
1079 BOOL GetTextExtentPoint32W( | |
1080 HDC hdc, // handle to device context | |
1081 LPCWSTR lpString, // pointer to text string | |
1082 int cbString, // number of characters in string | |
1083 LPSIZE lpSize // pointer to structure for string size | |
1084 ); | |
1085 BOOL GetTextMetricsW( | |
1086 HDC hdc, // handle to device context | |
1087 TEXTMETRICW* lptm // pointer to text metrics structure | |
1088 ); | |
1089 DWORD GetTickCount(); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1090 //alias STDWIN.GetUpdateRect GetUpdateRect; |
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1091 //alias STDWIN.GetUpdateRgn GetUpdateRgn; |
3 | 1092 DWORD GetVersion(); |
1093 BOOL GetVersionExA( | |
1094 LPOSVERSIONINFOA lpVersionInformation // pointer to version information structure | |
1095 ); | |
1096 BOOL GetVersionExW( | |
1097 LPOSVERSIONINFOW lpVersionInformation // pointer to version information structure | |
1098 ); | |
1099 HWND GetWindow( | |
1100 HWND hWnd, // handle to original window | |
1101 UINT uCmd // relationship flag | |
1102 ); | |
1103 LONG GetWindowLongA(HWND hWnd, int nIndex); | |
1104 LONG GetWindowLongW(HWND hWnd, int nIndex); | |
213 | 1105 |
19 | 1106 BOOL GetWindowPlacement( |
3 | 1107 HWND hWnd, |
1108 WINDOWPLACEMENT *lpwndpl | |
1109 ); | |
1110 int GetWindowTextA( | |
1111 HWND hWnd, // handle to window or control with text | |
1112 LPSTR lpString, // address of buffer for text | |
1113 int nMaxCount // maximum number of characters to copy | |
1114 ); | |
1115 int GetWindowTextW( | |
1116 HWND hWnd, // handle to window or control with text | |
1117 LPWSTR lpString, // address of buffer for text | |
1118 int nMaxCount // maximum number of characters to copy | |
1119 ); | |
1120 int GetWindowTextLengthA(HWND hWnd); | |
1121 int GetWindowTextLengthW(HWND hWnd); | |
1122 DWORD GetWindowThreadProcessId( | |
1123 HWND hWnd, // handle to window | |
1124 LPDWORD lpdwProcessId // address of variable for process identifier | |
1125 ); | |
1126 HGLOBAL GlobalAlloc(UINT uFlags, SIZE_T dwBytes); | |
1127 HGLOBAL GlobalFree(HGLOBAL hMem); | |
1128 LPVOID GlobalLock(HGLOBAL hMem); | |
1129 SIZE_T GlobalSize(HGLOBAL hMem); | |
1130 BOOL GlobalUnlock(HGLOBAL hMem); | |
1131 BOOL GradientFill( | |
1132 HDC hdc, | |
1133 PTRIVERTEX pVertex, | |
1134 DWORD dwNumVertex, | |
1135 PVOID pMesh, | |
1136 DWORD dwNumMesh, | |
1137 DWORD dwMode | |
1138 ); | |
1139 LPVOID HeapAlloc( | |
1140 HANDLE hHeap, // handle to the private heap block | |
1141 DWORD dwFlags, // heap allocation control flags | |
1142 DWORD dwBytes // number of bytes to allocate | |
1143 ); | |
1144 BOOL HeapFree( | |
1145 HANDLE hHeap, // handle to the heap | |
1146 DWORD dwFlags, // heap freeing flags | |
1147 LPVOID lpMem // pointer to the memory to free | |
1148 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1149 //alias STDWIN.HideCaret HideCaret; |
3 | 1150 int ImageList_Add( |
1151 HIMAGELIST himl, | |
1152 HBITMAP hbmImage, | |
1153 HBITMAP hbmMask | |
1154 ); | |
1155 int ImageList_AddMasked( | |
1156 HIMAGELIST himl, | |
1157 HBITMAP hbmImage, | |
1158 COLORREF crMask | |
1159 ); | |
1160 HIMAGELIST ImageList_Create( | |
1161 int cx, | |
1162 int cy, | |
1163 UINT flags, | |
1164 int cInitial, | |
1165 int cGrow | |
1166 ); | |
1167 BOOL ImageList_Destroy( | |
1168 HIMAGELIST himl | |
1169 ); | |
1170 HICON ImageList_GetIcon( | |
1171 HIMAGELIST himl, | |
1172 int i, | |
1173 UINT flags | |
1174 ); | |
1175 BOOL ImageList_GetIconSize( | |
1176 HIMAGELIST himl, | |
1177 int *cx, | |
1178 int *cy | |
1179 ); | |
1180 int ImageList_GetImageCount( | |
1181 HIMAGELIST himl | |
1182 ); | |
1183 BOOL ImageList_Remove( | |
1184 HIMAGELIST himl, | |
1185 int i | |
1186 ); | |
1187 BOOL ImageList_Replace( | |
1188 HIMAGELIST himl, | |
1189 int i, | |
1190 HBITMAP hbmImage, | |
1191 HBITMAP hbmMask | |
1192 ); | |
1193 int ImageList_ReplaceIcon( | |
1194 HIMAGELIST himl, | |
1195 int i, | |
1196 HICON hicon | |
1197 ); | |
1198 BOOL ImageList_SetIconSize( | |
1199 HIMAGELIST himl, | |
1200 int cx, | |
1201 int cy | |
1202 ); | |
1203 HIMC ImmAssociateContext( | |
1204 HWND hWnd, | |
1205 HIMC hIMC | |
1206 ); | |
1207 HIMC ImmCreateContext(); | |
1208 int ImmDestroyContext(HIMC hIMC ); | |
1209 BOOL ImmGetCompositionFontA( | |
1210 HIMC hIMC, | |
1211 LPLOGFONTA lplf | |
1212 ); | |
1213 BOOL ImmGetCompositionFontW( | |
1214 HIMC hIMC, | |
1215 LOGFONTW* lplf | |
1216 ); | |
1217 LONG ImmGetCompositionStringA( | |
19 | 1218 HIMC hIMC, |
1219 DWORD dwIndex, | |
1220 LPVOID lpBuf, | |
1221 DWORD dwBufLen | |
3 | 1222 ); |
1223 LONG ImmGetCompositionStringW( | |
19 | 1224 HIMC hIMC, |
1225 DWORD dwIndex, | |
1226 LPVOID lpBuf, | |
1227 DWORD dwBufLen | |
3 | 1228 ); |
1229 HIMC ImmGetContext( | |
1230 HWND hWnd | |
1231 ); | |
1232 BOOL ImmGetConversionStatus( | |
19 | 1233 HIMC hIMC, |
1234 LPDWORD lpfdwConversion, | |
1235 LPDWORD lpfdwSentence | |
3 | 1236 ); |
1237 HWND ImmGetDefaultIMEWnd(HWND hWnd ); | |
1238 BOOL ImmGetOpenStatus( | |
19 | 1239 HIMC hIMC |
3 | 1240 ); |
1241 BOOL ImmReleaseContext( | |
1242 HWND hWnd, | |
1243 HIMC hIMC | |
1244 ); | |
1245 BOOL ImmSetCompositionFontA( | |
1246 HIMC hIMC, | |
1247 LOGFONTA* lplf | |
1248 ); | |
1249 BOOL ImmSetCompositionFontW( | |
1250 HIMC hIMC, | |
1251 LOGFONTW* lplf | |
1252 ); | |
1253 BOOL ImmSetCompositionWindow( | |
1254 HIMC hIMC, | |
1255 LPCOMPOSITIONFORM lpCompForm | |
1256 ); | |
1257 BOOL ImmSetConversionStatus( | |
19 | 1258 HIMC hIMC, |
1259 DWORD fdwConversion, | |
1260 DWORD fdwSentence | |
3 | 1261 ); |
1262 BOOL ImmSetOpenStatus( | |
19 | 1263 HIMC hIMC, |
1264 BOOL fOpen | |
3 | 1265 ); |
1266 void InitCommonControls(); | |
1267 BOOL InitCommonControlsEx( | |
1268 LPINITCOMMONCONTROLSEX lpInitCtrls | |
1269 ); | |
1270 BOOL InsertMenuA( | |
1271 HMENU hMenu, // handle to menu | |
1272 UINT uPosition, // menu item that new menu item precedes | |
1273 UINT uFlags, // menu item flags | |
19 | 1274 UINT uIDNewItem, // menu item identifier or handle to drop-down |
3 | 1275 // menu or submenu |
1276 LPCSTR lpNewItem // menu item content | |
1277 ); | |
1278 BOOL InsertMenuW( | |
1279 HMENU hMenu, // handle to menu | |
1280 UINT uPosition, // menu item that new menu item precedes | |
1281 UINT uFlags, // menu item flags | |
19 | 1282 UINT uIDNewItem, // menu item identifier or handle to drop-down |
3 | 1283 // menu or submenu |
1284 LPCWSTR lpNewItem // menu item content | |
1285 ); | |
1286 | |
1287 BOOL InsertMenuItemA( | |
19 | 1288 HMENU hMenu, |
1289 UINT uItem, | |
1290 BOOL fByPosition, | |
1291 MENUITEMINFOA* lpmii | |
3 | 1292 ); |
1293 BOOL InsertMenuItemW( | |
19 | 1294 HMENU hMenu, |
1295 UINT uItem, | |
1296 BOOL fByPosition, | |
1297 MENUITEMINFOW* lpmii | |
3 | 1298 ); |
1299 BOOL IntersectRect( | |
1300 LPRECT lprcDst, // pointer to structure for intersection | |
1301 RECT *lprcSrc1, // pointer to structure with first rectangle | |
1302 RECT *lprcSrc2 // pointer to structure with second rectangle | |
1303 ); | |
1304 LONG InterlockedIncrement( | |
1305 LPLONG lpAddend // pointer to the variable to increment | |
1306 ); | |
1307 LONG InterlockedDecrement( | |
1308 LPLONG lpAddend // address of the variable to decrement | |
1309 ); | |
1310 BOOL IsDBCSLeadByte( | |
1311 BYTE TestChar // character to test | |
1312 ); | |
1313 BOOL IsIconic( | |
1314 HWND hWnd // handle to window | |
1315 ); | |
1316 BOOL IsWindow( | |
1317 HWND hWnd // handle to window | |
1318 ); | |
1319 BOOL IsWindowEnabled(HWND hWnd); | |
1320 BOOL IsWindowVisible(HWND hWnd); | |
1321 BOOL IsZoomed(HWND hWnd); | |
1322 BOOL KillTimer( | |
1323 HWND hWnd, // handle of window that installed timer | |
1324 UINT uIDEvent // timer identifier | |
1325 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1326 //alias STDWIN.LineTo LineTo; |
3 | 1327 HBITMAP LoadBitmapA( |
1328 HINSTANCE hInstance, // handle to application instance | |
1329 LPCSTR lpBitmapName // name of bitmap resource | |
1330 ); | |
1331 HBITMAP LoadBitmapW( | |
1332 HINSTANCE hInstance, // handle to application instance | |
1333 LPCWSTR lpBitmapName // name of bitmap resource | |
1334 ); | |
1335 HANDLE LoadImageA( | |
1336 HINSTANCE hinst, // handle of the instance containing the image | |
1337 LPCSTR lpszName, // name or identifier of image | |
1338 UINT uType, // type of image | |
1339 int cxDesired, // desired width | |
1340 int cyDesired, // desired height | |
1341 UINT fuLoad // load flags | |
1342 ); | |
1343 HANDLE LoadImageW( | |
1344 HINSTANCE hinst, // handle of the instance containing the image | |
1345 LPCWSTR lpszName, // name or identifier of image | |
1346 UINT uType, // type of image | |
1347 int cxDesired, // desired width | |
1348 int cyDesired, // desired height | |
1349 UINT fuLoad // load flags | |
1350 ); | |
1351 HINSTANCE LoadLibraryW(wchar* lpLibFileName ); | |
1352 HGLOBAL LoadResource( | |
1353 HMODULE hModule, // resource-module handle | |
1354 HRSRC hResInfo // resource handle | |
1355 ); | |
19 | 1356 int LoadStringA( |
3 | 1357 HINSTANCE hInstance, |
1358 UINT uID, | |
1359 LPSTR lpBuffer, | |
1360 int nBufferMax | |
1361 ); | |
19 | 1362 int LoadStringW( |
3 | 1363 HINSTANCE hInstance, |
1364 UINT uID, | |
1365 LPWSTR lpBuffer, | |
1366 int nBufferMax | |
1367 ); | |
1368 HLOCAL LocalFree( | |
1369 HLOCAL hMem // handle to local memory object | |
1370 ); | |
1371 LPVOID LockResource( | |
1372 HGLOBAL hResData // handle to resource to lock | |
1373 ); | |
1374 UINT MapVirtualKeyA( | |
1375 UINT uCode, // virtual-key code or scan code | |
1376 UINT uMapType // translation to perform | |
1377 ); | |
1378 UINT MapVirtualKeyW( | |
1379 UINT uCode, // virtual-key code or scan code | |
1380 UINT uMapType // translation to perform | |
1381 ); | |
1382 BOOL MessageBeep( | |
1383 UINT uType // sound type | |
1384 ); | |
1385 int MessageBoxW( | |
1386 HWND hWnd, // handle of owner window | |
1387 LPCWSTR lpText, // address of text in message box | |
1388 LPCWSTR lpCaption, // address of title of message box | |
1389 UINT uType // style of message box | |
1390 ); | |
1391 HMONITOR MonitorFromWindow( | |
1392 HWND hwnd, // handle to a window | |
1393 DWORD dwFlags // flags if no monitor intersects the window | |
1394 ); | |
1395 DWORD MsgWaitForMultipleObjectsEx( | |
1396 DWORD nCount, // number of handles in handle array | |
1397 LPHANDLE pHandles, // pointer to an object-handle array | |
1398 DWORD dwMilliseconds, // time-out interval in milliseconds | |
1399 DWORD dwWakeMask, // type of input events to wait for | |
1400 DWORD dwFlags // wait flags | |
1401 ); | |
1402 void NotifyWinEvent( | |
1403 DWORD event, | |
1404 HWND hwnd, | |
1405 LONG idObject, | |
1406 LONG idChild | |
1407 ); | |
1408 int OffsetRgn( | |
1409 HRGN hrgn, // handle to region | |
1410 int nXOffset, // offset along x-axis | |
1411 int nYOffset // offset along y-axis | |
1412 ); | |
1413 WINOLEAPI OleInitialize( | |
1414 LPVOID pvReserved //Reserved; must be NULL. | |
1415 ); | |
1416 void OleUninitialize(); | |
19 | 1417 BOOL OpenClipboard( |
3 | 1418 HWND hWndNewOwner |
1419 ); | |
1420 void OutputDebugStringA( | |
1421 LPCSTR lpOutputString | |
1422 ); | |
1423 void OutputDebugStringW( | |
1424 LPCWSTR lpOutputString | |
1425 ); | |
1426 BOOL PatBlt( | |
1427 HDC hdc, // handle to device context | |
1428 int nXLeft, // x-coord. of upper-left corner of rect. to be filled | |
1429 int nYLeft, // y-coord. of upper-left corner of rect. to be filled | |
1430 int nWidth, // width of rectangle to be filled | |
1431 int nHeight, // height of rectangle to be filled | |
1432 DWORD dwRop // raster operation code | |
1433 ); | |
1434 BOOL PeekMessageW( | |
1435 LPMSG lpMsg, // pointer to structure for message | |
1436 HWND hWnd, // handle to window | |
1437 UINT wMsgFilterMin, // first message | |
1438 UINT wMsgFilterMax, // last message | |
1439 UINT wRemoveMsg // removal flags | |
1440 ); | |
1441 BOOL Pie( | |
1442 HDC hdc, // handle to device context | |
1443 int nLeftRect, // x-coord of bounding rectangle's upper-left corner | |
1444 int nTopRect, // y-coord of bounding rectangle's upper-left corner | |
1445 int nRightRect, // x-coord of bounding rectangle's lower-right corner | |
1446 int nBottomRect, // y-coord of bounding rectangle's lower-right corner | |
1447 int nXRadial1, // x-coord of first radial's endpoint | |
1448 int nYRadial1, // y-coord of first radial's endpoint | |
1449 int nXRadial2, // x-coord of second radial's endpoint | |
1450 int nYRadial2 // y-coord of second radial's endpoint | |
1451 ); | |
1452 BOOL Polygon( | |
1453 HDC hdc, // handle to device context | |
1454 POINT *lpPoints, // pointer to polygon's vertices | |
1455 int nCount // count of polygon's vertices | |
1456 ); | |
1457 BOOL Polyline( | |
1458 HDC hdc, // handle to device context | |
1459 POINT *lppt, // pointer to array containing endpoints | |
1460 int cPoints // number of points in the array | |
1461 ); | |
19 | 1462 BOOL PostMessageA( |
3 | 1463 HWND hWnd, |
1464 UINT Msg, | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1465 WPARAM wParam, |
3 | 1466 LPARAM lParam |
1467 ); | |
19 | 1468 BOOL PostMessageW( |
3 | 1469 HWND hWnd, |
1470 UINT Msg, | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1471 WPARAM wParam, |
3 | 1472 LPARAM lParam |
1473 ); | |
1474 BOOL PostThreadMessageA( | |
1475 DWORD idThread, | |
1476 UINT Msg, | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1477 WPARAM wParam, |
3 | 1478 LPARAM lParam |
1479 ); | |
1480 BOOL PostThreadMessageW( | |
1481 DWORD idThread, | |
1482 UINT Msg, | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1483 WPARAM wParam, |
3 | 1484 LPARAM lParam |
1485 ); | |
1486 BOOL PtInRect( | |
1487 RECT *lprc, // rectangle | |
1488 POINT pt // point | |
1489 ); | |
1490 BOOL PtInRegion( | |
1491 HRGN hrgn, // handle to region | |
1492 int X, // x-coordinate of point | |
1493 int Y // y-coordinate of point | |
1494 ); | |
1495 UINT RealizePalette( | |
1496 HDC hdc // handle of device context | |
1497 ); | |
1498 BOOL RectInRegion( | |
1499 HRGN hrgn, // handle to region | |
1500 RECT *lprc // pointer to rectangle | |
1501 ); | |
1502 BOOL Rectangle( | |
1503 HDC hdc, // handle to device context | |
1504 int nLeftRect, // x-coord of bounding rectangle's upper-left corner | |
1505 int nTopRect, // y-coord of bounding rectangle's upper-left corner | |
1506 int nRightRect, // x-coord of bounding rectangle's lower-right corner | |
1507 int nBottomRect // y-coord of bounding rectangle's lower-right corner | |
1508 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1509 //alias STDWIN.RedrawWindow RedrawWindow; |
3 | 1510 LONG RegCloseKey( |
1511 HKEY hKey | |
1512 ); | |
1513 LONG RegEnumKeyExA( | |
1514 HKEY hKey, | |
1515 DWORD dwIndex, | |
1516 LPSTR lpName, | |
1517 LPDWORD lpcName, | |
1518 LPDWORD lpReserved, | |
1519 LPSTR lpClass, | |
1520 LPDWORD lpcClass, | |
1521 PFILETIME lpftLastWriteTime | |
1522 ); | |
1523 LONG RegEnumKeyExW( | |
1524 HKEY hKey, | |
1525 DWORD dwIndex, | |
1526 LPWSTR lpName, | |
1527 LPDWORD lpcName, | |
1528 LPDWORD lpReserved, | |
1529 LPWSTR lpClass, | |
1530 LPDWORD lpcClass, | |
1531 PFILETIME lpftLastWriteTime | |
1532 ); | |
1533 LONG RegOpenKeyExA( | |
1534 HKEY hKey, | |
1535 LPSTR lpSubKey, | |
1536 DWORD ulOptions, | |
1537 REGSAM samDesired, | |
1538 PHKEY phkResult | |
1539 ); | |
1540 LONG RegOpenKeyExW( | |
1541 HKEY hKey, | |
1542 LPWSTR lpSubKey, | |
1543 DWORD ulOptions, | |
1544 REGSAM samDesired, | |
1545 PHKEY phkResult | |
1546 ); | |
1547 | |
1548 LONG RegQueryInfoKeyA( | |
1549 HKEY hKey, | |
1550 LPSTR lpClass, | |
1551 LPDWORD lpcClass, | |
1552 LPDWORD lpReserved, | |
1553 LPDWORD lpcSubKeys, | |
1554 LPDWORD lpcMaxSubKeyLen, | |
1555 LPDWORD lpcMaxClassLen, | |
1556 LPDWORD lpcValues, | |
1557 LPDWORD lpcMaxValueNameLen, | |
1558 LPDWORD lpcMaxValueLen, | |
1559 LPDWORD lpcbSecurityDescriptor, | |
1560 PFILETIME lpftLastWriteTime | |
1561 ); | |
1562 LONG RegQueryInfoKeyW( | |
1563 HKEY hKey, | |
1564 LPWSTR lpClass, | |
1565 LPDWORD lpcClass, | |
1566 LPDWORD lpReserved, | |
1567 LPDWORD lpcSubKeys, | |
1568 LPDWORD lpcMaxSubKeyLen, | |
1569 LPDWORD lpcMaxClassLen, | |
1570 LPDWORD lpcValues, | |
1571 LPDWORD lpcMaxValueNameLen, | |
1572 LPDWORD lpcMaxValueLen, | |
1573 LPDWORD lpcbSecurityDescriptor, | |
1574 PFILETIME lpftLastWriteTime | |
1575 ); | |
1576 | |
1577 LONG RegQueryValueExA( | |
1578 HKEY hKey, | |
1579 LPCSTR lpValueName, | |
1580 LPDWORD lpReserved, | |
1581 LPDWORD lpType, | |
1582 LPBYTE lpData, | |
1583 LPDWORD lpcbData | |
1584 ); | |
1585 LONG RegQueryValueExW( | |
1586 HKEY hKey, | |
1587 LPCWSTR lpValueName, | |
1588 LPDWORD lpReserved, | |
1589 LPDWORD lpType, | |
1590 LPBYTE lpData, | |
1591 LPDWORD lpcbData | |
1592 ); | |
1593 | |
19 | 1594 ATOM RegisterClassA( |
3 | 1595 WNDCLASSA *lpWndClass |
1596 ); | |
19 | 1597 ATOM RegisterClassW( |
3 | 1598 WNDCLASSW *lpWndClass |
1599 ); | |
19 | 1600 UINT RegisterClipboardFormatA( |
3 | 1601 LPCSTR lpszFormat |
1602 ); | |
19 | 1603 UINT RegisterClipboardFormatW( |
3 | 1604 LPCWSTR lpszFormat |
1605 ); | |
19 | 1606 UINT RegisterWindowMessageA( |
3 | 1607 LPCSTR lpString |
1608 ); | |
19 | 1609 UINT RegisterWindowMessageW( |
3 | 1610 LPCWSTR lpString |
1611 ); | |
1612 BOOL ReleaseCapture(); | |
19 | 1613 BOOL RemoveMenu( |
3 | 1614 HMENU hMenu, |
1615 UINT uPosition, | |
1616 UINT uFlags | |
1617 ); | |
1618 BOOL RestoreDC( | |
1619 HDC hdc, // handle to DC | |
1620 int nSavedDC // restore state | |
1621 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1622 //alias STDWIN.RoundRect RoundRect; |
3 | 1623 |
1624 // basic | |
1625 void RtlMoveMemory(void* Destination, void* Source, DWORD Length); | |
1626 // extends | |
1627 void RtlMoveMemory(int Destination, void* Source, DWORD Length); | |
1628 void RtlMoveMemory(void* Destination, int Source, DWORD Length); | |
1629 void RtlMoveMemory(int Destination, int Source, DWORD Length); | |
1630 | |
19 | 1631 LPITEMIDLIST SHBrowseForFolderA( |
3 | 1632 BROWSEINFOA* lpbi |
1633 ); | |
19 | 1634 LPITEMIDLIST SHBrowseForFolderW( |
3 | 1635 BROWSEINFOW* lpbi |
1636 ); | |
1637 version(WinCE){ | |
1638 int SHCreateMenuBar(SHMENUBARINFO* pmb); | |
1639 } | |
19 | 1640 HRESULT SHGetMalloc( |
3 | 1641 // LPMALLOC *ppMalloc |
1642 LPVOID *ppMalloc | |
1643 ); | |
19 | 1644 BOOL SHGetPathFromIDListA( |
3 | 1645 LPCITEMIDLIST pidl, |
1646 LPSTR pszPath | |
1647 ); | |
19 | 1648 BOOL SHGetPathFromIDListW( |
3 | 1649 LPCITEMIDLIST pidl, |
1650 LPWSTR pszPath | |
1651 ); | |
1652 version(WinCE) | |
1653 { | |
1654 int SHHandleWMSettingChange(HWND hwnd, int wParam, int lParam, void* psai); | |
1655 int SHRecognizeGesture(void* shrg); | |
1656 void SHSendBackToFocusWindow(int uMsg, int wp, int lp); | |
1657 int SHSetAppKeyWndAssoc(byte bVk, HWND hwnd); | |
1658 int SHSipPreference(HWND hwnd, int st); | |
1659 } | |
1660 | |
19 | 1661 // USP methods (Unicode Complex Script processor) |
1662 HRESULT ScriptBreak( | |
1663 WCHAR *pwcChars, | |
1664 int cChars, | |
1665 SCRIPT_ANALYSIS *psa, | |
1666 SCRIPT_LOGATTR *psla | |
3 | 1667 ); |
19 | 1668 HRESULT ScriptCPtoX( |
1669 int iCP, | |
1670 BOOL fTrailing, | |
1671 int cChars, | |
1672 int cGlyphs, | |
1673 WORD *pwLogClust, | |
1674 SCRIPT_VISATTR *psva, | |
1675 int *piAdvance, | |
1676 SCRIPT_ANALYSIS *psa, | |
1677 int *piX | |
3 | 1678 ); |
1679 HRESULT ScriptCacheGetHeight( | |
19 | 1680 HDC hdc, |
1681 SCRIPT_CACHE *psc, | |
1682 long *tmHeight | |
3 | 1683 ); |
1684 HRESULT ScriptFreeCache( | |
19 | 1685 SCRIPT_CACHE *psc |
3 | 1686 ); |
1687 HRESULT ScriptGetFontProperties( | |
19 | 1688 HDC hdc, |
1689 SCRIPT_CACHE *psc, | |
1690 SCRIPT_FONTPROPERTIES *sfp | |
3 | 1691 ); |
1692 HRESULT ScriptGetLogicalWidths( | |
1693 SCRIPT_ANALYSIS *psa, | |
1694 int cChars, | |
1695 int cGlyphs, | |
1696 int *piGlyphWidth, | |
1697 WORD *pwLogClust, | |
1698 SCRIPT_VISATTR *psva, | |
1699 int *piDx | |
1700 ); | |
1701 HRESULT ScriptGetProperties( | |
19 | 1702 SCRIPT_PROPERTIES ***ppSp, |
1703 int *piNumScripts | |
3 | 1704 ); |
249 | 1705 HRESULT ScriptGetCMap( |
1706 HDC hdc, | |
1707 SCRIPT_CACHE* psc, | |
1708 WCHAR* pwcInChars, | |
1709 int cChars, | |
1710 DWORD dwFlags, | |
1711 WORD* pwOutGlyphs | |
1712 ); | |
1713 HRESULT ScriptStringAnalyse( | |
1714 HDC hdc, | |
1715 void* pString, | |
1716 int cString, | |
1717 int cGlyphs, | |
1718 int iCharset, | |
1719 DWORD dwFlags, | |
1720 int iReqWidth, | |
1721 SCRIPT_CONTROL* psControl, | |
1722 SCRIPT_STATE* psState, | |
1723 int* piDx, | |
1724 SCRIPT_TABDEF* pTabdef, | |
1725 BYTE* pbInClass, | |
1726 SCRIPT_STRING_ANALYSIS* pssa | |
1727 ); | |
1728 HRESULT ScriptStringOut( | |
1729 SCRIPT_STRING_ANALYSIS ssa, | |
1730 int iX, | |
1731 int iY, | |
1732 UINT uOptions, | |
1733 RECT* prc, | |
1734 int iMinSel, | |
1735 int iMaxSel, | |
1736 BOOL fDisabled | |
1737 ); | |
1738 HRESULT ScriptStringFree( | |
1739 SCRIPT_STRING_ANALYSIS* pssa | |
1740 ); | |
1741 | |
3 | 1742 HRESULT ScriptItemize( |
19 | 1743 WCHAR *pwcInChars, |
1744 int cInChars, | |
1745 int cMaxItems, | |
1746 SCRIPT_CONTROL *psControl, | |
1747 SCRIPT_STATE *psState, | |
1748 SCRIPT_ITEM *pItems, | |
1749 int *pcItems | |
3 | 1750 ); |
1751 HRESULT ScriptLayout( | |
19 | 1752 int cRuns, |
1753 BYTE *pbLevel, | |
1754 int *piVisualToLogical, | |
1755 int *piLogicalToVisual | |
3 | 1756 ); |
1757 HRESULT ScriptPlace( | |
19 | 1758 HDC hdc, |
1759 SCRIPT_CACHE *psc, | |
1760 WORD *pwGlyphs, | |
1761 int cGlyphs, | |
1762 SCRIPT_VISATTR *psva, | |
1763 SCRIPT_ANALYSIS *psa, | |
1764 int *piAdvance, | |
1765 GOFFSET *pGoffset, | |
1766 ABC *pABC | |
3 | 1767 ); |
1768 HRESULT ScriptShape( | |
19 | 1769 HDC hdc, // in |
3 | 1770 SCRIPT_CACHE *psc, // in/out |
19 | 1771 WCHAR *pwcChars, // |
1772 int cChars, | |
1773 int cMaxGlyphs, | |
1774 SCRIPT_ANALYSIS *psa, | |
1775 WORD *pwOutGlyphs, | |
1776 WORD *pwLogClust, | |
1777 SCRIPT_VISATTR *psva, | |
1778 int *pcGlyphs | |
3 | 1779 ); |
1780 HRESULT ScriptTextOut( | |
1781 HDC hdc, // const | |
19 | 1782 SCRIPT_CACHE *psc, |
1783 int x, | |
1784 int y, | |
1785 UINT fuOptions, | |
3 | 1786 RECT *lprc, // const |
1787 SCRIPT_ANALYSIS *psa, // const | |
1788 WCHAR *pwcReserved, // const | |
19 | 1789 int iReserved, |
1790 WORD *pwGlyphs, // | |
1791 int cGlyphs, | |
3 | 1792 int *piAdvance, // const |
1793 int *piJustify, // const | |
1794 GOFFSET *pGoffset // const | |
1795 ); | |
1796 HRESULT ScriptXtoCP( | |
19 | 1797 int iX, |
1798 int cChars, | |
1799 int cGlyphs, | |
1800 WORD *pwLogClust, // | |
1801 SCRIPT_VISATTR *psva, // | |
1802 int *piAdvance, // | |
1803 SCRIPT_ANALYSIS *psa, // | |
1804 int *piCP, | |
1805 int *piTrailing | |
3 | 1806 ); |
19 | 1807 UINT SendInput( |
3 | 1808 UINT nInputs, |
1809 LPINPUT pInputs, | |
1810 int cbSize | |
1811 ); | |
1812 // the basic | |
1813 int SendMessageA(HWND hWnd, int msg, int wParam, int lParam ); | |
1814 int SendMessageW(HWND hWnd, int msg, int wParam, int lParam ); | |
1815 | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1816 int SendMessageA(HWND hWnd, UINT Msg, WPARAM wParam, void* lParam ); |
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1817 int SendMessageW(HWND hWnd, UINT Msg, WPARAM wParam, void* lParam ); |
3 | 1818 int SendMessageA(HWND hWnd, UINT Msg, void* wParam, LPARAM lParam ); |
1819 int SendMessageW(HWND hWnd, UINT Msg, void* wParam, LPARAM lParam ); | |
1820 int SendMessageA(HWND hWnd, UINT Msg, void* wParam, void* lParam ); | |
1821 int SendMessageW(HWND hWnd, UINT Msg, void* wParam, void* lParam ); | |
1822 | |
19 | 1823 HWND SetCapture( |
3 | 1824 HWND hWnd |
1825 ); | |
19 | 1826 BOOL SetCaretPos( |
3 | 1827 int X, |
1828 int Y | |
1829 ); | |
19 | 1830 HANDLE SetClipboardData( |
3 | 1831 UINT uFormat, |
1832 HANDLE hMem | |
1833 ); | |
1834 UINT SetDIBColorTable( | |
1835 HDC hdc, // handle to device context whose DIB is of interest | |
1836 UINT uStartIndex, // color table index of first entry to set | |
1837 UINT cEntries, // number of color table entries to set | |
1838 RGBQUAD *pColors // pointer to array of color table entries | |
1839 ); | |
1840 UINT SetErrorMode( | |
1841 UINT uMode | |
1842 ); | |
1843 BOOL SetEvent( | |
1844 HANDLE hEvent // handle to event object | |
1845 ); | |
1846 void SetLastError( | |
1847 DWORD dwErrCode | |
1848 ); | |
1849 DWORD SetLayout( | |
1850 HDC hdc, // handle to DC | |
1851 DWORD dwLayout // layout options | |
1852 ); | |
19 | 1853 BOOL SetMenu( |
3 | 1854 HWND hWnd, |
1855 HMENU hMenu | |
1856 ); | |
19 | 1857 BOOL SetMenuDefaultItem( |
3 | 1858 HMENU hMenu, |
1859 UINT uItem, | |
1860 UINT fByPos | |
1861 ); | |
19 | 1862 BOOL SetMenuInfo( |
3 | 1863 HMENU hmenu, |
1864 LPCMENUINFO lpcmi | |
1865 ); | |
19 | 1866 BOOL SetMenuItemInfoA( |
3 | 1867 HMENU hMenu, |
1868 UINT uItem, | |
1869 BOOL fByPosition, | |
1870 LPMENUITEMINFOA lpmii | |
1871 ); | |
19 | 1872 BOOL SetMenuItemInfoW( |
3 | 1873 HMENU hMenu, |
1874 UINT uItem, | |
1875 BOOL fByPosition, | |
1876 LPMENUITEMINFOW lpmii | |
1877 ); | |
1878 UINT SetPaletteEntries( | |
1879 HPALETTE hpal, // handle to logical palette | |
1880 UINT iStart, // index of first entry to set | |
1881 UINT cEntries, // number of entries to set | |
1882 PALETTEENTRY *lppe // array of palette entries | |
1883 ); | |
19 | 1884 HWND SetParent( |
3 | 1885 HWND hWndChild, |
1886 HWND hWndNewParent | |
1887 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1888 // alias STDWIN.SetPixel SetPixel; |
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1889 // alias STDWIN.SetROP2 SetROP2; |
3 | 1890 BOOL SetRect( |
1891 LPRECT lprc, // rectangle | |
1892 int xLeft, // left side | |
1893 int yTop, // top side | |
1894 int xRight, // right side | |
1895 int yBottom // bottom side | |
1896 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1897 // alias STDWIN.SetRectRgn SetRectRgn; |
19 | 1898 int SetScrollInfo( |
3 | 1899 HWND hwnd, |
1900 int fnBar, | |
1901 LPCSCROLLINFO lpsi, | |
1902 BOOL fRedraw | |
1903 ); | |
19 | 1904 UINT_PTR SetTimer( |
3 | 1905 HWND hWnd, |
1906 UINT_PTR nIDEvent, | |
1907 UINT uElapse, | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1908 TIMERPROC lpTimerFunc |
3 | 1909 ); |
19 | 1910 LONG SetWindowLongA( |
3 | 1911 HWND hWnd, |
1912 int nIndex, | |
1913 LONG dwNewLong | |
1914 ); | |
19 | 1915 LONG SetWindowLongW( |
3 | 1916 HWND hWnd, |
1917 int nIndex, | |
1918 LONG dwNewLong | |
1919 ); | |
213 | 1920 |
19 | 1921 BOOL SetWindowPlacement( |
3 | 1922 HWND hWnd, |
1923 WINDOWPLACEMENT *lpwndpl | |
1924 ); | |
1925 BOOL SetWindowPos( | |
1926 HWND hWnd, // handle to window | |
1927 HWND hWndInsertAfter, // placement-order handle | |
1928 int X, // horizontal position | |
1929 int Y, // vertical position | |
1930 int cx, // width | |
1931 int cy, // height | |
1932 UINT uFlags // window-positioning flags | |
1933 ); | |
19 | 1934 BOOL SetWindowTextA( |
3 | 1935 HWND hWnd, |
1936 LPCSTR lpString | |
1937 ); | |
19 | 1938 BOOL SetWindowTextW( |
3 | 1939 HWND hWnd, |
1940 LPCWSTR lpString | |
1941 ); | |
1942 HHOOK SetWindowsHookExA( | |
1943 int idHook, // type of hook to install | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1944 HOOKPROC lpfn, // address of hook procedure |
3 | 1945 HINSTANCE hMod, // handle to application instance |
1946 DWORD dwThreadId // identity of thread to install hook for | |
1947 ); | |
1948 HHOOK SetWindowsHookExW( | |
1949 int idHook, // type of hook to install | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1950 HOOKPROC lpfn, // address of hook procedure |
3 | 1951 HINSTANCE hMod, // handle to application instance |
1952 DWORD dwThreadId // identity of thread to install hook for | |
1953 ); | |
19 | 1954 BOOL ShellExecuteExA( |
3 | 1955 LPSHELLEXECUTEINFOA lpExecInfo |
1956 ); | |
19 | 1957 BOOL ShellExecuteExW( |
3 | 1958 LPSHELLEXECUTEINFOW lpExecInfo |
1959 ); | |
19 | 1960 BOOL Shell_NotifyIconA( |
3 | 1961 DWORD dwMessage, |
1962 PNOTIFYICONDATAA lpdata | |
1963 ); | |
19 | 1964 BOOL Shell_NotifyIconW( |
3 | 1965 DWORD dwMessage, |
1966 PNOTIFYICONDATAW lpdata | |
1967 ); | |
19 | 1968 BOOL ShowOwnedPopups( |
3 | 1969 HWND hWnd, |
1970 BOOL fShow | |
1971 ); | |
1972 version(WinCE) | |
1973 { | |
1974 BOOL SipGetInfo( | |
1975 SIPINFO *pSipInfo | |
1976 ); | |
1977 } | |
1978 DWORD SizeofResource( | |
1979 HMODULE hModule, // resource-module handle | |
1980 HRSRC hResInfo // resource handle | |
1981 ); | |
1982 void Sleep( | |
1983 DWORD dwMilliseconds | |
1984 ); | |
1985 int StartDocA( | |
1986 HDC hdc, // handle to DC | |
1987 DOCINFOA* lpdi // contains file names | |
1988 ); | |
1989 int StartDocW( | |
1990 HDC hdc, // handle to DC | |
1991 DOCINFOW* lpdi // contains file names | |
1992 ); | |
1993 int StartPage( | |
1994 HDC hDC // handle to DC | |
1995 ); | |
128
07e8963537b7
removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
Frank Benoit <benoit@tionex.de>
parents:
89
diff
changeset
|
1996 // alias STDWIN.StretchBlt StretchBlt; |
3 | 1997 BOOL SystemParametersInfoA( |
1998 UINT uiAction, | |
1999 UINT uiParam, | |
2000 PVOID pvParam, | |
2001 UINT fWinIni | |
2002 ); | |
2003 BOOL SystemParametersInfoW( | |
2004 UINT uiAction, | |
2005 UINT uiParam, | |
2006 PVOID pvParam, | |
2007 UINT fWinIni | |
2008 ); | |
19 | 2009 int ToAscii( |
3 | 2010 UINT uVirtKey, |
2011 UINT uScanCode, | |
2012 PBYTE lpKeyState, | |
2013 LPWORD lpChar, | |
2014 UINT uFlags | |
2015 ); | |
19 | 2016 int ToUnicode( |
3 | 2017 UINT wVirtKey, |
2018 UINT wScanCode, | |
2019 PBYTE lpKeyState, | |
2020 LPWSTR pwszBuff, | |
2021 int cchBuff, | |
2022 UINT wFlags | |
2023 ); | |
2024 BOOL TrackMouseEvent( | |
2025 LPTRACKMOUSEEVENT lpEventTrack // pointer to a TRACKMOUSEEVENT structure | |
2026 ); | |
2027 int TranslateAcceleratorA( | |
2028 HWND hWnd, // handle to destination window | |
2029 HACCEL hAccTable, // handle to accelerator table | |
2030 LPMSG lpMsg // address of structure with message | |
2031 ); | |
2032 int TranslateAcceleratorW( | |
2033 HWND hWnd, // handle to destination window | |
2034 HACCEL hAccTable, // handle to accelerator table | |
2035 LPMSG lpMsg // address of structure with message | |
2036 ); | |
2037 UINT TranslateCharsetInfo( | |
19 | 2038 DWORD *lpSrc, |
2039 LPCHARSETINFO lpCs, | |
2040 DWORD dwFlags | |
3 | 2041 ); |
19 | 2042 BOOL TranslateMDISysAccel( |
3 | 2043 HWND hWndClient, |
2044 LPMSG lpMsg | |
2045 ); | |
2046 BOOL TranslateMessage( | |
2047 MSG *lpMsg // address of structure with message | |
2048 ); | |
2049 version(WinCE) | |
2050 { | |
2051 BOOL TransparentImage( | |
19 | 2052 HDC hdcDest, |
2053 LONG DstX, | |
2054 LONG DstY, | |
2055 LONG DstCx, | |
3 | 2056 LONG DstCy, |
19 | 2057 HANDLE hSrc, |
2058 LONG SrcX, | |
2059 LONG SrcY, | |
2060 LONG SrcCx, | |
2061 LONG SrcCy, | |
3 | 2062 COLORREF TransparentColor |
2063 ); | |
2064 } | |
2065 BOOL UnhookWindowsHookEx( | |
2066 HHOOK hhk // handle to hook procedure to remove | |
2067 ); | |
2068 BOOL UnregisterClassA( | |
2069 LPCSTR lpClassName, // address of class name string | |
2070 HINSTANCE hInstance // handle of application instance | |
2071 ); | |
2072 BOOL UnregisterClassW( | |
2073 LPCWSTR lpClassName, // address of class name string | |
2074 HINSTANCE hInstance // handle of application instance | |
2075 ); | |
2076 SHORT VkKeyScanA(char ch); | |
2077 SHORT VkKeyScanW(wchar ch); | |
2078 BOOL WaitMessage(); | |
213 | 2079 |
2080 BOOL GetScrollBarInfo( | |
2081 HWND hwnd, | |
2082 LONG idObject, | |
2083 PSCROLLBARINFO psbi | |
2084 ); | |
2085 | |
3 | 2086 } |
2087 | |
2088 extern (C) | |
2089 { | |
2090 int wcslen(wchar* string); | |
2091 } |