Make sure to return an error if the file generation fails.
[wine.git] / dlls / gdi / gdi32.spec
blobf8704b126bac0ad5f36ca31124d239b1b756021d
1 # ordinal exports
2 100 stdcall @(long long str str str) GDI_CallDevInstall16
3 101 stdcall @(long str str ptr) GDI_CallExtDeviceModePropSheet16
4 102 stdcall @(long ptr str str ptr str long) GDI_CallExtDeviceMode16
5 103 stdcall @(long str ptr ptr) GDI_CallAdvancedSetupDialog16
6 104 stdcall @(str str long ptr ptr) GDI_CallDeviceCapabilities16
8 @ stdcall AbortDoc(long)
9 @ stdcall AbortPath(long)
10 @ stdcall AddFontResourceA(str)
11 @ stdcall AddFontResourceExA(str long ptr)
12 @ stdcall AddFontResourceExW(wstr long ptr)
13 @ stub AddFontResourceTracking
14 @ stdcall AddFontResourceW(wstr)
15 @ stdcall AngleArc(long long long long long long)
16 @ stdcall AnimatePalette(long long long ptr)
17 @ stdcall Arc(long long long long long long long long long)
18 @ stdcall ArcTo(long long long long long long long long long)
19 @ stdcall BeginPath(long)
20 @ stdcall BitBlt(long long long long long long long long long)
21 @ stub ByeByeGDI
22 @ stub CancelDC
23 @ stub CheckColorsInGamut
24 @ stdcall ChoosePixelFormat(long ptr)
25 @ stdcall Chord(long long long long long long long long long)
26 @ stdcall CloseEnhMetaFile(long)
27 @ stdcall CloseFigure(long)
28 @ stdcall CloseMetaFile(long)
29 @ stub ColorCorrectPalette
30 @ stub ColorMatchToTarget
31 @ stdcall CombineRgn(long long long long)
32 @ stdcall CombineTransform(ptr ptr ptr)
33 @ stdcall CopyEnhMetaFileA(long str)
34 @ stub CopyEnhMetaFileW
35 @ stdcall CopyMetaFileA(long str)
36 @ stdcall CopyMetaFileW(long wstr)
37 @ stdcall CreateBitmap(long long long long ptr)
38 @ stdcall CreateBitmapIndirect(ptr)
39 @ stdcall CreateBrushIndirect(ptr)
40 @ stdcall CreateColorSpaceA(ptr)
41 @ stdcall CreateColorSpaceW(ptr)
42 @ stdcall CreateCompatibleBitmap(long long long)
43 @ stdcall CreateCompatibleDC(long)
44 @ stdcall CreateDCA(str str str ptr)
45 @ stdcall CreateDCW(wstr wstr wstr ptr)
46 @ stdcall CreateDIBPatternBrush(long long)
47 @ stdcall CreateDIBPatternBrushPt(long long)
48 @ stdcall CreateDIBSection(long ptr long ptr long long)
49 @ stdcall CreateDIBitmap(long ptr long ptr ptr long)
50 @ stdcall CreateDiscardableBitmap(long long long)
51 @ stdcall CreateEllipticRgn(long long long long)
52 @ stdcall CreateEllipticRgnIndirect(ptr)
53 @ stdcall CreateEnhMetaFileA(long str ptr str)
54 @ stdcall CreateEnhMetaFileW(long wstr ptr wstr)
55 @ stdcall CreateFontA(long long long long long long long long long long long long long str)
56 @ stdcall CreateFontIndirectA(ptr)
57 @ stdcall CreateFontIndirectW(ptr)
58 @ stdcall CreateFontW(long long long long long long long long long long long long long wstr)
59 @ stdcall CreateHalftonePalette(long)
60 @ stdcall CreateHatchBrush(long long)
61 @ stdcall CreateICA(str str str ptr)
62 @ stdcall CreateICW(wstr wstr wstr ptr)
63 @ stdcall CreateMetaFileA(str)
64 @ stdcall CreateMetaFileW(wstr)
65 @ stdcall CreatePalette(ptr)
66 @ stdcall CreatePatternBrush(long)
67 @ stdcall CreatePen(long long long)
68 @ stdcall CreatePenIndirect(ptr)
69 @ stdcall CreatePolyPolygonRgn(ptr ptr long long)
70 @ stdcall CreatePolygonRgn(ptr long long)
71 @ stdcall CreateRectRgn(long long long long)
72 @ stdcall CreateRectRgnIndirect(ptr)
73 @ stdcall CreateRoundRectRgn(long long long long long long)
74 @ stdcall CreateScalableFontResourceA(long str str str)
75 @ stdcall CreateScalableFontResourceW(long wstr wstr wstr)
76 @ stdcall CreateSolidBrush(long)
77 @ stdcall DPtoLP(long ptr long)
78 @ stdcall DeleteColorSpace(long)
79 @ stdcall DeleteDC(long)
80 @ stdcall DeleteEnhMetaFile(long)
81 @ stdcall DeleteMetaFile(long)
82 @ stdcall DeleteObject(long)
83 @ stdcall DescribePixelFormat(long long long ptr)
84 @ stub DeviceCapabilitiesEx
85 @ stub DeviceCapabilitiesExA
86 @ stub DeviceCapabilitiesExW
87 @ stdcall DrawEscape(long long long ptr)
88 @ stdcall Ellipse(long long long long long)
89 @ stub EnableEUDC
90 @ stdcall EndDoc(long)
91 @ stdcall EndPage(long)
92 @ stdcall EndPath(long)
93 @ stdcall EnumEnhMetaFile(long long ptr ptr ptr)
94 @ stdcall EnumFontFamiliesA(long str ptr long)
95 @ stdcall EnumFontFamiliesExA(long ptr ptr long long)
96 @ stdcall EnumFontFamiliesExW(long ptr ptr long long)
97 @ stdcall EnumFontFamiliesW(long wstr ptr long)
98 @ stdcall EnumFontsA(long str ptr long)
99 @ stdcall EnumFontsW(long wstr ptr long)
100 @ stub EnumICMProfilesA
101 @ stub EnumICMProfilesW
102 @ stdcall EnumMetaFile(long long ptr ptr)
103 @ stdcall EnumObjects(long long ptr long)
104 @ stdcall EqualRgn(long long)
105 @ stdcall Escape(long long long ptr ptr)
106 @ stdcall ExcludeClipRect(long long long long long)
107 @ stdcall ExtCreatePen(long long ptr long ptr)
108 @ stdcall ExtCreateRegion(ptr long ptr)
109 @ stdcall ExtEscape(long long long ptr long ptr)
110 @ stdcall ExtFloodFill(long long long long long)
111 @ stdcall ExtSelectClipRgn(long long long)
112 @ stdcall ExtTextOutA(long long long long ptr str long ptr)
113 @ stdcall ExtTextOutW(long long long long ptr wstr long ptr)
114 @ stdcall FillPath(long)
115 @ stdcall FillRgn(long long long)
116 @ stdcall FixBrushOrgEx(long long long ptr)
117 @ stdcall FlattenPath(long)
118 @ stdcall FloodFill(long long long long)
119 @ stdcall FrameRgn(long long long long long)
120 @ stub FreeImageColorMatcher
121 @ stub GdiAssociateObject
122 @ stub GdiCleanCacheDC
123 @ stdcall GdiComment(long long ptr)
124 @ stub GdiConvertAndCheckDC
125 @ stub GdiConvertBitmap
126 @ stub GdiConvertBrush
127 @ stub GdiConvertDC
128 @ stub GdiConvertEnhMetaFile
129 @ stub GdiConvertFont
130 @ stub GdiConvertMetaFilePict
131 @ stub GdiConvertPalette
132 @ stub GdiConvertRegion
133 @ stub GdiCreateLocalBitmap
134 @ stub GdiCreateLocalBrush
135 @ stub GdiCreateLocalEnhMetaFile
136 @ stub GdiCreateLocalFont
137 @ stub GdiCreateLocalMetaFilePict
138 @ stub GdiCreateLocalPalette
139 @ stub GdiCreateLocalRegion
140 @ stub GdiDciBeginAccess
141 @ stub GdiDciCreateOffscreenSurface
142 @ stub GdiDciCreateOverlaySurface
143 @ stub GdiDciCreatePrimarySurface
144 @ stub GdiDciDestroySurface
145 @ stub GdiDciDrawSurface
146 @ stub GdiDciEndAccess
147 @ stub GdiDciEnumSurface
148 @ stub GdiDciInitialize
149 @ stub GdiDciSetClipList
150 @ stub GdiDciSetDestination
151 @ stub GdiDeleteLocalDC
152 @ stub GdiDeleteLocalObject
153 @ stub GdiDllInitialize
154 @ stdcall GdiFlush()
155 @ stdcall GdiGetBatchLimit()
156 @ stub GdiGetLocalBitmap
157 @ stub GdiGetLocalBrush
158 @ stub GdiGetLocalDC
159 @ stub GdiGetLocalFont
160 @ stdcall GdiGradientFill(long ptr long ptr long long)
161 @ stub GdiIsMetaFileDC
162 @ stub GdiPlayDCScript
163 @ stub GdiPlayJournal
164 @ stub GdiPlayScript
165 @ stub GdiReleaseLocalDC
166 @ stub GdiSetAttrs
167 @ stdcall GdiSetBatchLimit(long)
168 @ stub GdiSetServerAttr
169 @ stub GdiWinWatchClose
170 @ stub GdiWinWatchDidStatusChange
171 @ stub GdiWinWatchGetClipList
172 @ stub GdiWinWatchOpen
173 @ stdcall GetArcDirection(long)
174 @ stdcall GetAspectRatioFilterEx(long ptr)
175 @ stdcall GetBitmapBits(long long ptr)
176 @ stdcall GetBitmapDimensionEx(long ptr)
177 @ stdcall GetBkColor(long)
178 @ stdcall GetBkMode(long)
179 @ stdcall GetBoundsRect(long ptr long)
180 @ stdcall GetBrushOrgEx(long ptr)
181 @ stdcall GetCharABCWidthsA(long long long ptr)
182 @ stdcall GetCharABCWidthsFloatA(long long long ptr)
183 @ stdcall GetCharABCWidthsFloatW(long long long ptr)
184 @ stdcall GetCharABCWidthsW(long long long ptr)
185 @ stdcall GetCharWidth32A(long long long long)
186 @ stdcall GetCharWidth32W(long long long long)
187 @ stdcall GetCharWidthA(long long long long) GetCharWidth32A
188 @ stdcall GetCharWidthFloatA(long long long ptr)
189 @ stdcall GetCharWidthFloatW(long long long ptr)
190 @ stdcall GetCharWidthW(long long long long) GetCharWidth32W
191 @ stub GetCharWidthWOW
192 @ stdcall GetCharacterPlacementA(long str long long ptr long)
193 @ stdcall GetCharacterPlacementW(long wstr long long ptr long)
194 @ stdcall GetClipBox(long ptr)
195 @ stdcall GetClipRgn(long long)
196 @ stdcall GetColorAdjustment(long ptr)
197 @ stdcall GetColorSpace(long)
198 @ stdcall GetCurrentObject(long long)
199 @ stdcall GetCurrentPositionEx(long ptr)
200 @ stdcall GetDCOrgEx(long ptr)
201 @ stdcall GetDIBColorTable(long long long ptr)
202 @ stdcall GetDIBits(long long long long ptr ptr long)
203 @ stdcall GetDeviceCaps(long long)
204 @ stdcall GetDeviceGammaRamp(long ptr)
205 @ stub GetETM
206 @ stdcall GetEnhMetaFileA(str)
207 @ stdcall GetEnhMetaFileBits(long long ptr)
208 @ stdcall GetEnhMetaFileDescriptionA(long long ptr)
209 @ stdcall GetEnhMetaFileDescriptionW(long long ptr)
210 @ stdcall GetEnhMetaFileHeader(long long ptr)
211 @ stdcall GetEnhMetaFilePaletteEntries (long long ptr)
212 @ stdcall GetEnhMetaFileW(wstr)
213 @ stdcall GetFontData(long long long ptr long)
214 @ stdcall GetFontLanguageInfo(long)
215 @ stub GetFontResourceInfo
216 @ stub GetFontResourceInfoW
217 @ stdcall GetGlyphIndicesA(long ptr long ptr long)
218 @ stdcall GetGlyphIndicesW(long ptr long ptr long)
219 @ stub GetGlyphOutline
220 @ stdcall GetGlyphOutlineA(long long long ptr long ptr ptr)
221 @ stdcall GetGlyphOutlineW(long long long ptr long ptr ptr)
222 @ stub GetGlyphOutlineWow
223 @ stdcall GetGraphicsMode(long)
224 @ stdcall GetICMProfileA(long ptr ptr)
225 @ stub GetICMProfileW
226 @ stub GetKerningPairs
227 @ stdcall GetKerningPairsA(long long ptr)
228 @ stdcall GetKerningPairsW(long long ptr)
229 @ stdcall GetLayout(long)
230 @ stub GetLogColorSpaceA
231 @ stub GetLogColorSpaceW
232 @ stdcall GetMapMode(long)
233 @ stdcall GetMetaFileA(str)
234 @ stdcall GetMetaFileBitsEx(long long ptr)
235 @ stdcall GetMetaFileW(wstr)
236 @ stdcall GetMetaRgn(long long)
237 @ stdcall GetMiterLimit(long ptr)
238 @ stdcall GetNearestColor(long long)
239 @ stdcall GetNearestPaletteIndex(long long)
240 @ stdcall GetObjectA(long long ptr)
241 @ stdcall GetObjectType(long)
242 @ stdcall GetObjectW(long long ptr)
243 @ stdcall GetOutlineTextMetricsA(long long ptr)
244 @ stdcall GetOutlineTextMetricsW(long long ptr)
245 @ stdcall GetPaletteEntries(long long long ptr)
246 @ stdcall GetPath(long ptr ptr long)
247 @ stdcall GetPixel(long long long)
248 @ stdcall GetPixelFormat(long)
249 @ stdcall GetPolyFillMode(long)
250 @ stdcall GetROP2(long)
251 @ stdcall GetRandomRgn(long long long)
252 @ stdcall GetRasterizerCaps(ptr long)
253 @ stdcall GetRegionData(long long ptr)
254 @ stdcall GetRelAbs(long long)
255 @ stdcall GetRgnBox(long ptr)
256 @ stdcall GetStockObject(long)
257 @ stdcall GetStretchBltMode(long)
258 @ stdcall GetSystemPaletteEntries(long long long ptr)
259 @ stdcall GetSystemPaletteUse(long)
260 @ stdcall GetTextAlign(long)
261 @ stdcall GetTextCharacterExtra(long)
262 @ stdcall GetTextCharset(long)
263 @ stdcall GetTextCharsetInfo(long ptr long)
264 @ stdcall GetTextColor(long)
265 @ stdcall GetTextExtentExPointA(long str long long ptr ptr ptr)
266 @ stdcall GetTextExtentExPointW(long wstr long long ptr ptr ptr)
267 @ stdcall GetTextExtentPoint32A(long str long ptr)
268 @ stdcall GetTextExtentPoint32W(long wstr long ptr)
269 @ stdcall GetTextExtentPointA(long str long ptr)
270 @ stdcall GetTextExtentPointI(long ptr long ptr)
271 @ stdcall GetTextExtentPointW(long wstr long ptr)
272 @ stdcall GetTextFaceA(long long ptr)
273 @ stdcall GetTextFaceW(long long ptr)
274 @ stdcall GetTextMetricsA(long ptr)
275 @ stdcall GetTextMetricsW(long ptr)
276 @ stdcall GetTransform(long long ptr)
277 @ stdcall GetViewportExtEx(long ptr)
278 @ stdcall GetViewportOrgEx(long ptr)
279 @ stdcall GetWinMetaFileBits(long long ptr long long)
280 @ stdcall GetWindowExtEx(long ptr)
281 @ stdcall GetWindowOrgEx(long ptr)
282 @ stdcall GetWorldTransform(long ptr)
283 @ stdcall IntersectClipRect(long long long long long)
284 @ stdcall InvertRgn(long long)
285 @ stdcall LPtoDP(long ptr long)
286 @ stdcall LineDDA(long long long long ptr long)
287 @ stdcall LineTo(long long long)
288 @ stub LoadImageColorMatcherA
289 @ stub LoadImageColorMatcherW
290 @ stdcall MaskBlt(long long long long long long long long long long long long)
291 @ stdcall ModifyWorldTransform(long ptr long)
292 @ stdcall MoveToEx(long long long ptr)
293 @ stdcall OffsetClipRgn(long long long)
294 @ stdcall OffsetRgn(long long long)
295 @ stdcall OffsetViewportOrgEx(long long long ptr)
296 @ stdcall OffsetWindowOrgEx(long long long ptr)
297 @ stdcall PaintRgn(long long)
298 @ stdcall PatBlt(long long long long long long)
299 @ stdcall PathToRegion(long)
300 @ stdcall Pie(long long long long long long long long long)
301 @ stdcall PlayEnhMetaFile(long long ptr)
302 @ stdcall PlayEnhMetaFileRecord(long ptr ptr long)
303 @ stdcall PlayMetaFile(long long)
304 @ stdcall PlayMetaFileRecord(long ptr ptr long)
305 @ stdcall PlgBlt(long ptr long long long long long long long long)
306 @ stdcall PolyBezier(long ptr long)
307 @ stdcall PolyBezierTo(long ptr long)
308 @ stdcall PolyDraw(long ptr ptr long)
309 @ stdcall PolyPolygon(long ptr ptr long)
310 @ stdcall PolyPolyline(long ptr ptr long)
311 @ stdcall PolyTextOutA(long ptr long)
312 @ stdcall PolyTextOutW(long ptr long)
313 @ stdcall Polygon(long ptr long)
314 @ stdcall Polyline(long ptr long)
315 @ stdcall PolylineTo(long ptr long)
316 @ stdcall PtInRegion(long long long)
317 @ stdcall PtVisible(long long long)
318 @ stdcall RealizePalette(long)
319 @ stdcall RectInRegion(long ptr)
320 @ stdcall RectVisible(long ptr)
321 @ stdcall Rectangle(long long long long long)
322 @ stdcall RemoveFontResourceA(str)
323 @ stdcall RemoveFontResourceExA(str long ptr)
324 @ stdcall RemoveFontResourceExW(wstr long ptr)
325 @ stub RemoveFontResourceTracking
326 @ stdcall RemoveFontResourceW(wstr)
327 @ stdcall ResetDCA(long ptr)
328 @ stdcall ResetDCW(long ptr)
329 @ stdcall ResizePalette(long long)
330 @ stdcall RestoreDC(long long)
331 @ stdcall RoundRect(long long long long long long long)
332 @ stdcall SaveDC(long)
333 @ stdcall ScaleViewportExtEx(long long long long long ptr)
334 @ stdcall ScaleWindowExtEx(long long long long long ptr)
335 @ stub SelectBrushLocal
336 @ stdcall SelectClipPath(long long)
337 @ stdcall SelectClipRgn(long long)
338 @ stub SelectFontLocal
339 @ stdcall SelectObject(long long)
340 @ stdcall SelectPalette(long long long)
341 @ stdcall SetAbortProc(long ptr)
342 @ stdcall SetArcDirection(long long)
343 @ stdcall SetBitmapBits(long long ptr)
344 @ stdcall SetBitmapDimensionEx(long long long ptr)
345 @ stdcall SetBkColor(long long)
346 @ stdcall SetBkMode(long long)
347 @ stdcall SetBoundsRect(long ptr long)
348 @ stdcall SetBrushOrgEx(long long long ptr)
349 @ stdcall SetColorAdjustment(long ptr)
350 @ stdcall SetColorSpace(long long)
351 @ stdcall SetDCBrushColor(long long)
352 @ stdcall SetDIBColorTable(long long long ptr)
353 @ stdcall SetDIBits(long long long long ptr ptr long)
354 @ stdcall SetDIBitsToDevice(long long long long long long long long long ptr ptr long)
355 @ stdcall SetDeviceGammaRamp(long ptr)
356 @ stdcall SetEnhMetaFileBits(long ptr)
357 @ stub SetFontEnumeration
358 @ stdcall SetGraphicsMode(long long)
359 @ stdcall SetICMMode(long long)
360 @ stub SetICMProfileA
361 @ stub SetICMProfileW
362 @ stdcall SetLayout(long long)
363 @ stub SetMagicColors
364 @ stdcall SetMapMode(long long)
365 @ stdcall SetMapperFlags(long long)
366 @ stdcall SetMetaFileBitsEx(long ptr)
367 @ stdcall SetMetaRgn(long)
368 @ stdcall SetMiterLimit(long long ptr)
369 @ stdcall SetObjectOwner(long long)
370 @ stdcall SetPaletteEntries(long long long ptr)
371 @ stdcall SetPixel(long long long long)
372 @ stdcall SetPixelFormat(long long ptr)
373 @ stdcall SetPixelV(long long long long)
374 @ stdcall SetPolyFillMode(long long)
375 @ stdcall SetROP2(long long)
376 @ stdcall SetRectRgn(long long long long long)
377 @ stdcall SetRelAbs(long long)
378 @ stdcall SetStretchBltMode(long long)
379 @ stdcall SetSystemPaletteUse(long long)
380 @ stdcall SetTextAlign(long long)
381 @ stdcall SetTextCharacterExtra(long long)
382 @ stdcall SetTextColor(long long)
383 @ stdcall SetTextJustification(long long long)
384 @ stdcall SetViewportExtEx(long long long ptr)
385 @ stdcall SetViewportOrgEx(long long long ptr)
386 @ stdcall SetVirtualResolution(long long long long long)
387 @ stdcall SetWinMetaFileBits(long ptr long ptr)
388 @ stdcall SetWindowExtEx(long long long ptr)
389 @ stdcall SetWindowOrgEx(long long long ptr)
390 @ stdcall SetWorldTransform(long ptr)
391 @ stdcall StartDocA(long ptr)
392 @ stdcall StartDocW(long ptr)
393 @ stdcall StartPage(long)
394 @ stdcall StretchBlt(long long long long long long long long long long long)
395 @ stdcall StretchDIBits(long long long long long long long long long ptr ptr long long)
396 @ stdcall StrokeAndFillPath(long)
397 @ stdcall StrokePath(long)
398 @ stdcall SwapBuffers(long)
399 @ stdcall TextOutA(long long long str long)
400 @ stdcall TextOutW(long long long wstr long)
401 @ stdcall TranslateCharsetInfo(ptr ptr long)
402 @ stub UnloadNetworkFonts
403 @ stdcall UnrealizeObject(long)
404 @ stdcall UpdateColors(long)
405 @ stub UpdateICMRegKey
406 @ stub UpdateICMRegKeyA
407 @ stub UpdateICMRegKeyW
408 @ stdcall WidenPath(long)
409 @ stub gdiPlaySpoolStream
410 @ extern pfnRealizePalette
411 @ extern pfnSelectPalette
412 @ stub pstackConnect
413 @ stub GetDCBrushColor #stdcall (long)
414 @ stub GetDCPenColor #stdcall (long)
416 ################################################################
417 # Wine extensions: Win16 functions that are needed by other dlls
419 @ stdcall CloseJob16(long)
420 @ stdcall CloseMetaFile16(long)
421 @ stdcall DeleteMetaFile16(long)
422 @ stdcall DrvGetPrinterData16(str str ptr ptr long ptr)
423 @ stdcall DrvSetPrinterData16(str str long ptr long)
424 @ stdcall ExcludeVisRect16(long long long long long)
425 @ stdcall GetDCState16(long)
426 @ stdcall InquireVisRgn16(long)
427 @ stdcall IntersectVisRect16(long long long long long)
428 @ stdcall IsDCCurrentPalette16(long)
429 @ stdcall OpenJob16(str str long)
430 @ stdcall RestoreVisRgn16(long)
431 @ stdcall SaveVisRgn16(long)
432 @ stdcall SelectVisRgn16(long long)
433 @ stdcall SetDCHook(long ptr long)
434 @ stdcall SetDCOrg16(long long long)
435 @ stdcall SetDCState16(long long)
436 @ stdcall SetHookFlags16(long long)
437 @ stdcall WriteSpool16(long ptr long)
439 ################################################################
440 # Wine dll separation hacks, these will go away, don't use them
442 @ cdecl DC_GetDCPtr(long)
443 @ cdecl DIB_BitmapInfoSize(ptr long)
444 @ cdecl DIB_CreateDIBFromBitmap(long long)
445 @ cdecl DIB_CreateDIBSection(long ptr long ptr long long long)
446 @ cdecl DIB_GetDIBImageBytes(long long long)
447 @ cdecl DIB_GetDIBWidthBytes(long long)
448 @ cdecl GDI_GetObjPtr(long long)
449 @ cdecl GDI_ReleaseObj(long)