105 lines
5.1 KiB
Python
105 lines
5.1 KiB
Python
name x11drv
|
|
type win32
|
|
init X11DRV_Init
|
|
|
|
import user32.dll
|
|
import gdi32.dll
|
|
import advapi32.dll
|
|
import kernel32.dll
|
|
import ntdll.dll
|
|
|
|
debug_channels (bitblt bitmap clipboard cursor dinput event font gdi graphics
|
|
key keyboard opengl palette text win x11drv)
|
|
|
|
# GDI driver
|
|
|
|
@ cdecl Arc(ptr long long long long long long long long) X11DRV_Arc
|
|
@ cdecl BitBlt(ptr long long long long ptr long long long) X11DRV_BitBlt
|
|
@ cdecl BitmapBits(long ptr long long) X11DRV_BitmapBits
|
|
@ cdecl ChoosePixelFormat(ptr ptr) X11DRV_ChoosePixelFormat
|
|
@ cdecl Chord(ptr long long long long long long long long) X11DRV_Chord
|
|
@ cdecl CreateBitmap(long) X11DRV_CreateBitmap
|
|
@ cdecl CreateDC(ptr str str str ptr) X11DRV_CreateDC
|
|
@ cdecl CreateDIBSection(ptr ptr long ptr long long long) X11DRV_DIB_CreateDIBSection
|
|
@ cdecl DeleteDC(ptr) X11DRV_DeleteDC
|
|
@ cdecl DeleteObject(long) X11DRV_DeleteObject
|
|
@ cdecl DescribePixelFormat(ptr long long ptr) X11DRV_DescribePixelFormat
|
|
@ cdecl Ellipse(ptr long long long long) X11DRV_Ellipse
|
|
@ cdecl EnumDeviceFonts(long ptr ptr long) X11DRV_EnumDeviceFonts
|
|
@ cdecl ExtFloodFill(ptr long long long long) X11DRV_ExtFloodFill
|
|
@ cdecl ExtEscape(ptr long long ptr long ptr) X11DRV_ExtEscape
|
|
@ cdecl ExtTextOut(ptr long long long ptr ptr long ptr) X11DRV_ExtTextOut
|
|
@ cdecl GetCharWidth(ptr long long ptr) X11DRV_GetCharWidth
|
|
@ cdecl GetDCOrgEx(ptr ptr) X11DRV_GetDCOrgEx
|
|
@ cdecl GetDeviceCaps(ptr long) X11DRV_GetDeviceCaps
|
|
@ cdecl GetDeviceGammaRamp(ptr ptr) X11DRV_GetDeviceGammaRamp
|
|
@ cdecl GetPixel(ptr long long) X11DRV_GetPixel
|
|
@ cdecl GetPixelFormat(ptr) X11DRV_GetPixelFormat
|
|
@ cdecl GetTextExtentPoint(ptr ptr long ptr) X11DRV_GetTextExtentPoint
|
|
@ cdecl GetTextMetrics(ptr ptr) X11DRV_GetTextMetrics
|
|
@ cdecl LineTo(ptr long long) X11DRV_LineTo
|
|
@ cdecl PaintRgn(ptr long) X11DRV_PaintRgn
|
|
@ cdecl PatBlt(ptr long long long long long) X11DRV_PatBlt
|
|
@ cdecl Pie(ptr long long long long long long long long) X11DRV_Pie
|
|
@ cdecl PolyPolygon(ptr ptr ptr long) X11DRV_PolyPolygon
|
|
@ cdecl PolyPolyline(ptr ptr ptr long) X11DRV_PolyPolyline
|
|
@ cdecl Polygon(ptr ptr long) X11DRV_Polygon
|
|
@ cdecl Polyline(ptr ptr long) X11DRV_Polyline
|
|
@ cdecl Rectangle(ptr long long long long) X11DRV_Rectangle
|
|
@ cdecl RoundRect(ptr long long long long long long) X11DRV_RoundRect
|
|
@ cdecl SelectObject(ptr long) X11DRV_SelectObject
|
|
@ cdecl SetBkColor(ptr long) X11DRV_SetBkColor
|
|
@ cdecl SetDIBitsToDevice(ptr long long long long long long long long ptr ptr long) X11DRV_SetDIBitsToDevice
|
|
@ cdecl SetDeviceClipping(ptr) X11DRV_SetDeviceClipping
|
|
@ cdecl SetDeviceGammaRamp(ptr ptr) X11DRV_SetDeviceGammaRamp
|
|
@ cdecl SetPixel(ptr long long long) X11DRV_SetPixel
|
|
@ cdecl SetPixelFormat(ptr long ptr) X11DRV_SetPixelFormat
|
|
@ cdecl SetTextColor(ptr long) X11DRV_SetTextColor
|
|
@ cdecl StretchBlt(ptr long long long long ptr long long long long long) X11DRV_StretchBlt
|
|
@ cdecl SwapBuffers(ptr) X11DRV_SwapBuffers
|
|
|
|
# USER driver
|
|
|
|
@ cdecl InitKeyboard() X11DRV_InitKeyboard
|
|
@ cdecl VkKeyScan(long) X11DRV_VkKeyScan
|
|
@ cdecl MapVirtualKey(long long) X11DRV_MapVirtualKey
|
|
@ cdecl GetKeyNameText(long str long) X11DRV_GetKeyNameText
|
|
@ cdecl ToUnicode(long long ptr ptr long long) X11DRV_ToUnicode
|
|
@ cdecl Beep() X11DRV_Beep
|
|
@ cdecl GetDIState(long ptr) X11DRV_GetDIState
|
|
@ cdecl GetDIData(ptr long ptr ptr long) X11DRV_GetDIData
|
|
@ cdecl InitMouse(ptr) X11DRV_InitMouse
|
|
@ cdecl SetCursor(ptr) X11DRV_SetCursor
|
|
@ cdecl GetCursorPos(ptr) X11DRV_GetCursorPos
|
|
@ cdecl SetCursorPos(long long) X11DRV_SetCursorPos
|
|
@ cdecl GetScreenSaveActive() X11DRV_GetScreenSaveActive
|
|
@ cdecl SetScreenSaveActive(long) X11DRV_SetScreenSaveActive
|
|
@ cdecl GetScreenSaveTimeout() X11DRV_GetScreenSaveTimeout
|
|
@ cdecl SetScreenSaveTimeout(long) X11DRV_SetScreenSaveTimeout
|
|
@ cdecl LoadOEMResource(long long) X11DRV_LoadOEMResource
|
|
@ cdecl CreateWindow(long ptr long) X11DRV_CreateWindow
|
|
@ cdecl DestroyWindow(long) X11DRV_DestroyWindow
|
|
@ cdecl GetDC(long long long long) X11DRV_GetDC
|
|
@ cdecl EnableWindow(long long) X11DRV_EnableWindow
|
|
@ cdecl ForceWindowRaise(long) X11DRV_ForceWindowRaise
|
|
@ cdecl MsgWaitForMultipleObjectsEx(long ptr long long long) X11DRV_MsgWaitForMultipleObjectsEx
|
|
@ cdecl ScrollDC(long long long ptr ptr long ptr) X11DRV_ScrollDC
|
|
@ cdecl ScrollWindowEx(long long long ptr ptr long ptr long) X11DRV_ScrollWindowEx
|
|
@ cdecl SetFocus(long) X11DRV_SetFocus
|
|
@ cdecl SetParent(long long) X11DRV_SetParent
|
|
@ cdecl SetWindowPos(ptr) X11DRV_SetWindowPos
|
|
@ cdecl SetWindowRgn(long long long) X11DRV_SetWindowRgn
|
|
@ cdecl SetWindowIcon(long long long) X11DRV_SetWindowIcon
|
|
@ cdecl SetWindowStyle(ptr long) X11DRV_SetWindowStyle
|
|
@ cdecl SetWindowText(long wstr) X11DRV_SetWindowText
|
|
@ cdecl ShowWindow(long long) X11DRV_ShowWindow
|
|
@ cdecl SysCommandSizeMove(long long) X11DRV_SysCommandSizeMove
|
|
@ cdecl AcquireClipboard() X11DRV_AcquireClipboard
|
|
@ cdecl ReleaseClipboard() X11DRV_ReleaseClipboard
|
|
@ cdecl SetClipboardData(long) X11DRV_SetClipboardData
|
|
@ cdecl GetClipboardData(long) X11DRV_GetClipboardData
|
|
@ cdecl IsClipboardFormatAvailable(long) X11DRV_IsClipboardFormatAvailable
|
|
@ cdecl RegisterClipboardFormat(str) X11DRV_RegisterClipboardFormat
|
|
@ cdecl IsSelectionOwner() X11DRV_IsSelectionOwner
|
|
@ cdecl ResetSelectionOwner(ptr long) X11DRV_ResetSelectionOwner
|