Return error from low level driver when necessary.
[wine.git] / dlls / gdi / gdi32.spec
blobd58d467a709ce4ee172b27b209af29e6a47ec8a1
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 @ stdcall CopyEnhMetaFileW(long wstr)
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 @ stdcall EnumICMProfilesA(long ptr long)
101 @ stdcall EnumICMProfilesW(long ptr long)
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 @ stdcall GdiAlphaBlend(long long long long long long long long long long long)
122 @ stub GdiAssociateObject
123 @ stub GdiCleanCacheDC
124 @ stdcall GdiComment(long long ptr)
125 @ stub GdiConvertAndCheckDC
126 @ stub GdiConvertBitmap
127 @ stub GdiConvertBrush
128 @ stub GdiConvertDC
129 @ stub GdiConvertEnhMetaFile
130 @ stub GdiConvertFont
131 @ stub GdiConvertMetaFilePict
132 @ stub GdiConvertPalette
133 @ stub GdiConvertRegion
134 @ stdcall GdiConvertToDevmodeW(ptr)
135 @ stub GdiCreateLocalBitmap
136 @ stub GdiCreateLocalBrush
137 @ stub GdiCreateLocalEnhMetaFile
138 @ stub GdiCreateLocalFont
139 @ stub GdiCreateLocalMetaFilePict
140 @ stub GdiCreateLocalPalette
141 @ stub GdiCreateLocalRegion
142 @ stub GdiDciBeginAccess
143 @ stub GdiDciCreateOffscreenSurface
144 @ stub GdiDciCreateOverlaySurface
145 @ stub GdiDciCreatePrimarySurface
146 @ stub GdiDciDestroySurface
147 @ stub GdiDciDrawSurface
148 @ stub GdiDciEndAccess
149 @ stub GdiDciEnumSurface
150 @ stub GdiDciInitialize
151 @ stub GdiDciSetClipList
152 @ stub GdiDciSetDestination
153 @ stub GdiDeleteLocalDC
154 @ stub GdiDeleteLocalObject
155 @ stub GdiDllInitialize
156 @ stdcall GdiFlush()
157 @ stdcall GdiGetBatchLimit()
158 @ stub GdiGetLocalBitmap
159 @ stub GdiGetLocalBrush
160 @ stub GdiGetLocalDC
161 @ stub GdiGetLocalFont
162 @ stdcall GdiGradientFill(long ptr long ptr long long)
163 @ stub GdiIsMetaFileDC
164 @ stub GdiPlayDCScript
165 @ stub GdiPlayJournal
166 @ stub GdiPlayScript
167 @ stub GdiReleaseLocalDC
168 @ stub GdiSetAttrs
169 @ stdcall GdiSetBatchLimit(long)
170 @ stub GdiSetServerAttr
171 @ stdcall GdiTransparentBlt(long long long long long long long long long long long)
172 @ stub GdiWinWatchClose
173 @ stub GdiWinWatchDidStatusChange
174 @ stub GdiWinWatchGetClipList
175 @ stub GdiWinWatchOpen
176 @ stdcall GetArcDirection(long)
177 @ stdcall GetAspectRatioFilterEx(long ptr)
178 @ stdcall GetBitmapBits(long long ptr)
179 @ stdcall GetBitmapDimensionEx(long ptr)
180 @ stdcall GetBkColor(long)
181 @ stdcall GetBkMode(long)
182 @ stdcall GetBoundsRect(long ptr long)
183 @ stdcall GetBrushOrgEx(long ptr)
184 @ stdcall GetCharABCWidthsA(long long long ptr)
185 @ stdcall GetCharABCWidthsFloatA(long long long ptr)
186 @ stdcall GetCharABCWidthsFloatW(long long long ptr)
187 @ stdcall GetCharABCWidthsW(long long long ptr)
188 @ stdcall GetCharWidth32A(long long long long)
189 @ stdcall GetCharWidth32W(long long long long)
190 @ stdcall GetCharWidthA(long long long long) GetCharWidth32A
191 @ stdcall GetCharWidthFloatA(long long long ptr)
192 @ stdcall GetCharWidthFloatW(long long long ptr)
193 @ stdcall GetCharWidthW(long long long long) GetCharWidth32W
194 @ stub GetCharWidthWOW
195 @ stdcall GetCharacterPlacementA(long str long long ptr long)
196 @ stdcall GetCharacterPlacementW(long wstr long long ptr long)
197 @ stdcall GetClipBox(long ptr)
198 @ stdcall GetClipRgn(long long)
199 @ stdcall GetColorAdjustment(long ptr)
200 @ stdcall GetColorSpace(long)
201 @ stdcall GetCurrentObject(long long)
202 @ stdcall GetCurrentPositionEx(long ptr)
203 @ stdcall GetDCBrushColor(long)
204 @ stdcall GetDCOrgEx(long ptr)
205 @ stdcall GetDCPenColor(long)
206 @ stdcall GetDIBColorTable(long long long ptr)
207 @ stdcall GetDIBits(long long long long ptr ptr long)
208 @ stdcall GetDeviceCaps(long long)
209 @ stdcall GetDeviceGammaRamp(long ptr)
210 @ stub GetETM
211 @ stdcall GetEnhMetaFileA(str)
212 @ stdcall GetEnhMetaFileBits(long long ptr)
213 @ stdcall GetEnhMetaFileDescriptionA(long long ptr)
214 @ stdcall GetEnhMetaFileDescriptionW(long long ptr)
215 @ stdcall GetEnhMetaFileHeader(long long ptr)
216 @ stdcall GetEnhMetaFilePaletteEntries (long long ptr)
217 @ stdcall GetEnhMetaFileW(wstr)
218 @ stdcall GetFontData(long long long ptr long)
219 @ stdcall GetFontLanguageInfo(long)
220 @ stub GetFontResourceInfo
221 @ stub GetFontResourceInfoW
222 @ stdcall GetGlyphIndicesA(long ptr long ptr long)
223 @ stdcall GetGlyphIndicesW(long ptr long ptr long)
224 @ stub GetGlyphOutline
225 @ stdcall GetGlyphOutlineA(long long long ptr long ptr ptr)
226 @ stdcall GetGlyphOutlineW(long long long ptr long ptr ptr)
227 @ stub GetGlyphOutlineWow
228 @ stdcall GetGraphicsMode(long)
229 @ stdcall GetICMProfileA(long ptr ptr)
230 @ stub GetICMProfileW
231 @ stub GetKerningPairs
232 @ stdcall GetKerningPairsA(long long ptr)
233 @ stdcall GetKerningPairsW(long long ptr)
234 @ stdcall GetLayout(long)
235 @ stub GetLogColorSpaceA
236 @ stub GetLogColorSpaceW
237 @ stdcall GetMapMode(long)
238 @ stdcall GetMetaFileA(str)
239 @ stdcall GetMetaFileBitsEx(long long ptr)
240 @ stdcall GetMetaFileW(wstr)
241 @ stdcall GetMetaRgn(long long)
242 @ stdcall GetMiterLimit(long ptr)
243 @ stdcall GetNearestColor(long long)
244 @ stdcall GetNearestPaletteIndex(long long)
245 @ stdcall GetObjectA(long long ptr)
246 @ stdcall GetObjectType(long)
247 @ stdcall GetObjectW(long long ptr)
248 @ stdcall GetOutlineTextMetricsA(long long ptr)
249 @ stdcall GetOutlineTextMetricsW(long long ptr)
250 @ stdcall GetPaletteEntries(long long long ptr)
251 @ stdcall GetPath(long ptr ptr long)
252 @ stdcall GetPixel(long long long)
253 @ stdcall GetPixelFormat(long)
254 @ stdcall GetPolyFillMode(long)
255 @ stdcall GetROP2(long)
256 @ stdcall GetRandomRgn(long long long)
257 @ stdcall GetRasterizerCaps(ptr long)
258 @ stdcall GetRegionData(long long ptr)
259 @ stdcall GetRelAbs(long long)
260 @ stdcall GetRgnBox(long ptr)
261 @ stdcall GetStockObject(long)
262 @ stdcall GetStretchBltMode(long)
263 @ stdcall GetSystemPaletteEntries(long long long ptr)
264 @ stdcall GetSystemPaletteUse(long)
265 @ stdcall GetTextAlign(long)
266 @ stdcall GetTextCharacterExtra(long)
267 @ stdcall GetTextCharset(long)
268 @ stdcall GetTextCharsetInfo(long ptr long)
269 @ stdcall GetTextColor(long)
270 @ stdcall GetTextExtentExPointA(long str long long ptr ptr ptr)
271 @ stdcall GetTextExtentExPointW(long wstr long long ptr ptr ptr)
272 @ stdcall GetTextExtentPoint32A(long str long ptr)
273 @ stdcall GetTextExtentPoint32W(long wstr long ptr)
274 @ stdcall GetTextExtentPointA(long str long ptr)
275 @ stdcall GetTextExtentPointI(long ptr long ptr)
276 @ stdcall GetTextExtentPointW(long wstr long ptr)
277 @ stdcall GetTextFaceA(long long ptr)
278 @ stdcall GetTextFaceW(long long ptr)
279 @ stdcall GetTextMetricsA(long ptr)
280 @ stdcall GetTextMetricsW(long ptr)
281 @ stdcall GetTransform(long long ptr)
282 @ stdcall GetViewportExtEx(long ptr)
283 @ stdcall GetViewportOrgEx(long ptr)
284 @ stdcall GetWinMetaFileBits(long long ptr long long)
285 @ stdcall GetWindowExtEx(long ptr)
286 @ stdcall GetWindowOrgEx(long ptr)
287 @ stdcall GetWorldTransform(long ptr)
288 @ stdcall IntersectClipRect(long long long long long)
289 @ stdcall InvertRgn(long long)
290 @ stdcall LPtoDP(long ptr long)
291 @ stdcall LineDDA(long long long long ptr long)
292 @ stdcall LineTo(long long long)
293 @ stub LoadImageColorMatcherA
294 @ stub LoadImageColorMatcherW
295 @ stdcall MaskBlt(long long long long long long long long long long long long)
296 @ stdcall ModifyWorldTransform(long ptr long)
297 @ stdcall MoveToEx(long long long ptr)
298 @ stdcall OffsetClipRgn(long long long)
299 @ stdcall OffsetRgn(long long long)
300 @ stdcall OffsetViewportOrgEx(long long long ptr)
301 @ stdcall OffsetWindowOrgEx(long long long ptr)
302 @ stdcall PaintRgn(long long)
303 @ stdcall PatBlt(long long long long long long)
304 @ stdcall PathToRegion(long)
305 @ stdcall Pie(long long long long long long long long long)
306 @ stdcall PlayEnhMetaFile(long long ptr)
307 @ stdcall PlayEnhMetaFileRecord(long ptr ptr long)
308 @ stdcall PlayMetaFile(long long)
309 @ stdcall PlayMetaFileRecord(long ptr ptr long)
310 @ stdcall PlgBlt(long ptr long long long long long long long long)
311 @ stdcall PolyBezier(long ptr long)
312 @ stdcall PolyBezierTo(long ptr long)
313 @ stdcall PolyDraw(long ptr ptr long)
314 @ stdcall PolyPolygon(long ptr ptr long)
315 @ stdcall PolyPolyline(long ptr ptr long)
316 @ stdcall PolyTextOutA(long ptr long)
317 @ stdcall PolyTextOutW(long ptr long)
318 @ stdcall Polygon(long ptr long)
319 @ stdcall Polyline(long ptr long)
320 @ stdcall PolylineTo(long ptr long)
321 @ stdcall PtInRegion(long long long)
322 @ stdcall PtVisible(long long long)
323 @ stdcall RealizePalette(long)
324 @ stdcall RectInRegion(long ptr)
325 @ stdcall RectVisible(long ptr)
326 @ stdcall Rectangle(long long long long long)
327 @ stdcall RemoveFontResourceA(str)
328 @ stdcall RemoveFontResourceExA(str long ptr)
329 @ stdcall RemoveFontResourceExW(wstr long ptr)
330 @ stub RemoveFontResourceTracking
331 @ stdcall RemoveFontResourceW(wstr)
332 @ stdcall ResetDCA(long ptr)
333 @ stdcall ResetDCW(long ptr)
334 @ stdcall ResizePalette(long long)
335 @ stdcall RestoreDC(long long)
336 @ stdcall RoundRect(long long long long long long long)
337 @ stdcall SaveDC(long)
338 @ stdcall ScaleViewportExtEx(long long long long long ptr)
339 @ stdcall ScaleWindowExtEx(long long long long long ptr)
340 @ stub SelectBrushLocal
341 @ stdcall SelectClipPath(long long)
342 @ stdcall SelectClipRgn(long long)
343 @ stub SelectFontLocal
344 @ stdcall SelectObject(long long)
345 @ stdcall SelectPalette(long long long)
346 @ stdcall SetAbortProc(long ptr)
347 @ stdcall SetArcDirection(long long)
348 @ stdcall SetBitmapBits(long long ptr)
349 @ stdcall SetBitmapDimensionEx(long long long ptr)
350 @ stdcall SetBkColor(long long)
351 @ stdcall SetBkMode(long long)
352 @ stdcall SetBoundsRect(long ptr long)
353 @ stdcall SetBrushOrgEx(long long long ptr)
354 @ stdcall SetColorAdjustment(long ptr)
355 @ stdcall SetColorSpace(long long)
356 @ stdcall SetDCBrushColor(long long)
357 @ stdcall SetDCPenColor(long long)
358 @ stdcall SetDIBColorTable(long long long ptr)
359 @ stdcall SetDIBits(long long long long ptr ptr long)
360 @ stdcall SetDIBitsToDevice(long long long long long long long long long ptr ptr long)
361 @ stdcall SetDeviceGammaRamp(long ptr)
362 @ stdcall SetEnhMetaFileBits(long ptr)
363 @ stub SetFontEnumeration
364 @ stdcall SetGraphicsMode(long long)
365 @ stdcall SetICMMode(long long)
366 @ stdcall SetICMProfileA (long ptr)
367 @ stub SetICMProfileW
368 @ stdcall SetLayout(long long)
369 @ stub SetMagicColors
370 @ stdcall SetMapMode(long long)
371 @ stdcall SetMapperFlags(long long)
372 @ stdcall SetMetaFileBitsEx(long ptr)
373 @ stdcall SetMetaRgn(long)
374 @ stdcall SetMiterLimit(long long ptr)
375 @ stdcall SetObjectOwner(long long)
376 @ stdcall SetPaletteEntries(long long long ptr)
377 @ stdcall SetPixel(long long long long)
378 @ stdcall SetPixelFormat(long long ptr)
379 @ stdcall SetPixelV(long long long long)
380 @ stdcall SetPolyFillMode(long long)
381 @ stdcall SetROP2(long long)
382 @ stdcall SetRectRgn(long long long long long)
383 @ stdcall SetRelAbs(long long)
384 @ stdcall SetStretchBltMode(long long)
385 @ stdcall SetSystemPaletteUse(long long)
386 @ stdcall SetTextAlign(long long)
387 @ stdcall SetTextCharacterExtra(long long)
388 @ stdcall SetTextColor(long long)
389 @ stdcall SetTextJustification(long long long)
390 @ stdcall SetViewportExtEx(long long long ptr)
391 @ stdcall SetViewportOrgEx(long long long ptr)
392 @ stdcall SetVirtualResolution(long long long long long)
393 @ stdcall SetWinMetaFileBits(long ptr long ptr)
394 @ stdcall SetWindowExtEx(long long long ptr)
395 @ stdcall SetWindowOrgEx(long long long ptr)
396 @ stdcall SetWorldTransform(long ptr)
397 @ stdcall StartDocA(long ptr)
398 @ stdcall StartDocW(long ptr)
399 @ stdcall StartPage(long)
400 @ stdcall StretchBlt(long long long long long long long long long long long)
401 @ stdcall StretchDIBits(long long long long long long long long long ptr ptr long long)
402 @ stdcall StrokeAndFillPath(long)
403 @ stdcall StrokePath(long)
404 @ stdcall SwapBuffers(long)
405 @ stdcall TextOutA(long long long str long)
406 @ stdcall TextOutW(long long long wstr long)
407 @ stdcall TranslateCharsetInfo(ptr ptr long)
408 @ stub UnloadNetworkFonts
409 @ stdcall UnrealizeObject(long)
410 @ stdcall UpdateColors(long)
411 @ stub UpdateICMRegKey
412 @ stub UpdateICMRegKeyA
413 @ stub UpdateICMRegKeyW
414 @ stdcall WidenPath(long)
415 @ stub gdiPlaySpoolStream
416 @ extern pfnRealizePalette
417 @ extern pfnSelectPalette
418 @ stub pstackConnect
420 ################################################################
421 # Wine extensions: Win16 functions that are needed by other dlls
423 @ stdcall CloseJob16(long)
424 @ stdcall CloseMetaFile16(long)
425 @ stdcall DeleteMetaFile16(long)
426 @ stdcall DrvGetPrinterData16(str str ptr ptr long ptr)
427 @ stdcall DrvSetPrinterData16(str str long ptr long)
428 @ stdcall ExcludeVisRect16(long long long long long)
429 @ stdcall GetDCState16(long)
430 @ stdcall IntersectVisRect16(long long long long long)
431 @ stdcall IsDCCurrentPalette16(long)
432 @ stdcall OpenJob16(str str long)
433 @ stdcall SelectVisRgn16(long long)
434 @ stdcall SetDCHook(long ptr long)
435 @ stdcall SetDCOrg16(long long long)
436 @ stdcall SetDCState16(long long)
437 @ stdcall SetHookFlags16(long long)
438 @ stdcall WriteSpool16(long ptr long)
440 ################################################################
441 # Wine dll separation hacks, these will go away, don't use them
443 @ cdecl DIB_CreateDIBSection(long ptr long ptr long long long)
444 @ cdecl GDI_GetObjPtr(long long)
445 @ cdecl GDI_ReleaseObj(long)