name	sdldrv
type	win32
init	SDLDRV_Init

import	user32.dll
import	gdi32.dll
import	kernel32.dll
import	ntdll.dll

debug_channels (sdldrv)

# GDI driver

@ cdecl Arc(ptr long long long long long long long long) SDLDRV_DC_Arc
@ cdecl BitBlt(ptr long long long long ptr long long long) SDLDRV_DC_BitBlt
@ cdecl BitmapBits(long ptr long long) SDLDRV_DC_BitmapBits
@ cdecl Chord(ptr long long long long long long long long) SDLDRV_DC_Chord
@ cdecl CreateBitmap(long) SDLDRV_DC_CreateBitmap
@ cdecl CreateDC(ptr str str str ptr) SDLDRV_DC_CreateDC
@ cdecl CreateDIBSection(ptr ptr long ptr long long long) SDLDRV_DC_CreateDIBSection
@ cdecl DeleteDC(ptr) SDLDRV_DC_DeleteDC
@ cdecl DeleteObject(long) SDLDRV_DC_DeleteObject
@ cdecl Ellipse(ptr long long long long) SDLDRV_DC_Ellipse
@ cdecl ExtEscape(ptr long long ptr long ptr) SDLDRV_DC_ExtEscape
@ cdecl ExtFloodFill(ptr long long long long) SDLDRV_DC_ExtFloodFill
@ cdecl ExtTextOut(ptr long long long ptr ptr long ptr) SDLDRV_DC_ExtTextOut
@ cdecl GetCharWidth(ptr long long ptr) SDLDRV_DC_GetCharWidth
@ cdecl GetDeviceCaps(ptr long) SDLDRV_GetDeviceCaps
@ cdecl GetPixel(ptr long long) SDLDRV_DC_GetPixel
@ cdecl GetTextExtentPoint(ptr ptr long ptr) SDLDRV_DC_GetTextExtentPoint
@ cdecl GetTextMetrics(ptr ptr) SDLDRV_DC_GetTextMetrics
@ cdecl LineTo(ptr long long) SDLDRV_DC_LineTo
@ cdecl PaintRgn(ptr long) SDLDRV_DC_PaintRgn
@ cdecl PatBlt(ptr long long long long long) SDLDRV_DC_PatBlt
@ cdecl Pie(ptr long long long long long long long long) SDLDRV_DC_Pie
@ cdecl PolyPolygon(ptr ptr ptr long) SDLDRV_DC_PolyPolygon
@ cdecl PolyPolyline(ptr ptr ptr long) SDLDRV_DC_PolyPolyline
@ cdecl Polygon(ptr ptr long) SDLDRV_DC_Polygon
@ cdecl Polyline(ptr ptr long) SDLDRV_DC_Polyline
@ cdecl Rectangle(ptr long long long long) SDLDRV_DC_Rectangle
@ cdecl RoundRect(ptr long long long long long long) SDLDRV_DC_RoundRect
@ cdecl SelectObject(ptr long) SDLDRV_DC_SelectObject
@ cdecl SetBkColor(ptr long) SDLDRV_DC_SetBkColor
@ cdecl SetDeviceClipping(ptr) SDLDRV_DC_SetDeviceClipping
@ cdecl SetDIBitsToDevice(ptr long long long long long long long long ptr ptr long) SDLDRV_DC_SetDIBitsToDevice
@ cdecl SetPixel(ptr long long long) SDLDRV_DC_SetPixel
@ cdecl SetTextColor(ptr long) SDLDRV_DC_SetTextColor
@ cdecl StretchBlt(ptr long long long long ptr long long long long long) SDLDRV_DC_StretchBlt

# USER driver

@ cdecl VkKeyScan(long) SDLDRV_VkKeyScan
@ cdecl MapVirtualKey(long long) SDLDRV_MapVirtualKey
@ cdecl GetKeyNameText(long str long) SDLDRV_GetKeyNameText
@ cdecl ToUnicode(long long ptr ptr long long) SDLDRV_ToUnicode
@ cdecl Beep() SDLDRV_Beep
@ cdecl SetCursor(ptr) SDLDRV_SetCursor
@ cdecl GetScreenSaveActive() SDLDRV_GetScreenSaveActive
@ cdecl SetScreenSaveActive(long) SDLDRV_SetScreenSaveActive
@ cdecl CreateWindow(long ptr long) SDLDRV_CreateWindow
@ cdecl DestroyWindow(long) SDLDRV_DestroyWindow
@ cdecl GetDC(long long long long) SDLDRV_GetDC
@ cdecl MsgWaitForMultipleObjectsEx(long ptr long long long) SDLDRV_MsgWaitForMultipleObjectsEx
@ cdecl SetWindowPos(ptr) SDLDRV_SetWindowPos
@ cdecl AcquireClipboard() SDLDRV_AcquireClipboard
@ cdecl ReleaseClipboard() SDLDRV_ReleaseClipboard
@ cdecl SetClipboardData(long) SDLDRV_SetClipboardData
@ cdecl GetClipboardData(long) SDLDRV_GetClipboardData
@ cdecl IsClipboardFormatAvailable(long) SDLDRV_IsClipboardFormatAvailable
@ cdecl RegisterClipboardFormat(str) SDLDRV_RegisterClipboardFormat
@ cdecl IsSelectionOwner() SDLDRV_IsSelectionOwner
@ cdecl ShowWindow(long long) SDLDRV_ShowWindow
@ cdecl ChangeDisplayMode(ptr) SDLDRV_ChangeDisplayMode
