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