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