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