<s> from ctypes import * <EOL> BYTE = c_byte <EOL> WORD = c_ushort <EOL> DWORD = c_ulong <EOL> WCHAR = c_wchar <EOL> UINT = c_uint <EOL> DOUBLE = c_double <EOL> BOOLEAN = BYTE <EOL> BOOL = c_long <EOL> from ctypes import _SimpleCData <EOL> class VARIANT_BOOL ( _SimpleCData ) : <EOL> _type_ = "<STR_LIT:v>" <EOL> def __repr__ ( self ) : <EOL> return "<STR_LIT>" % ( self . __class__ . __name__ , self . value ) <EOL> ULONG = c_ulong <EOL> LONG = c_long <EOL> _LARGE_INTEGER = LARGE_INTEGER = c_longlong <EOL> _ULARGE_INTEGER = ULARGE_INTEGER = c_ulonglong <EOL> LPCOLESTR = LPOLESTR = OLESTR = c_wchar_p <EOL> LPCWSTR = LPWSTR = c_wchar_p <EOL> LPCSTR = LPSTR = c_char_p <EOL> WPARAM = c_uint <EOL> LPARAM = c_long <EOL> ATOM = WORD <EOL> LANGID = WORD <EOL> COLORREF = DWORD <EOL> LGRPID = DWORD <EOL> LCTYPE = DWORD <EOL> LCID = DWORD <EOL> HANDLE = c_ulong <EOL> HACCEL = HANDLE <EOL> HBITMAP = HANDLE <EOL> HBRUSH = HANDLE <EOL> HCOLORSPACE = HANDLE <EOL> HDC = HANDLE <EOL> HDESK = HANDLE <EOL> HDWP = HANDLE <EOL> HENHMETAFILE = HANDLE <EOL> HFONT = HANDLE <EOL> HGDIOBJ = HANDLE <EOL> HGLOBAL = HANDLE <EOL> HHOOK = HANDLE <EOL> HICON = HANDLE <EOL> HINSTANCE = HANDLE <EOL> HKEY = HANDLE <EOL> HKL = HANDLE <EOL> HLOCAL = HANDLE <EOL> HMENU = HANDLE <EOL> HMETAFILE = HANDLE <EOL> HMODULE = HANDLE <EOL> HMONITOR = HANDLE <EOL> HPALETTE = HANDLE <EOL> HPEN = HANDLE <EOL> HRGN = HANDLE <EOL> HRSRC = HANDLE <EOL> HSTR = HANDLE <EOL> HTASK = HANDLE <EOL> HWINSTA = HANDLE <EOL> HWND = HANDLE <EOL> SC_HANDLE = HANDLE <EOL> SERVICE_STATUS_HANDLE = HANDLE <EOL> class RECT ( Structure ) : <EOL> _fields_ = [ ( "<STR_LIT:left>" , c_long ) , <EOL> ( "<STR_LIT>" , c_long ) , <EOL> ( "<STR_LIT:right>" , c_long ) , <EOL> ( "<STR_LIT>" , c_long ) ] <EOL> tagRECT = _RECTL = RECTL = RECT <EOL> class _SMALL_RECT ( Structure ) : <EOL> _fields_ = [ ( '<STR_LIT>' , c_short ) , <EOL> ( '<STR_LIT>' , c_short ) , <EOL> ( '<STR_LIT>' , c_short ) , <EOL> ( '<STR_LIT>' , c_short ) ] <EOL> SMALL_RECT = _SMALL_RECT <EOL> class _COORD ( Structure ) : <EOL> _fields_ = [ ( '<STR_LIT:X>' , c_short ) , <EOL> ( '<STR_LIT:Y>' , c_short ) ] <EOL> class POINT ( Structure ) : <EOL> _fields_ = [ ( "<STR_LIT:x>" , c_long ) , <EOL> ( "<STR_LIT:y>" , c_long ) ] <EOL> tagPOINT = _POINTL = POINTL = POINT <EOL> class SIZE ( Structure ) : <EOL> _fields_ = [ ( "<STR_LIT>" , c_long ) , <EOL> ( "<STR_LIT>" , c_long ) ] <EOL> tagSIZE = SIZEL = SIZE <EOL> def RGB ( red , green , blue ) : <EOL> return red + ( green << <NUM_LIT:8> ) + ( blue << <NUM_LIT:16> ) <EOL> class FILETIME ( Structure ) : <EOL> _fields_ = [ ( "<STR_LIT>" , DWORD ) , <EOL> ( "<STR_LIT>" , DWORD ) ] <EOL> _FILETIME = FILETIME <EOL> class MSG ( Structure ) : <EOL> _fields_ = [ ( "<STR_LIT>" , HWND ) , <EOL> ( "<STR_LIT:message>" , c_uint ) , <EOL> ( "<STR_LIT>" , WPARAM ) , <EOL> ( "<STR_LIT>" , LPARAM ) , <EOL> ( "<STR_LIT:time>" , DWORD ) , <EOL> ( "<STR_LIT>" , POINT ) ] <EOL> tagMSG = MSG <EOL> MAX_PATH = <NUM_LIT> <EOL> class WIN32_FIND_DATAA ( Structure ) : <EOL> _fields_ = [ ( "<STR_LIT>" , DWORD ) , <EOL> ( "<STR_LIT>" , FILETIME ) , <EOL> ( "<STR_LIT>" , FILETIME ) , <EOL> ( "<STR_LIT>" , FILETIME ) , <EOL> ( "<STR_LIT>" , DWORD ) , <EOL> ( "<STR_LIT>" , DWORD ) , <EOL> ( "<STR_LIT>" , DWORD ) , <EOL> ( "<STR_LIT>" , DWORD ) , <EOL> ( "<STR_LIT>" , c_char * MAX_PATH ) , <EOL> ( "<STR_LIT>" , c_char * <NUM_LIT> ) ] <EOL> class WIN32_FIND_DATAW ( Structure ) : <EOL> _fields_ = [ ( "<STR_LIT>" , DWORD ) , <EOL> ( "<STR_LIT>" , FILETIME ) , <EOL> ( "<STR_LIT>" , FILETIME ) , <EOL> ( "<STR_LIT>" , FILETIME ) , <EOL> ( "<STR_LIT>" , DWORD ) , <EOL> ( "<STR_LIT>" , DWORD ) , <EOL> ( "<STR_LIT>" , DWORD ) , <EOL> ( "<STR_LIT>" , DWORD ) , <EOL> ( "<STR_LIT>" , c_wchar * MAX_PATH ) , <EOL> ( "<STR_LIT>" , c_wchar * <NUM_LIT> ) ] <EOL> __all__ = [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] </s>
