1
2
3
4
5
6 public extern cdecl void WinSetInstance();
7 public extern cdecl nothrow ulong WinGetLastError();
8 public extern cdecl nothrow void WinFormatMessage(ulong errorCode, wchar* buffer);
9 public extern cdecl nothrow void* WinCreateEvent();
10 public extern cdecl nothrow bool WinSetEvent(void* eventHandle);
11 public extern cdecl nothrow bool WinResetEvent(void* eventHandle);
12 public extern cdecl nothrow bool WinWaitEvent(void* eventHandle);
13 public extern cdecl nothrow bool WinCloseHandle(void* handle);
14 public extern cdecl nothrow int WinWaitForMultipleObjects(uint count, void** handles);
15 public extern cdecl nothrow void* WinFindFirstChangeNotification(const char* directoryPath);
16 public extern cdecl nothrow bool WinFindNextChangeNotification(void* handle);
17 public extern cdecl nothrow bool WinFindCloseChangeNotification(void* handle);
18 public extern cdecl nothrow bool WinShellExecute(const char* filePath, long& errorCode);
19 public extern cdecl nothrow int WinInit(void* messageProcessorFunctionAddress, void* keyPreviewFunctionAddress);
20 public extern cdecl nothrow int WinRun();
21 public extern cdecl nothrow void WinDone();
22 public extern cdecl nothrow int WinApplicationMessageLoop();
23 public extern cdecl nothrow void WinRunModal();
24 public extern cdecl nothrow void* WinGetForegroundWindow();
25 public extern cdecl nothrow bool WinEnableWindow(void* windowHandle, bool enable);
26 public extern cdecl nothrow int WinDialogWindowMessageLoop(void* windowHandle, void* parentWindowHandle, void* getDialogResultFunc, void* keyPreviewFunc, void* dialogWindowPtr);
27 public extern cdecl nothrow ushort WinRegisterWindowClass(const char* windowClassName, uint style, int backgroundColor);
28 public extern cdecl nothrow void* WinCreateWindowByClassAtom(ushort windowClass, const char* windowName, long style, long exStyle, int x, int y, int w, int h, void* parentHandle);
29 public extern cdecl nothrow void* WinCreateWindowByClassName(const char* windowClass, const char* windowName, long style, long exStyle, int x, int y, int w, int h, void* parentHandle);
30 public extern cdecl nothrow void WinDestroyWindow(void* windowHandle);
31 public extern cdecl nothrow void* WinSubClassCommandWndProc(void* windowHandle);
32 public extern cdecl nothrow void WinRestoreOriginalWndProc(void* windowHandle, void* originalWndProc);
33 public extern cdecl nothrow int WinShowMessageBox(const char* text, const char* caption);
34 public extern cdecl nothrow int WinShowMessageBoxWithType(const char* text, const char* caption, void* ownerWindowHandle, uint type);
35 public extern cdecl nothrow bool WinMessageBeep(uint beepType);
36 public extern cdecl nothrow void WinPostQuitMessage(int exitCode);
37 public extern cdecl nothrow bool WinPostMessage(void* windowHandle, uint msg, uint wparam, long lparam);
38 public extern cdecl nothrow long WinSendMessage(void* windowHandle, uint msg, uint wparam, long lparam);
39 public extern cdecl nothrow bool WinShowWindow(void* windowHandle, int commandShow);
40 public extern cdecl nothrow bool WinUpdateWindow(void* windowHandle);
41 public extern cdecl nothrow bool WinMoveWindow(void* windowHandle, int x, int y, int w, int h, bool repaint);
42 public extern cdecl nothrow bool WinGetClientRect(void* windowHandle, void* rect);
43 public extern cdecl nothrow bool WinGetWindowRect(void* windowHandle, void* rect);
44 public extern cdecl nothrow bool WinClientToScreen(void* windowHandle, void* point);
45 public extern cdecl nothrow bool WinScreenToClient(void* windowHandle, void* point);
46 public extern cdecl nothrow bool WinPtInRect(void* rect, void* point);
47 public extern cdecl nothrow bool WinSetWindowText(void* windowHandle, const char* text);
48 public extern cdecl nothrow int WinGetWindowTextLength(void* windowHandle);
49 public extern cdecl nothrow int WinGetWindowText(void* windowHandle, const wchar* textBuffer, int maxCount);
50 public extern cdecl nothrow void* WinGetDC(void* windowHandle);
51 public extern cdecl nothrow int WinReleaseHDC(void* windowHandle, void* hdc);
52 public extern cdecl nothrow bool WinTrackMouseEvent(void* windowHandle, uint flags, uint hoverTimeMs);
53 public extern cdecl nothrow void* WinSetParent(void* childWindowHandle, void* parentWindowHandle);
54 public extern cdecl nothrow void* WinBeginPaint(void* windowHandle, void*& paintStruct);
55 public extern cdecl nothrow void WinEndPaint(void* windowHandle, void* paintStruct);
56 public extern cdecl nothrow void WinGetClipRect(void* paintStruct, int& x, int& y, int& w, int& h);
57 public extern cdecl nothrow bool WinInvalidateRect(void* windowHandle, void* rect, bool eraseBackground);
58 public extern cdecl nothrow void* WinCreateGraphics(void* hdc);
59 public extern cdecl nothrow void WinDeleteGraphics(void* nativeGraphics);
60 public extern cdecl nothrow void* WinCreateGraphicsFromWindowHandle(void* windowHandle);
61 public extern cdecl nothrow void* WinCreateGraphicsFromImage(void* image);
62 public extern cdecl nothrow int WinGraphicsGetLastStatus(void* graphics);
63 public extern cdecl nothrow void* WinGraphicsGetHDC(void* graphics);
64 public extern cdecl nothrow void* WinGraphicsCreatePen(byte alpha, byte red, byte green, byte blue, float width);
65 public extern cdecl nothrow void* WinGraphicsClonePen(void* pen);
66 public extern cdecl nothrow void WinGraphicsDeletePen(void* pen);
67 public extern cdecl nothrow int WinGraphicsPenGetLastStatus(void* pen);
68 public extern cdecl nothrow int WinGraphicsPenGetAlignment(void* pen);
69 public extern cdecl nothrow int WinGraphicsPenSetAlignment(void* pen, int alignment);
70 public extern cdecl nothrow void* WinGraphicsPenGetBrush(void* pen);
71 public extern cdecl nothrow int WinGraphicsPenSetBrush(void* pen, void* brush);
72 public extern cdecl nothrow int WinGraphicsPenGetColor(void* pen, byte& alpha, byte& red, byte& green, byte& blue);
73 public extern cdecl nothrow int WinGraphicsPenSetColor(void* pen, byte alpha, byte red, byte green, byte blue);
74 public extern cdecl nothrow int WinGraphicsPenGetStartCap(void* pen);
75 public extern cdecl nothrow int WinGraphicsPenSetStartCap(void* pen, int startCap);
76 public extern cdecl nothrow int WinGraphicsPenGetEndCap(void* pen);
77 public extern cdecl nothrow int WinGraphicsPenSetEndCap(void* pen, int endCap);
78 public extern cdecl nothrow int WinGraphicsPenGetDashCap(void* pen);
79 public extern cdecl nothrow int WinGraphicsPenSetDashCap(void* pen, int dashCap);
80 public extern cdecl nothrow float WinGraphicsPenGetDashOffset(void* pen);
81 public extern cdecl nothrow int WinGraphicsPenSetDashOffset(void* pen, float dashOffset);
82 public extern cdecl nothrow int WinGraphicsPenGetDashStyle(void* pen);
83 public extern cdecl nothrow int WinGraphicsPenSetDashStyle(void* pen, int dashStyle);
84 public extern cdecl nothrow int WinGraphicsPenGetLineJoin(void* pen);
85 public extern cdecl nothrow int WinGraphicsPenSetLineJoin(void* pen, int lineJoin);
86 public extern cdecl nothrow void* WinGraphicsCreateSolidBrush(byte alpha, byte red, byte green, byte blue);
87 public extern cdecl nothrow void* WinGraphicsCloneSolidBrush(void* solidBrush);
88 public extern cdecl nothrow void WinGraphicsDeleteSolidBrush(void* solidBrush);
89 public extern cdecl nothrow int WinGraphicsBrushGetLastStatus(void* brush);
90 public extern cdecl nothrow void* WinGraphicsCreateEmptyFontFamily();
91 public extern cdecl nothrow void* WinGraphicsCreateFontFamily(const char* familyName);
92 public extern cdecl nothrow void* WinGraphicsCloneFontFamily(void* fontFamily);
93 public extern cdecl nothrow void WinGraphicsDeleteFontFamily(void* fontFamily);
94 public extern cdecl nothrow int WinGraphicsGetFontFamilyName(void* fontFamily, wchar*& str);
95 public extern cdecl nothrow const void* WinGraphicsGetGenericMonospaceFontFamily();
96 public extern cdecl nothrow const void* WinGraphicsGetGenericSansSerifFontFamily();
97 public extern cdecl nothrow const void* WinGraphicsGetGenericSerifFontFamily();
98 public extern cdecl nothrow int WinGraphicsFontFamilyGetLastStatus(void* fontFamily);
99 public extern cdecl nothrow void* WinGraphicsCreateFont(const void* fontFamily, float emSize, int style, int unit);
100 public extern cdecl nothrow void* WinGraphicsCreateFontFromHFont(void* hdc, void* hfont);
101 public extern cdecl nothrow void* WinGraphicsCloneFont(void* font);
102 public extern cdecl nothrow void WinGraphicsDeleteFont(void* font);
103 public extern cdecl nothrow int WinGraphicsGetFontFamily(void* font, void* fontFamily);
104 public extern cdecl nothrow float WinGraphicsGetFontSize(void* font);
105 public extern cdecl nothrow float WinGraphicsGetFontHeight(void* font, const void* graphics);
106 public extern cdecl nothrow int WinGraphicsGetFontStyle(void* font);
107 public extern cdecl nothrow int WinGraphicsFontGetLastStatus(void* font);
108 public extern cdecl nothrow int WinGraphicsFontToHFont(void* font, void* graphics, void*& hfont);
109 public extern cdecl nothrow void* WinGraphicsCreateDefaultStringFormat();
110 public extern cdecl nothrow const void* WinGraphicsGetGenericDefaultStringFormat();
111 public extern cdecl nothrow const void* WinGraphicsGetGenericTypographicStringFormat();
112 public extern cdecl nothrow void* WinGraphicsCreateStringFormat(int formatFlags, ushort languageId);
113 public extern cdecl nothrow void* WinGraphicsCloneStringFormat(void* stringFormat);
114 public extern cdecl nothrow void WinGraphicsDeleteStringFormat(void* stringFormat);
115 public extern cdecl nothrow int WinGraphicsStringFormatGetLastStatus(void* stringFormat);
116 public extern cdecl nothrow int WinGraphicsStringFormatSetAlignment(void* stringFormat, int alignment);
117 public extern cdecl nothrow int WinGraphicsStringFormatSetLineAlignment(void* stringFormat, int alignment);
118 public extern cdecl nothrow int WinGraphicsStringFormatSetHotKeyPrefix(void* stringFormat, int hotKeyPrefix);
119 public extern cdecl nothrow int WinGraphicsDrawLine(void* graphics, void* pen, int startX, int startY, int endX, int endY);
120 public extern cdecl nothrow int WinGraphicsDrawLineF(void* graphics, void* pen, float startX, float startY, float endX, float endY);
121 public extern cdecl nothrow int WinGraphicsDrawLines(void* graphics, void* pen, int count, void* points);
122 public extern cdecl nothrow int WinGraphicsDrawLinesF(void* graphics, void* pen, int count, void* points);
123 public extern cdecl nothrow int WinGraphicsDrawString(void* graphics, const char* str, void* font, float x, float y, void* brush);
124 public extern cdecl nothrow int WinGraphicsDrawStringFormatPoint(void* graphics, const char* str, void* font, float x, float y, void* format, void* brush);
125 public extern cdecl nothrow int WinGraphicsDrawStringFormatRect(void* graphics, const char* str, void* font, float x, float y, float w, float h, void* format, void* brush);
126 public extern cdecl nothrow int WinGraphicsMeasureStringFormatSize(void* graphics, const char* str, void* font, float w, float h, void* format,
127 float& outSizeW, float& outSizeH, int* codePointsFitted, int* linesFilled);
128 public extern cdecl nothrow int WinGraphicsMeasureStringFormatRect(void* graphics, const char* str, void* font, float x, float y, float w, float h, void* format,
129 float& outX, float& outY, float& outW, float& outH, int* codePointsFitted, int* linesFilled);
130 public extern cdecl nothrow int WinGraphicsMeasureStringFormatPoint(void* graphics, const char* str, void* font, float x, float y, void* format,
131 float& outX, float& outY, float& outW, float& outH);
132 public extern cdecl nothrow int WinGraphicsGetTextRenderingHint(void* graphics);
133 public extern cdecl nothrow int WinGraphicsSetTextRenderingHint(void* graphics, int textRenderingHint);
134 public extern cdecl nothrow int WinGraphicsClear(void* graphics, byte alpha, byte red, byte green, byte blue);
135 public extern cdecl nothrow int WinGraphicsDrawRectangle(void* graphics, void* pen, int x, int y, int w, int h);
136 public extern cdecl nothrow int WinGraphicsDrawRectangleF(void* graphics, void* pen, float x, float y, float w, float h);
137 public extern cdecl nothrow int WinGraphicsFillRectangle(void* graphics, void* brush, int x, int y, int w, int h);
138 public extern cdecl nothrow int WinGraphicsFillRectangleF(void* graphics, void* brush, float x, float y, float w, float h);
139 public extern cdecl nothrow int WinGraphicsFillPolygon(void* graphics, void* brush, int count, void* points);
140 public extern cdecl nothrow int WinGraphicsFillPolygonF(void* graphics, void* brush, int count, void* points);
141 public extern cdecl nothrow int WinGraphicsDrawArc(void* graphics, void* pen, float x, float y, float w, float h, float startAngle, float sweepAngle);
142 public extern cdecl nothrow int WinGraphicsDrawEllipse(void* graphics, void* pen, float x, float y, float w, float h);
143 public extern cdecl nothrow int WinGraphicsFillEllipse(void* graphics, void* brush, float x, float y, float w, float h);
144 public extern cdecl nothrow void WinGetSysColor(int index, byte& red, byte& green, byte& blue);
145 public extern cdecl nothrow void* WinGraphicsCreateRegion();
146 public extern cdecl nothrow void* WinGraphicsCloneRegion(void* region);
147 public extern cdecl nothrow void WinGraphicsDeleteRegion(void* region);
148 public extern cdecl nothrow int WinGraphicsRegionGetLastStatus(void* region);
149 public extern cdecl nothrow int WinGraphicsGetClip(void* graphics, void* region);
150 public extern cdecl nothrow int WinGraphicsSetClipRect(void* graphics, int x, int y, int w, int h, int combineMode);
151 public extern cdecl nothrow int WinGraphicsSetClipRegion(void* graphics, void* region);
152 public extern cdecl nothrow void* WinGraphicsCreateImage(const char* fileName, bool useEmbeddedColorManagement);
153 public extern cdecl nothrow int WinGraphicsImageGetLastStatus(void* image);
154 public extern cdecl nothrow void* WinGraphicsCloneImage(void* image);
155 public extern cdecl nothrow void WinGraphicsDeleteImage(void* image);
156 public extern cdecl nothrow uint WinGraphicsImageGetHeight(void* image);
157 public extern cdecl nothrow uint WinGraphicsImageGetWidth(void* image);
158 public extern cdecl nothrow void* WinGraphicsCreateBitmap(const char* fileName, bool useEmbeddedColorManagement);
159 public extern cdecl nothrow void* WinGraphicsCreateBitmapWidthHeight(int w, int h, void* graphics);
160 public extern cdecl nothrow void* WinGraphicsCreateBitmapWinBitmap(void* winBitmap, void* palette);
161 public extern cdecl nothrow void* WinGraphicsCreateBitmapIcon(void* icon);
162 public extern cdecl nothrow void* WinGraphicsCreateBitmapResource(const char* resourceName);
163 public extern cdecl nothrow void* WinGraphicsCloneBitmap(void* nativeBitmap, int x, int y, int w, int h, int pixelFormat);
164 public extern cdecl nothrow int WinGraphicsBitmapGetPixel(void* nativeBitmap, int x, int y, byte& alpha, byte& red, byte& green, byte& blue);
165 public extern cdecl nothrow int WinGraphicsBitmapSetPixel(void* nativeBitmap, int x, int y, byte alpha, byte red, byte green, byte blue);
166 public extern cdecl nothrow uint WinGraphicsSave(void* graphics);
167 public extern cdecl nothrow int WinGraphicsRestore(void* graphics, uint graphicsState);
168 public extern cdecl nothrow void* WinGraphicsCreateDefaultImageAttributes();
169 public extern cdecl nothrow int WinGraphicsImageAttributesGetLastStatus(void* imageAttributes);
170 public extern cdecl nothrow void* WinGraphicsCloneImageAttributes(void* imageAttributes);
171 public extern cdecl nothrow void WinGraphicsDeleteImageAttributes(void* imageAttributes);
172 public extern cdecl nothrow int WinGraphicsImageAttributesSetColorKey(void* imageAttributes, byte colorLowAlpha, byte colorLowRed, byte colorLowGreen, byte colorLowBlue,
173 byte colorHighAlpha, byte colorHighRed, byte colorHighGreen, byte colorHighBlue, int colorAdjustType);
174 public extern cdecl nothrow int WinGraphicsDrawImageWithAttributes(void* graphics, void* image, int destRectX, int destRectY, int destRectW, int destRectH, int srcX, int srcY, int srcW, int srcH,
175 int srcUnit, void* imageAttributes);
176 public extern cdecl nothrow int WinGraphicsDrawImageWithAttributesF(void* graphics, void* image, float destRectX, float destRectY, float destRectW, float destRectH, float srcX, float srcY, float srcW, float srcH,
177 int srcUnit, void* imageAttributes);
178 public extern cdecl nothrow int WinGraphicsDrawImagePoint(void* graphics, void* image, float x, float y);
179 public extern cdecl nothrow int WinGraphicsDrawImageRect(void* graphics, void* image, float x, float y, float w, float h);
180 public extern cdecl nothrow int WinGraphicsGetTransform(void* graphics, void* matrix);
181 public extern cdecl nothrow int WinGraphicsSetTransform(void* graphics, void* matrix);
182 public extern cdecl nothrow int WinGraphicsMultiplyTransform(void* graphics, void* matrix, int order);
183 public extern cdecl nothrow int WinGraphicsResetTransform(void* graphics);
184 public extern cdecl nothrow int WinGraphicsRotateTransform(void* graphics, float angle, int order);
185 public extern cdecl nothrow int WinGraphicsScaleTransform(void* graphics, float scaleX, float scaleY, int order);
186 public extern cdecl nothrow int WinGraphicsTranslateTransform(void* graphics, float offsetX, float offsetY, int order);
187 public extern cdecl nothrow void* WinGraphicsCreateMatrix();
188 public extern cdecl nothrow void* WinGraphicsCreateMatrixFromElements(float m11, float m12, float m21, float m22, float dx, float dy);
189 public extern cdecl nothrow void* WinGraphicsCreateMatrixRectPoint(int rectX, int rectY, int rectW, int rectH, int ptX, int ptY);
190 public extern cdecl nothrow void* WinGraphicsCreateMatrixRectFPointF(float rectX, float rectY, float rectW, float rectH, float ptX, float ptY);
191 public extern cdecl nothrow int WinGraphicsMatrixGetLastStatus(void* matrix);
192 public extern cdecl nothrow void* WinGraphicsCloneMatrix(void* matrix);
193 public extern cdecl nothrow void WinGraphicsDeleteMatrix(void* matrix);
194 public extern cdecl nothrow int WinGraphicsMultiplyMatrix(void* matrix, void* factorMatrix, int order);
195 public extern cdecl nothrow int WinGraphicsResetMatrix(void* matrix);
196 public extern cdecl nothrow int WinGraphicsInvertMatrix(void* matrix);
197 public extern cdecl nothrow float WinGraphicsMatrixOffsetX(void* matrix);
198 public extern cdecl nothrow float WinGraphicsMatrixOffsetY(void* matrix);
199 public extern cdecl nothrow int WinGraphicsMatrixRotate(void* matrix, float angle, int order);
200 public extern cdecl nothrow int WinGraphicsMatrixRotateAt(void* matrix, float angle, float centerX, float centerY, int order);
201 public extern cdecl nothrow int WinGraphicsMatrixScale(void* matrix, float scaleX, float scaleY, int order);
202 public extern cdecl nothrow int WinGraphicsMatrixShear(void* matrix, float shearX, float shearY, int order);
203 public extern cdecl nothrow int WinGraphicsMatrixTranslate(void* matrix, float offsetX, float offsetY, int order);
204 public extern cdecl nothrow int WinGraphicsMatrixTransformPoints(void* matrix, void* points, int numPoints);
205 public extern cdecl nothrow int WinGraphicsMatrixTransformPointsF(void* matrix, void* points, int numPoints);
206 public extern cdecl nothrow int WinGraphicsMatrixSetElements(void* matrix, float m11, float m12, float m21, float m22, float dx, float dy);
207 public extern cdecl nothrow int WinGraphicsGetPageUnit(void* graphics);
208 public extern cdecl nothrow int WinGraphicsSetPageUnit(void* graphics, int unit);
209 public extern cdecl nothrow float WinGraphicsGetPageScale(void* graphics);
210 public extern cdecl nothrow int WinGraphicsSetPageScale(void* graphics, float scale);
211 public extern cdecl nothrow float WinGraphicsGetDpiX(void* graphics);
212 public extern cdecl nothrow float WinGraphicsGetDpiY(void* graphics);
213 public extern cdecl nothrow int WinGraphicsGetSmoothingMode(void* graphics);
214 public extern cdecl nothrow int WinGraphicsSetSmoothingMode(void* graphics, int smoothingMode);
215 public extern cdecl nothrow int WinGraphicsGetEncoderClsId(const char* imageFormat, void* clsid);
216 public extern cdecl nothrow int WinGraphicsImageSave(void* image, const char* fileName, const void* encoderClsId);
217 public extern cdecl nothrow void WinGetMessagePos(int& x, int& y);
218 public extern cdecl nothrow bool WinSetBkColor(void* hdc, byte red, byte green, byte blue);
219 public extern cdecl nothrow void* WinGetFocus();
220 public extern cdecl nothrow void* WinSetFocus(void* windowHandle);
221 public extern cdecl nothrow void* WinGetTopWindow(void* windowHandle);
222 public extern cdecl nothrow bool WinSetWindowPos(void* windowHandle, void* insertAfterWindowHandle, int x, int y, int cx, int cy, uint flags);
223 public extern cdecl nothrow bool WinBringWindowToTop(void* windowHandle);
224 public extern cdecl nothrow bool WinGetOpenFileName(void* windowHandle, const wchar* filter, const wchar* initialDirectory, wchar* fileNameBuffer, uint fileNameBufferSize, uint flags, const wchar* defaultExtension);
225 public extern cdecl nothrow bool WinGetSaveFileName(void* windowHandle, const wchar* filter, const wchar* initialDirectory, wchar* fileNameBuffer, uint fileNameBufferSize, uint flags, const wchar* defaultExtension);
226 public extern cdecl nothrow uint WinCommDlgExtendedError();
227 public extern cdecl nothrow void* WinLoadImage(const char* name, uint type, int cx, int cy);
228 public extern cdecl nothrow void* WinLoadStandardCursor(int cursorId);
229 public extern cdecl nothrow void* WinLoadCursor(const char* cursorName);
230 public extern cdecl nothrow void* WinGetCursor();
231 public extern cdecl nothrow void* WinSetCursor(void* cursorHandle);
232 public extern cdecl nothrow bool WinDestroyCursor(void* cursorHandle);
233 public extern cdecl nothrow void* WinLoadStandardIcon(int iconId);
234 public extern cdecl nothrow void* WinLoadIcon(const char* iconName);
235 public extern cdecl nothrow bool WinDestroyIcon(void* iconHandle);
236 public extern cdecl nothrow void* WinLoadStandardBitmap(int bitmapId);
237 public extern cdecl nothrow void* WinLoadBitmap(const char* bitmapName);
238 public extern cdecl nothrow bool WinDestroyBitmap(void* bitmapHandle);
239 public extern cdecl nothrow bool WinDeleteObject(void* handle);
240 public extern cdecl nothrow int WinGetSystemMetrics(int index);
241 public extern cdecl nothrow void* WinSetCapture(void* windowHandle);
242 public extern cdecl nothrow bool WinReleaseCapture();
243 public extern cdecl nothrow long WinGetClassLong(void* windowHandle, int index);
244 public extern cdecl nothrow long WinSetClassLong(void* windowHandle, int index, long value);
245 public extern cdecl nothrow long WinGetWindowLong(void* windowHandle, int index);
246 public extern cdecl nothrow bool WinSetWindowLong(void* windowHandle, int index, long newValue);
247 public extern cdecl nothrow bool WinScrollWindow(void* windowHandle, int xAmount, int yAmount,
248 int clientLocX, int clientLocY, int clientSizeW, int clientSizeH, int clipLocX, int clipLocY, int clipSizeW, int clipSizeH);
249 public extern cdecl nothrow bool WinScrollWindowEx(void* windowHandle, int dx, int dy,
250 int clientLocX, int clientLocY, int clientSizeW, int clientSizeH, int clipLocX, int clipLocY, int clipSizeW, int clipSizeH,
251 int x1, int y1, int x2, int y2);
252 public extern cdecl nothrow bool WinGetScrollInfo(void* windowHandle, int nBar, uint& nPage, int& nPos, int& nMin, int& nMax, int& nTrackPos);
253 public extern cdecl nothrow int WinSetScrollInfo(void* windowHandle, int nBar, uint fMask, bool redraw, uint nPage, int nPos, int nMin, int nMax);
254 public extern cdecl nothrow bool WinShowScrollBar(void* windowHandle, int nBar, bool show);
255 public extern cdecl nothrow bool WinCreateCaret(void* windowHandle, void* bitmapHandle, int width, int height);
256 public extern cdecl nothrow bool WinDestroyCaret();
257 public extern cdecl nothrow bool WinShowCaret(void* windowHandle);
258 public extern cdecl nothrow bool WinHideCaret(void* windowHandle);
259 public extern cdecl nothrow bool WinGetCaretPos(int& x, int& y);
260 public extern cdecl nothrow bool WinSetCaretPos(int x, int y);
261 public extern cdecl nothrow bool WinSetTimer(void* windowHandle, uint timerId, uint elapseMs);
262 public extern cdecl nothrow bool WinKillTimer(void* windowHandle, uint timerId);
263 public extern cdecl nothrow bool WinRegOpenCurrentUser(void** result);
264 public extern cdecl nothrow bool WinRegCloseKey(void* key);
265 public extern cdecl nothrow bool WinRegGetDWordValue(void* key, const char* subKey, const char* valueName, uint& value);
266 public extern cdecl nothrow uint WinRegisterClipboardFormat(const char* formatName);
267 public extern cdecl nothrow bool WinOpenClipboard(void* windowHandle);
268 public extern cdecl nothrow bool WinCloseClipboard();
269 public extern cdecl nothrow bool WinEmptyClipboard();
270 public extern cdecl nothrow void* WinSetClipboardData(uint format, void* mem);
271 public extern cdecl nothrow void* WinGetClipboardData(uint format);
272 public extern cdecl nothrow bool WinIsClipboardFormatAvailable(uint format);
273 public extern cdecl nothrow bool WinAddClipboardFormatListener(void* windowHandle);
274 public extern cdecl nothrow bool WinRemoveClipboardFormatListener(void* windowHandle);
275 public extern cdecl nothrow void* WinGlobalAlloc(uint flags, ulong size);
276 public extern cdecl nothrow void* WinGlobalLock(void* memHandle);
277 public extern cdecl nothrow bool WinGlobalUnlock(void* memHandle);
278 public extern cdecl nothrow void* WinGlobalFree(void* memHandle);
279 public extern cdecl nothrow ulong WinGlobalSize(void* memHandle);
280 public extern cdecl nothrow bool WinGetCursorPos(int& x, int& y);
281 public extern cdecl nothrow bool WinGetFolder(void* windowHandle, const wchar* defaultDirectory, wchar* folderNameBuffer, uint folderNameBufferSize);
282 public extern cdecl nothrow bool WinKeyPressed(int keyCode);
283 public extern cdecl nothrow int WinGetCurrentProcessId();
284 public extern cdecl nothrow void WinBeginTest();
285 public extern cdecl nothrow void WinEndTest();
286 public extern cdecl nothrow int WinGetLogicalDrives();
287