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