License GNU General Public License, version 3
Lines 287
Included in this Library
Permissions
Owner: wildintellect
Viewable by Everyone
Editable by All Siafoo Users
Hide
Siafoo – the intersection of pastebin, help desk, version control, and social networking Join Siafoo Now or Learn More

winbase.py Atom Feed 0

# 's
  1#some minor manual additions
2INVALID_HANDLE_VALUE = -1
3MAXDWORD = 4294967295
4# Generated by h2py from /home/bdm/Desktop/winbase.h
5VS_VERSION_INFO = 1
6VS_USER_DEFINED = 100
7VS_FFI_SIGNATURE = (-17890115)
8VS_FFI_STRUCVERSION = 0x00010000L
9VS_FFI_FILEFLAGSMASK = 0x0000003FL
10VS_FF_DEBUG = 0x00000001L
11VS_FF_PRERELEASE = 0x00000002L
12VS_FF_PATCHED = 0x00000004L
13VS_FF_PRIVATEBUILD = 0x00000008L
14VS_FF_INFOINFERRED = 0x00000010L
15VS_FF_SPECIALBUILD = 0x00000020L
16VOS_UNKNOWN = 0x00000000L
17VOS_DOS = 0x00010000L
18VOS_OS216 = 0x00020000L
19VOS_OS232 = 0x00030000L
20VOS_NT = 0x00040000L
21VOS_WINDOWSCE = 0x00050000L
22VOS__BASE = 0x00000000L
23VOS__WINDOWS16 = 0x00000001L
24VOS__PM16 = 0x00000002L
25VOS__PM32 = 0x00000003L
26VOS__WINDOWS32 = 0x00000004L
27VOS_DOS_WINDOWS16 = 0x00010001L
28VOS_DOS_WINDOWS32 = 0x00010004L
29VOS_OS216_PM16 = 0x00020002L
30VOS_OS232_PM32 = 0x00030003L
31VOS_NT_WINDOWS32 = 0x00040004L
32VOS_CE_WINDOWS32 = 0x00050004L
33VFT_UNKNOWN = 0x00000000L
34VFT_APP = 0x00000001L
35VFT_DLL = 0x00000002L
36VFT_DRV = 0x00000003L
37VFT_FONT = 0x00000004L
38VFT_VXD = 0x00000005L
39VFT_STATIC_LIB = 0x00000007L
40VFT2_UNKNOWN = 0x00000000L
41VFT2_DRV_PRINTER = 0x00000001L
42VFT2_DRV_KEYBOARD = 0x00000002L
43VFT2_DRV_LANGUAGE = 0x00000003L
44VFT2_DRV_DISPLAY = 0x00000004L
45VFT2_DRV_MOUSE = 0x00000005L
46VFT2_DRV_NETWORK = 0x00000006L
47VFT2_DRV_SYSTEM = 0x00000007L
48VFT2_DRV_INSTALLABLE = 0x00000008L
49VFT2_DRV_SOUND = 0x00000009L
50VFT2_DRV_COMM = 0x0000000AL
51VFT2_DRV_INPUTMETHOD = 0x0000000BL
52VFT2_FONT_RASTER = 0x00000001L
53VFT2_FONT_VECTOR = 0x00000002L
54VFT2_FONT_TRUETYPE = 0x00000003L
55VFFF_ISSHAREDFILE = 0x0001
56VFF_CURNEDEST = 0x0001
57VFF_FILEINUSE = 0x0002
58VFF_BUFFTOOSMALL = 0x0004
59VIFF_FORCEINSTALL = 0x0001
60VIFF_DONTDELETEOLD = 0x0002
61VIF_TEMPFILE = 0x00000001L
62VIF_MISMATCH = 0x00000002L
63VIF_SRCOLD = 0x00000004L
64VIF_DIFFLANG = 0x00000008L
65VIF_DIFFCODEPG = 0x00000010L
66VIF_DIFFTYPE = 0x00000020L
67VIF_WRITEPROT = 0x00000040L
68VIF_FILEINUSE = 0x00000080L
69VIF_OUTOFSPACE = 0x00000100L
70VIF_ACCESSVIOLATION = 0x00000200L
71VIF_SHARINGVIOLATION = 0x00000400L
72VIF_CANNOTCREATE = 0x00000800L
73VIF_CANNOTDELETE = 0x00001000L
74VIF_CANNOTRENAME = 0x00002000L
75VIF_CANNOTDELETECUR = 0x00004000L
76VIF_OUTOFMEMORY = 0x00008000L
77VIF_CANNOTREADSRC = 0x00010000L
78VIF_CANNOTREADDST = 0x00020000L
79VIF_BUFFTOOSMALL = 0x00040000L
80FILE_BEGIN = 0
81FILE_CURRENT = 1
82FILE_END = 2
83MAXINTATOM = 0xC000
84LMEM_FIXED = 0x0000
85LMEM_MOVEABLE = 0x0002
86LMEM_NOCOMPACT = 0x0010
87LMEM_NODISCARD = 0x0020
88LMEM_ZEROINIT = 0x0040
89LMEM_MODIFY = 0x0080
90LMEM_DISCARDABLE = 0x0F00
91LMEM_VALID_FLAGS = 0x0F72
92LMEM_INVALID_HANDLE = 0x8000
93LMEM_DDESHARE = 0x0000
94LMEM_LOWER = 0x0000
95LMEM_NOT_BANKED = 0x0000
96LMEM_NOTIFY = 0x0000
97LMEM_SHARE = 0x0000
98LHND = (LMEM_MOVEABLE | LMEM_ZEROINIT)
99LPTR = (LMEM_FIXED | LMEM_ZEROINIT)
100NONZEROLHND = (LMEM_MOVEABLE)
101NONZEROLPTR = (LMEM_FIXED)
102LMEM_DISCARDED = 0x4000
103LMEM_LOCKCOUNT = 0x00FF
104GMEM_FIXED = LMEM_FIXED
105GMEM_MOVEABLE = LMEM_MOVEABLE
106GPTR = LPTR
107GHND = LHND
108GMEM_DDESHARE = LMEM_DDESHARE
109GMEM_DISCARDABLE = LMEM_DISCARDABLE
110GMEM_LOWER = LMEM_LOWER
111GMEM_NOCOMPACT = LMEM_NOCOMPACT
112GMEM_NODISCARD = LMEM_NODISCARD
113GMEM_NOT_BANKED = LMEM_NOT_BANKED
114GMEM_NOTIFY = LMEM_NOTIFY
115GMEM_SHARE = LMEM_SHARE
116GMEM_ZEROINIT = LMEM_ZEROINIT
117VER_PLATFORM_WIN32s = 0
118VER_PLATFORM_WIN32_WINDOWS = 1
119VER_PLATFORM_WIN32_NT = 2
120VER_PLATFORM_WIN32_HH = 3
121VER_PLATFORM_WIN32_CE = 3
122DONT_RESOLVE_DLL_REFERENCES = 0x00000001
123LOAD_LIBRARY_AS_DATAFILE = 0x00000002
124LOAD_WITH_ALTERED_SEARCH_PATH = 0x00000008
125MSGQUEUE_NOPRECOMMIT = 0x00000001
126MSGQUEUE_ALLOW_BROKEN = 0x00000002
127MSGQUEUE_MSGALERT = 0x00000001
128DEBUG_PROCESS = 0x00000001
129DEBUG_ONLY_THIS_PROCESS = 0x00000002
130CREATE_SUSPENDED = 0x00000004
131CREATE_NEW_CONSOLE = 0x00000010
132STACK_SIZE_PARAM_IS_A_RESERVATION = 0x00010000
133INHERIT_CALLER_PRIORITY = 0x00020000
134THREAD_PRIORITY_TIME_CRITICAL = 0
135THREAD_PRIORITY_HIGHEST = 1
136THREAD_PRIORITY_ABOVE_NORMAL = 2
137THREAD_PRIORITY_NORMAL = 3
138THREAD_PRIORITY_BELOW_NORMAL = 4
139THREAD_PRIORITY_LOWEST = 5
140THREAD_PRIORITY_ABOVE_IDLE = 6
141THREAD_PRIORITY_IDLE = 7
142EXCEPTION_DEBUG_EVENT = 1
143CREATE_THREAD_DEBUG_EVENT = 2
144CREATE_PROCESS_DEBUG_EVENT = 3
145EXIT_THREAD_DEBUG_EVENT = 4
146EXIT_PROCESS_DEBUG_EVENT = 5
147LOAD_DLL_DEBUG_EVENT = 6
148UNLOAD_DLL_DEBUG_EVENT = 7
149OUTPUT_DEBUG_STRING_EVENT = 8
150RIP_EVENT = 9
151WAIT_OBJECT_0 = 0x00000000L
152WAIT_ABANDONED = 0x00000080L
153WAIT_ABANDONED_0 = 0x00000080L
154WAIT_FAILED = (-1)
155INFINITE = (-1)
156TLS_MINIMUM_AVAILABLE = 64
157STILL_ACTIVE = 0x00000103
158GENERIC_READ = ((-2147483648))
159GENERIC_WRITE = (0x40000000L)
160GENERIC_EXECUTE = (0x20000000L)
161GENERIC_ALL = (0x10000000L)
162FILE_SHARE_READ = 0x00000001
163FILE_SHARE_WRITE = 0x00000002
164FILE_FLAG_WRITE_THROUGH = (-2147483648)
165FILE_FLAG_OVERLAPPED = 0x40000000
166FILE_FLAG_NO_BUFFERING = 0x20000000
167FILE_FLAG_RANDOM_ACCESS = 0x10000000
168FILE_FLAG_SEQUENTIAL_SCAN = 0x08000000
169FILE_FLAG_DELETE_ON_CLOSE = 0x04000000
170FILE_FLAG_BACKUP_SEMANTICS = 0x02000000
171FILE_FLAG_POSIX_SEMANTICS = 0x01000000
172CREATE_NEW = 1
173CREATE_ALWAYS = 2
174OPEN_EXISTING = 3
175OPEN_ALWAYS = 4
176TRUNCATE_EXISTING = 5
177OPEN_FOR_LOADER = 6
178FORMAT_MESSAGE_ALLOCATE_BUFFER = 0x00000100
179FORMAT_MESSAGE_IGNORE_INSERTS = 0x00000200
180FORMAT_MESSAGE_FROM_STRING = 0x00000400
181FORMAT_MESSAGE_FROM_HMODULE = 0x00000800
182FORMAT_MESSAGE_FROM_SYSTEM = 0x00001000
183FORMAT_MESSAGE_ARGUMENT_ARRAY = 0x00002000
184FORMAT_MESSAGE_MAX_WIDTH_MASK = 0x000000FF
185FIND_FIRST_EX_CASE_SENSITIVE = 0x00000001
186DTR_CONTROL_DISABLE = 0x00
187DTR_CONTROL_ENABLE = 0x01
188DTR_CONTROL_HANDSHAKE = 0x02
189RTS_CONTROL_DISABLE = 0x00
190RTS_CONTROL_ENABLE = 0x01
191RTS_CONTROL_HANDSHAKE = 0x02
192RTS_CONTROL_TOGGLE = 0x03
193NOPARITY = 0
194ODDPARITY = 1
195EVENPARITY = 2
196MARKPARITY = 3
197SPACEPARITY = 4
198ONESTOPBIT = 0
199ONE5STOPBITS = 1
200TWOSTOPBITS = 2
201IGNORE = 0
202CBR_110 = 110
203CBR_300 = 300
204CBR_600 = 600
205CBR_1200 = 1200
206CBR_2400 = 2400
207CBR_4800 = 4800
208CBR_9600 = 9600
209CBR_14400 = 14400
210CBR_19200 = 19200
211CBR_38400 = 38400
212CBR_56000 = 56000
213CBR_57600 = 57600
214CBR_115200 = 115200
215CBR_128000 = 128000
216CBR_256000 = 256000
217CE_RXOVER = 0x0001
218CE_OVERRUN = 0x0002
219CE_RXPARITY = 0x0004
220CE_FRAME = 0x0008
221CE_BREAK = 0x0010
222CE_TXFULL = 0x0100
223CE_PTO = 0x0200
224CE_IOE = 0x0400
225CE_DNS = 0x0800
226CE_OOP = 0x1000
227CE_MODE = 0x8000
228IE_BADID = (-1)
229IE_OPEN = (-2)
230IE_NOPEN = (-3)
231IE_MEMORY = (-4)
232IE_DEFAULT = (-5)
233IE_HARDWARE = (-10)
234IE_BYTESIZE = (-11)
235IE_BAUDRATE = (-12)
236EV_RXCHAR = 0x0001
237EV_RXFLAG = 0x0002
238EV_TXEMPTY = 0x0004
239EV_CTS = 0x0008
240EV_DSR = 0x0010
241EV_RLSD = 0x0020
242EV_BREAK = 0x0040
243EV_ERR = 0x0080
244EV_RING = 0x0100
245EV_PERR = 0x0200
246EV_RX80FULL = 0x0400
247EV_EVENT1 = 0x0800
248EV_EVENT2 = 0x1000
249EV_POWER = 0x2000
250SETXOFF = 1
251SETXON = 2
252SETRTS = 3
253CLRRTS = 4
254SETDTR = 5
255CLRDTR = 6
256SETBREAK = 8
257CLRBREAK = 9
258SETIR = 10
259CLRIR = 11
260PURGE_TXABORT = 0x0001
261PURGE_RXABORT = 0x0002
262PURGE_TXCLEAR = 0x0004
263PURGE_RXCLEAR = 0x0008
264LPTx = 0x80
265AC_LINE_OFFLINE = 0x00
266AC_LINE_ONLINE = 0x01
267AC_LINE_BACKUP_POWER = 0x02
268AC_LINE_UNKNOWN = 0xFF
269BATTERY_FLAG_HIGH = 0x01
270BATTERY_FLAG_LOW = 0x02
271BATTERY_FLAG_CRITICAL = 0x04
272BATTERY_FLAG_CHARGING = 0x08
273BATTERY_FLAG_NO_BATTERY = 0x80
274BATTERY_FLAG_UNKNOWN = 0xFF
275BATTERY_PERCENTAGE_UNKNOWN = 0xFF
276BATTERY_LIFE_UNKNOWN = (-1)
277BATTERY_CHEMISTRY_ALKALINE = 0x01
278BATTERY_CHEMISTRY_NICD = 0x02
279BATTERY_CHEMISTRY_NIMH = 0x03
280BATTERY_CHEMISTRY_LION = 0x04
281BATTERY_CHEMISTRY_LIPOLY = 0x05
282BATTERY_CHEMISTRY_ZINCAIR = 0x06
283BATTERY_CHEMISTRY_UNKNOWN = 0xFF
284LOADFSD_ASYNCH = 0x0000
285LOADFSD_SYNCH = 0x0001
286RT_MUI = 222
287ID_MUI = 1