2 (cl:in-package w32apimod
)
4 (define-w32api-module win95.painting-drawing
:win95.painting-drawing
)
6 (cl:in-package cl-w32api.module.win95.painting-drawing
)
8 (require-and-inherit-module "win95.~")
10 (defcstructex-exported (PAINTSTRUCT :size
64)
13 (rcPaint (:inline RECT
))
16 (rgbReserved :pointer
))
18 (defcstruct PAINTSTRUCT
36 (defcfunex-exported ("BeginPaint" BeginPaint
:convention
:stdcall
) HDC
38 (|lpPaint| PAINTSTRUCT
))
40 (defcfunex-exported ("DrawAnimatedRects" DrawAnimatedRects
:convention
:stdcall
) :int
46 (defcfunex-exported ("DrawCaption" DrawCaption
:convention
:stdcall
) :int
52 (defcfunex-exported ("DrawEdge" DrawEdge
:convention
:stdcall
) :int
58 (defcfunex-exported ("DrawFocusRect" DrawFocusRect
:convention
:stdcall
) :int
62 (defcfunex-exported ("DrawFrameControl" DrawFrameControl
:convention
:stdcall
) :int
68 (defcfunex-exported ("DrawStateA" DrawStateA
:convention
:stdcall
) :int
80 (defcfunex-exported ("DrawStateW" DrawStateW
:convention
:stdcall
) :int
92 (defcfunex-exported ("EndPaint" EndPaint
:convention
:stdcall
) BOOL
94 (|lpPaint| PAINTSTRUCT
))
96 (defcfunex-exported ("ExcludeUpdateRgn" ExcludeUpdateRgn
:convention
:stdcall
) :int
100 (defcfunex-exported ("GdiFlush" GdiFlush
:convention
:stdcall
) :int
)
102 (defcfunex-exported ("GdiGetBatchLimit" GdiGetBatchLimit
:convention
:stdcall
) :unsigned-long
)
104 (defcfunex-exported ("GdiSetBatchLimit" GdiSetBatchLimit
:convention
:stdcall
) :unsigned-long
105 (arg0 :unsigned-long
))
107 (defcfunex-exported ("GetBkColor" GetBkColor
:convention
:stdcall
) :unsigned-long
110 (defcfunex-exported ("GetBkMode" GetBkMode
:convention
:stdcall
) :int
113 (defcfunex-exported ("GetBoundsRect" GetBoundsRect
:convention
:stdcall
) :unsigned-int
116 (arg2 :unsigned-int
))
118 (defcfunex-exported ("GetROP2" GetROP2
:convention
:stdcall
) :int
121 (defcfunex-exported ("GetUpdateRect" GetUpdateRect
:convention
:stdcall
) :int
126 (defcfunex-exported ("GetUpdateRgn" GetUpdateRgn
:convention
:stdcall
) :int
131 (defcfunex-exported ("GetWindowDC" GetWindowDC
:convention
:stdcall
) :pointer
134 (defcfunex-exported ("GetWindowRgn" GetWindowRgn
:convention
:stdcall
) :int
138 (defcfunex-exported ("GrayStringA" GrayStringA
:convention
:stdcall
) :int
149 (defcfunex-exported ("GrayStringW" GrayStringW
:convention
:stdcall
) :int
160 (defcfunex-exported ("InvalidateRect" InvalidateRect
:convention
:stdcall
) :int
165 (defcfunex-exported ("InvalidateRgn" InvalidateRgn
:convention
:stdcall
) :int
170 (defcfunex-exported ("LockWindowUpdate" LockWindowUpdate
:convention
:stdcall
) :int
173 (defcfunex-exported ("PaintDesktop" PaintDesktop
:convention
:stdcall
) :int
176 (defcfunex-exported ("RedrawWindow" RedrawWindow
:convention
:stdcall
) :int
180 (arg3 :unsigned-int
))
182 (defcfunex-exported ("SetBkColor" SetBkColor
:convention
:stdcall
) :unsigned-long
184 (arg1 :unsigned-long
))
186 (defcfunex-exported ("SetBkMode" SetBkMode
:convention
:stdcall
) :int
190 (defcfunex-exported ("SetBoundsRect" SetBoundsRect
:convention
:stdcall
) :unsigned-int
193 (arg2 :unsigned-int
))
195 (defcfunex-exported ("SetRectRgn" SetRectRgn
:convention
:stdcall
) :int
202 (defcfunex-exported ("SetROP2" SetROP2
:convention
:stdcall
) :int
206 (defcfunex-exported ("SetWindowRgn" SetWindowRgn
:convention
:stdcall
) :int
211 (defcfunex-exported ("UpdateWindow" UpdateWindow
:convention
:stdcall
) BOOL
214 (defcfunex-exported ("ValidateRect" ValidateRect
:convention
:stdcall
) :int
218 (defcfunex-exported ("ValidateRgn" ValidateRgn
:convention
:stdcall
) :int
222 (defcfunex-exported ("WindowFromDC" WindowFromDC
:convention
:stdcall
) :pointer