PyXR

c:\python24\lib\site-packages\win32\lib \ win32con.py



0001 # Generated by h2py from commdlg.h (plus modifications 4jan98)
0002 WINVER = 1280
0003 WM_USER = 1024
0004 PY_0U = 0
0005 OFN_READONLY = 1
0006 OFN_OVERWRITEPROMPT = 2
0007 OFN_HIDEREADONLY = 4
0008 OFN_NOCHANGEDIR = 8
0009 OFN_SHOWHELP = 16
0010 OFN_ENABLEHOOK = 32
0011 OFN_ENABLETEMPLATE = 64
0012 OFN_ENABLETEMPLATEHANDLE = 128
0013 OFN_NOVALIDATE = 256
0014 OFN_ALLOWMULTISELECT = 512
0015 OFN_EXTENSIONDIFFERENT = 1024
0016 OFN_PATHMUSTEXIST = 2048
0017 OFN_FILEMUSTEXIST = 4096
0018 OFN_CREATEPROMPT = 8192
0019 OFN_SHAREAWARE = 16384
0020 OFN_NOREADONLYRETURN = 32768
0021 OFN_NOTESTFILECREATE = 65536
0022 OFN_NONETWORKBUTTON = 131072
0023 OFN_NOLONGNAMES = 262144
0024 OFN_EXPLORER = 524288            # new look commdlg
0025 OFN_NODEREFERENCELINKS = 1048576
0026 OFN_LONGNAMES = 2097152           # force long names for 3.x modules
0027 OFN_ENABLEINCLUDENOTIFY = 4194304 # send include message to callback
0028 OFN_ENABLESIZING = 8388608
0029 OFN_SHAREFALLTHROUGH = 2
0030 OFN_SHARENOWARN = 1
0031 OFN_SHAREWARN = 0
0032 CDN_FIRST = (PY_0U-601)
0033 CDN_LAST = (PY_0U-699)
0034 CDN_INITDONE = (CDN_FIRST - 0)
0035 CDN_SELCHANGE = (CDN_FIRST - 1)
0036 CDN_FOLDERCHANGE = (CDN_FIRST - 2)
0037 CDN_SHAREVIOLATION = (CDN_FIRST - 3)
0038 CDN_HELP = (CDN_FIRST - 4)
0039 CDN_FILEOK = (CDN_FIRST - 5)
0040 CDN_TYPECHANGE = (CDN_FIRST - 6)
0041 CDN_INCLUDEITEM = (CDN_FIRST - 7)
0042 CDM_FIRST = (WM_USER + 100)
0043 CDM_LAST = (WM_USER + 200)
0044 CDM_GETSPEC = (CDM_FIRST + 0)
0045 CDM_GETFILEPATH = (CDM_FIRST + 1)
0046 CDM_GETFOLDERPATH = (CDM_FIRST + 2)
0047 CDM_GETFOLDERIDLIST = (CDM_FIRST + 3)
0048 CDM_SETCONTROLTEXT = (CDM_FIRST + 4)
0049 CDM_HIDECONTROL = (CDM_FIRST + 5)
0050 CDM_SETDEFEXT = (CDM_FIRST + 6)
0051 CC_RGBINIT = 1
0052 CC_FULLOPEN = 2
0053 CC_PREVENTFULLOPEN = 4
0054 CC_SHOWHELP = 8
0055 CC_ENABLEHOOK = 16
0056 CC_ENABLETEMPLATE = 32
0057 CC_ENABLETEMPLATEHANDLE = 64
0058 CC_SOLIDCOLOR = 128
0059 CC_ANYCOLOR = 256
0060 FR_DOWN = 1
0061 FR_WHOLEWORD = 2
0062 FR_MATCHCASE = 4
0063 FR_FINDNEXT = 8
0064 FR_REPLACE = 16
0065 FR_REPLACEALL = 32
0066 FR_DIALOGTERM = 64
0067 FR_SHOWHELP = 128
0068 FR_ENABLEHOOK = 256
0069 FR_ENABLETEMPLATE = 512
0070 FR_NOUPDOWN = 1024
0071 FR_NOMATCHCASE = 2048
0072 FR_NOWHOLEWORD = 4096
0073 FR_ENABLETEMPLATEHANDLE = 8192
0074 FR_HIDEUPDOWN = 16384
0075 FR_HIDEMATCHCASE = 32768
0076 FR_HIDEWHOLEWORD = 65536
0077 CF_SCREENFONTS = 1
0078 CF_PRINTERFONTS = 2
0079 CF_BOTH = (CF_SCREENFONTS | CF_PRINTERFONTS)
0080 CF_SHOWHELP = 4
0081 CF_ENABLEHOOK = 8
0082 CF_ENABLETEMPLATE = 16
0083 CF_ENABLETEMPLATEHANDLE = 32
0084 CF_INITTOLOGFONTSTRUCT = 64
0085 CF_USESTYLE = 128
0086 CF_EFFECTS = 256
0087 CF_APPLY = 512
0088 CF_ANSIONLY = 1024
0089 CF_SCRIPTSONLY = CF_ANSIONLY
0090 CF_NOVECTORFONTS = 2048
0091 CF_NOOEMFONTS = CF_NOVECTORFONTS
0092 CF_NOSIMULATIONS = 4096
0093 CF_LIMITSIZE = 8192
0094 CF_FIXEDPITCHONLY = 16384
0095 CF_WYSIWYG = 32768 # must also have CF_SCREENFONTS & CF_PRINTERFONTS
0096 CF_FORCEFONTEXIST = 65536
0097 CF_SCALABLEONLY = 131072
0098 CF_TTONLY = 262144
0099 CF_NOFACESEL = 524288
0100 CF_NOSTYLESEL = 1048576
0101 CF_NOSIZESEL = 2097152
0102 CF_SELECTSCRIPT = 4194304
0103 CF_NOSCRIPTSEL = 8388608
0104 CF_NOVERTFONTS = 16777216
0105 SIMULATED_FONTTYPE = 32768
0106 PRINTER_FONTTYPE = 16384
0107 SCREEN_FONTTYPE = 8192
0108 BOLD_FONTTYPE = 256
0109 ITALIC_FONTTYPE = 512
0110 REGULAR_FONTTYPE = 1024
0111 OPENTYPE_FONTTYPE = 65536
0112 TYPE1_FONTTYPE = 131072
0113 DSIG_FONTTYPE = 262144
0114 WM_CHOOSEFONT_GETLOGFONT = (WM_USER + 1)
0115 WM_CHOOSEFONT_SETLOGFONT = (WM_USER + 101)
0116 WM_CHOOSEFONT_SETFLAGS = (WM_USER + 102)
0117 LBSELCHSTRINGA = "commdlg_LBSelChangedNotify"
0118 SHAREVISTRINGA = "commdlg_ShareViolation"
0119 FILEOKSTRINGA = "commdlg_FileNameOK"
0120 COLOROKSTRINGA = "commdlg_ColorOK"
0121 SETRGBSTRINGA = "commdlg_SetRGBColor"
0122 HELPMSGSTRINGA = "commdlg_help"
0123 FINDMSGSTRINGA = "commdlg_FindReplace"
0124 LBSELCHSTRING = LBSELCHSTRINGA
0125 SHAREVISTRING = SHAREVISTRINGA
0126 FILEOKSTRING = FILEOKSTRINGA
0127 COLOROKSTRING = COLOROKSTRINGA
0128 SETRGBSTRING = SETRGBSTRINGA
0129 HELPMSGSTRING = HELPMSGSTRINGA
0130 FINDMSGSTRING = FINDMSGSTRINGA
0131 CD_LBSELNOITEMS = -1
0132 CD_LBSELCHANGE = 0
0133 CD_LBSELSUB = 1
0134 CD_LBSELADD = 2
0135 PD_ALLPAGES = 0
0136 PD_SELECTION = 1
0137 PD_PAGENUMS = 2
0138 PD_NOSELECTION = 4
0139 PD_NOPAGENUMS = 8
0140 PD_COLLATE = 16
0141 PD_PRINTTOFILE = 32
0142 PD_PRINTSETUP = 64
0143 PD_NOWARNING = 128
0144 PD_RETURNDC = 256
0145 PD_RETURNIC = 512
0146 PD_RETURNDEFAULT = 1024
0147 PD_SHOWHELP = 2048
0148 PD_ENABLEPRINTHOOK = 4096
0149 PD_ENABLESETUPHOOK = 8192
0150 PD_ENABLEPRINTTEMPLATE = 16384
0151 PD_ENABLESETUPTEMPLATE = 32768
0152 PD_ENABLEPRINTTEMPLATEHANDLE = 65536
0153 PD_ENABLESETUPTEMPLATEHANDLE = 131072
0154 PD_USEDEVMODECOPIES = 262144
0155 PD_DISABLEPRINTTOFILE = 524288
0156 PD_HIDEPRINTTOFILE = 1048576
0157 PD_NONETWORKBUTTON = 2097152
0158 DN_DEFAULTPRN = 1
0159 WM_PSD_PAGESETUPDLG = (WM_USER  )
0160 WM_PSD_FULLPAGERECT = (WM_USER+1)
0161 WM_PSD_MINMARGINRECT = (WM_USER+2)
0162 WM_PSD_MARGINRECT = (WM_USER+3)
0163 WM_PSD_GREEKTEXTRECT = (WM_USER+4)
0164 WM_PSD_ENVSTAMPRECT = (WM_USER+5)
0165 WM_PSD_YAFULLPAGERECT = (WM_USER+6)
0166 PSD_DEFAULTMINMARGINS = 0 # default (printer's)
0167 PSD_INWININIINTLMEASURE = 0 # 1st of 4 possible
0168 PSD_MINMARGINS = 1 # use caller's
0169 PSD_MARGINS = 2 # use caller's
0170 PSD_INTHOUSANDTHSOFINCHES = 4 # 2nd of 4 possible
0171 PSD_INHUNDREDTHSOFMILLIMETERS = 8 # 3rd of 4 possible
0172 PSD_DISABLEMARGINS = 16
0173 PSD_DISABLEPRINTER = 32
0174 PSD_NOWARNING = 128 # must be same as PD_*
0175 PSD_DISABLEORIENTATION = 256
0176 PSD_RETURNDEFAULT = 1024 # must be same as PD_*
0177 PSD_DISABLEPAPER = 512
0178 PSD_SHOWHELP = 2048 # must be same as PD_*
0179 PSD_ENABLEPAGESETUPHOOK = 8192 # must be same as PD_*
0180 PSD_ENABLEPAGESETUPTEMPLATE = 32768 # must be same as PD_*
0181 PSD_ENABLEPAGESETUPTEMPLATEHANDLE = 131072 # must be same as PD_*
0182 PSD_ENABLEPAGEPAINTHOOK = 262144
0183 PSD_DISABLEPAGEPAINTING = 524288
0184 PSD_NONETWORKBUTTON = 2097152 # must be same as PD_*
0185 
0186 # Generated by h2py from winreg.h
0187 HKEY_CLASSES_ROOT = -2147483648
0188 HKEY_CURRENT_USER = -2147483647
0189 HKEY_LOCAL_MACHINE = -2147483646
0190 HKEY_USERS = -2147483645
0191 HKEY_PERFORMANCE_DATA = -2147483644
0192 HKEY_CURRENT_CONFIG = -2147483643
0193 HKEY_DYN_DATA = -2147483642
0194 HKEY_PERFORMANCE_TEXT = -2147483568  # ?? 4Jan98
0195 HKEY_PERFORMANCE_NLSTEXT = -2147483552  # ?? 4Jan98
0196 
0197 # Generated by h2py from winuser.h
0198 HWND_BROADCAST = 65535
0199 HWND_DESKTOP = 0
0200 HWND_TOP = 0
0201 HWND_BOTTOM = 1
0202 HWND_TOPMOST = -1
0203 HWND_NOTOPMOST = -2
0204 HWND_MESSAGE = -3
0205 
0206 # winuser.h line 4601
0207 SM_CXSCREEN = 0
0208 SM_CYSCREEN = 1
0209 SM_CXVSCROLL = 2
0210 SM_CYHSCROLL = 3
0211 SM_CYCAPTION = 4
0212 SM_CXBORDER = 5
0213 SM_CYBORDER = 6
0214 SM_CXDLGFRAME = 7
0215 SM_CYDLGFRAME = 8
0216 SM_CYVTHUMB = 9
0217 SM_CXHTHUMB = 10
0218 SM_CXICON = 11
0219 SM_CYICON = 12
0220 SM_CXCURSOR = 13
0221 SM_CYCURSOR = 14
0222 SM_CYMENU = 15
0223 SM_CXFULLSCREEN = 16
0224 SM_CYFULLSCREEN = 17
0225 SM_CYKANJIWINDOW = 18
0226 SM_MOUSEPRESENT = 19
0227 SM_CYVSCROLL = 20
0228 SM_CXHSCROLL = 21
0229 SM_DEBUG = 22
0230 SM_SWAPBUTTON = 23
0231 SM_RESERVED1 = 24
0232 SM_RESERVED2 = 25
0233 SM_RESERVED3 = 26
0234 SM_RESERVED4 = 27
0235 SM_CXMIN = 28
0236 SM_CYMIN = 29
0237 SM_CXSIZE = 30
0238 SM_CYSIZE = 31
0239 SM_CXFRAME = 32
0240 SM_CYFRAME = 33
0241 SM_CXMINTRACK = 34
0242 SM_CYMINTRACK = 35
0243 SM_CXDOUBLECLK = 36
0244 SM_CYDOUBLECLK = 37
0245 SM_CXICONSPACING = 38
0246 SM_CYICONSPACING = 39
0247 SM_MENUDROPALIGNMENT = 40
0248 SM_PENWINDOWS = 41
0249 SM_DBCSENABLED = 42
0250 SM_CMOUSEBUTTONS = 43
0251 SM_CXFIXEDFRAME = SM_CXDLGFRAME
0252 SM_CYFIXEDFRAME = SM_CYDLGFRAME
0253 SM_CXSIZEFRAME = SM_CXFRAME
0254 SM_CYSIZEFRAME = SM_CYFRAME
0255 SM_SECURE = 44
0256 SM_CXEDGE = 45
0257 SM_CYEDGE = 46
0258 SM_CXMINSPACING = 47
0259 SM_CYMINSPACING = 48
0260 SM_CXSMICON = 49
0261 SM_CYSMICON = 50
0262 SM_CYSMCAPTION = 51
0263 SM_CXSMSIZE = 52
0264 SM_CYSMSIZE = 53
0265 SM_CXMENUSIZE = 54
0266 SM_CYMENUSIZE = 55
0267 SM_ARRANGE = 56
0268 SM_CXMINIMIZED = 57
0269 SM_CYMINIMIZED = 58
0270 SM_CXMAXTRACK = 59
0271 SM_CYMAXTRACK = 60
0272 SM_CXMAXIMIZED = 61
0273 SM_CYMAXIMIZED = 62
0274 SM_NETWORK = 63
0275 SM_CLEANBOOT = 67
0276 SM_CXDRAG = 68
0277 SM_CYDRAG = 69
0278 SM_SHOWSOUNDS = 70
0279 SM_CXMENUCHECK = 71
0280 SM_CYMENUCHECK = 72
0281 SM_SLOWMACHINE = 73
0282 SM_MIDEASTENABLED = 74
0283 SM_MOUSEWHEELPRESENT = 75
0284 SM_XVIRTUALSCREEN = 76
0285 SM_YVIRTUALSCREEN = 77
0286 SM_CXVIRTUALSCREEN = 78
0287 SM_CYVIRTUALSCREEN = 79
0288 SM_CMONITORS = 80
0289 SM_SAMEDISPLAYFORMAT = 81
0290 SM_CMETRICS = 83
0291 MNC_IGNORE = 0
0292 MNC_CLOSE = 1
0293 MNC_EXECUTE = 2
0294 MNC_SELECT = 3
0295 MNS_NOCHECK = -2147483648
0296 MNS_MODELESS = 1073741824
0297 MNS_DRAGDROP = 536870912
0298 MNS_AUTODISMISS = 268435456
0299 MNS_NOTIFYBYPOS = 134217728
0300 MNS_CHECKORBMP = 67108864
0301 MIM_MAXHEIGHT = 1
0302 MIM_BACKGROUND = 2
0303 MIM_HELPID = 4
0304 MIM_MENUDATA = 8
0305 MIM_STYLE = 16
0306 MIM_APPLYTOSUBMENUS = -2147483648
0307 MND_CONTINUE = 0
0308 MND_ENDMENU = 1
0309 MNGOF_GAP = 3
0310 MNGO_NOINTERFACE = 0
0311 MNGO_NOERROR = 1
0312 MIIM_STATE = 1
0313 MIIM_ID = 2
0314 MIIM_SUBMENU = 4
0315 MIIM_CHECKMARKS = 8
0316 MIIM_TYPE = 16
0317 MIIM_DATA = 32
0318 MIIM_STRING = 64
0319 MIIM_BITMAP = 128
0320 MIIM_FTYPE = 256
0321 HBMMENU_CALLBACK = -1
0322 HBMMENU_SYSTEM = 1
0323 HBMMENU_MBAR_RESTORE = 2
0324 HBMMENU_MBAR_MINIMIZE = 3
0325 HBMMENU_MBAR_CLOSE = 5
0326 HBMMENU_MBAR_CLOSE_D = 6
0327 HBMMENU_MBAR_MINIMIZE_D = 7
0328 HBMMENU_POPUP_CLOSE = 8
0329 HBMMENU_POPUP_RESTORE = 9
0330 HBMMENU_POPUP_MAXIMIZE = 10
0331 HBMMENU_POPUP_MINIMIZE = 11
0332 GMDI_USEDISABLED = 1
0333 GMDI_GOINTOPOPUPS = 2
0334 TPM_LEFTBUTTON = 0
0335 TPM_RIGHTBUTTON = 2
0336 TPM_LEFTALIGN = 0
0337 TPM_CENTERALIGN = 4
0338 TPM_RIGHTALIGN = 8
0339 TPM_TOPALIGN = 0
0340 TPM_VCENTERALIGN = 16
0341 TPM_BOTTOMALIGN = 32
0342 TPM_HORIZONTAL = 0
0343 TPM_VERTICAL = 64
0344 TPM_NONOTIFY = 128
0345 TPM_RETURNCMD = 256
0346 TPM_RECURSE = 1
0347 DOF_EXECUTABLE = 32769
0348 DOF_DOCUMENT = 32770
0349 DOF_DIRECTORY = 32771
0350 DOF_MULTIPLE = 32772
0351 DOF_PROGMAN = 1
0352 DOF_SHELLDATA = 2
0353 DO_DROPFILE = 1162627398
0354 DO_PRINTFILE = 1414419024
0355 DT_TOP = 0
0356 DT_LEFT = 0
0357 DT_CENTER = 1
0358 DT_RIGHT = 2
0359 DT_VCENTER = 4
0360 DT_BOTTOM = 8
0361 DT_WORDBREAK = 16
0362 DT_SINGLELINE = 32
0363 DT_EXPANDTABS = 64
0364 DT_TABSTOP = 128
0365 DT_NOCLIP = 256
0366 DT_EXTERNALLEADING = 512
0367 DT_CALCRECT = 1024
0368 DT_NOPREFIX = 2048
0369 DT_INTERNAL = 4096
0370 DT_EDITCONTROL = 8192
0371 DT_PATH_ELLIPSIS = 16384
0372 DT_END_ELLIPSIS = 32768
0373 DT_MODIFYSTRING = 65536
0374 DT_RTLREADING = 131072
0375 DT_WORD_ELLIPSIS = 262144
0376 DST_COMPLEX = 0
0377 DST_TEXT = 1
0378 DST_PREFIXTEXT = 2
0379 DST_ICON = 3
0380 DST_BITMAP = 4
0381 DSS_NORMAL = 0
0382 DSS_UNION = 16
0383 DSS_DISABLED = 32
0384 DSS_MONO = 128
0385 DSS_RIGHT = 32768
0386 DCX_WINDOW = 1
0387 DCX_CACHE = 2
0388 DCX_NORESETATTRS = 4
0389 DCX_CLIPCHILDREN = 8
0390 DCX_CLIPSIBLINGS = 16
0391 DCX_PARENTCLIP = 32
0392 DCX_EXCLUDERGN = 64
0393 DCX_INTERSECTRGN = 128
0394 DCX_EXCLUDEUPDATE = 256
0395 DCX_INTERSECTUPDATE = 512
0396 DCX_LOCKWINDOWUPDATE = 1024
0397 DCX_VALIDATE = 2097152
0398 CUDR_NORMAL = 0
0399 CUDR_NOSNAPTOGRID = 1
0400 CUDR_NORESOLVEPOSITIONS = 2
0401 CUDR_NOCLOSEGAPS = 4
0402 CUDR_NEGATIVECOORDS = 8
0403 CUDR_NOPRIMARY = 16
0404 RDW_INVALIDATE = 1
0405 RDW_INTERNALPAINT = 2
0406 RDW_ERASE = 4
0407 RDW_VALIDATE = 8
0408 RDW_NOINTERNALPAINT = 16
0409 RDW_NOERASE = 32
0410 RDW_NOCHILDREN = 64
0411 RDW_ALLCHILDREN = 128
0412 RDW_UPDATENOW = 256
0413 RDW_ERASENOW = 512
0414 RDW_FRAME = 1024
0415 RDW_NOFRAME = 2048
0416 SW_SCROLLCHILDREN = 1
0417 SW_INVALIDATE = 2
0418 SW_ERASE = 4
0419 SW_SMOOTHSCROLL = 16  # Use smooth scrolling
0420 ESB_ENABLE_BOTH = 0
0421 ESB_DISABLE_BOTH = 3
0422 ESB_DISABLE_LEFT = 1
0423 ESB_DISABLE_RIGHT = 2
0424 ESB_DISABLE_UP = 1
0425 ESB_DISABLE_DOWN = 2
0426 ESB_DISABLE_LTUP = ESB_DISABLE_LEFT
0427 ESB_DISABLE_RTDN = ESB_DISABLE_RIGHT
0428 HELPINFO_WINDOW = 1
0429 HELPINFO_MENUITEM = 2
0430 MB_OK = 0
0431 MB_OKCANCEL = 1
0432 MB_ABORTRETRYIGNORE = 2
0433 MB_YESNOCANCEL = 3
0434 MB_YESNO = 4
0435 MB_RETRYCANCEL = 5
0436 MB_ICONHAND = 16
0437 MB_ICONQUESTION = 32
0438 MB_ICONEXCLAMATION = 48
0439 MB_ICONASTERISK = 64
0440 MB_ICONWARNING = MB_ICONEXCLAMATION
0441 MB_ICONERROR = MB_ICONHAND
0442 MB_ICONINFORMATION = MB_ICONASTERISK
0443 MB_ICONSTOP = MB_ICONHAND
0444 MB_DEFBUTTON1 = 0
0445 MB_DEFBUTTON2 = 256
0446 MB_DEFBUTTON3 = 512
0447 MB_DEFBUTTON4 = 768
0448 MB_APPLMODAL = 0
0449 MB_SYSTEMMODAL = 4096
0450 MB_TASKMODAL = 8192
0451 MB_HELP = 16384
0452 MB_NOFOCUS = 32768
0453 MB_SETFOREGROUND = 65536
0454 MB_DEFAULT_DESKTOP_ONLY = 131072
0455 MB_TOPMOST = 262144L
0456 MB_RIGHT = 524288
0457 MB_RTLREADING = 1048576
0458 MB_SERVICE_NOTIFICATION = 2097152
0459 MB_TYPEMASK = 15
0460 MB_USERICON = 128
0461 MB_ICONMASK = 240
0462 MB_DEFMASK = 3840
0463 MB_MODEMASK = 12288
0464 MB_MISCMASK = 49152
0465 # winuser.h line 6373
0466 CWP_ALL = 0
0467 CWP_SKIPINVISIBLE = 1
0468 CWP_SKIPDISABLED = 2
0469 CWP_SKIPTRANSPARENT = 4
0470 CTLCOLOR_MSGBOX = 0
0471 CTLCOLOR_EDIT = 1
0472 CTLCOLOR_LISTBOX = 2
0473 CTLCOLOR_BTN = 3
0474 CTLCOLOR_DLG = 4
0475 CTLCOLOR_SCROLLBAR = 5
0476 CTLCOLOR_STATIC = 6
0477 CTLCOLOR_MAX = 7
0478 COLOR_SCROLLBAR = 0
0479 COLOR_BACKGROUND = 1
0480 COLOR_ACTIVECAPTION = 2
0481 COLOR_INACTIVECAPTION = 3
0482 COLOR_MENU = 4
0483 COLOR_WINDOW = 5
0484 COLOR_WINDOWFRAME = 6
0485 COLOR_MENUTEXT = 7
0486 COLOR_WINDOWTEXT = 8
0487 COLOR_CAPTIONTEXT = 9
0488 COLOR_ACTIVEBORDER = 10
0489 COLOR_INACTIVEBORDER = 11
0490 COLOR_APPWORKSPACE = 12
0491 COLOR_HIGHLIGHT = 13
0492 COLOR_HIGHLIGHTTEXT = 14
0493 COLOR_BTNFACE = 15
0494 COLOR_BTNSHADOW = 16
0495 COLOR_GRAYTEXT = 17
0496 COLOR_BTNTEXT = 18
0497 COLOR_INACTIVECAPTIONTEXT = 19
0498 COLOR_BTNHIGHLIGHT = 20
0499 COLOR_3DDKSHADOW = 21
0500 COLOR_3DLIGHT = 22
0501 COLOR_INFOTEXT = 23
0502 COLOR_INFOBK = 24
0503 COLOR_HOTLIGHT = 26
0504 COLOR_GRADIENTACTIVECAPTION = 27
0505 COLOR_GRADIENTINACTIVECAPTION = 28
0506 COLOR_DESKTOP = COLOR_BACKGROUND
0507 COLOR_3DFACE = COLOR_BTNFACE
0508 COLOR_3DSHADOW = COLOR_BTNSHADOW
0509 COLOR_3DHIGHLIGHT = COLOR_BTNHIGHLIGHT
0510 COLOR_3DHILIGHT = COLOR_BTNHIGHLIGHT
0511 COLOR_BTNHILIGHT = COLOR_BTNHIGHLIGHT
0512 GW_HWNDFIRST = 0
0513 GW_HWNDLAST = 1
0514 GW_HWNDNEXT = 2
0515 GW_HWNDPREV = 3
0516 GW_OWNER = 4
0517 GW_CHILD = 5
0518 GW_ENABLEDPOPUP = 6
0519 GW_MAX = 6
0520 MF_INSERT = 0
0521 MF_CHANGE = 128
0522 MF_APPEND = 256
0523 MF_DELETE = 512
0524 MF_REMOVE = 4096
0525 MF_BYCOMMAND = 0
0526 MF_BYPOSITION = 1024
0527 MF_SEPARATOR = 2048
0528 MF_ENABLED = 0
0529 MF_GRAYED = 1
0530 MF_DISABLED = 2
0531 MF_UNCHECKED = 0
0532 MF_CHECKED = 8
0533 MF_USECHECKBITMAPS = 512
0534 MF_STRING = 0
0535 MF_BITMAP = 4
0536 MF_OWNERDRAW = 256
0537 MF_POPUP = 16
0538 MF_MENUBARBREAK = 32
0539 MF_MENUBREAK = 64
0540 MF_UNHILITE = 0
0541 MF_HILITE = 128
0542 MF_DEFAULT = 4096
0543 MF_SYSMENU = 8192
0544 MF_HELP = 16384
0545 MF_RIGHTJUSTIFY = 16384
0546 MF_MOUSESELECT = 32768
0547 MF_END = 128
0548 MFT_STRING = MF_STRING
0549 MFT_BITMAP = MF_BITMAP
0550 MFT_MENUBARBREAK = MF_MENUBARBREAK
0551 MFT_MENUBREAK = MF_MENUBREAK
0552 MFT_OWNERDRAW = MF_OWNERDRAW
0553 MFT_RADIOCHECK = 512
0554 MFT_SEPARATOR = MF_SEPARATOR
0555 MFT_RIGHTORDER = 8192
0556 MFT_RIGHTJUSTIFY = MF_RIGHTJUSTIFY
0557 MFS_GRAYED = 3
0558 MFS_DISABLED = MFS_GRAYED
0559 MFS_CHECKED = MF_CHECKED
0560 MFS_HILITE = MF_HILITE
0561 MFS_ENABLED = MF_ENABLED
0562 MFS_UNCHECKED = MF_UNCHECKED
0563 MFS_UNHILITE = MF_UNHILITE
0564 MFS_DEFAULT = MF_DEFAULT
0565 MFS_MASK = 4235L
0566 MFS_HOTTRACKDRAWN = 268435456
0567 MFS_CACHEDBMP = 536870912
0568 MFS_BOTTOMGAPDROP = 1073741824
0569 MFS_TOPGAPDROP = -2147483648
0570 MFS_GAPDROP = -1073741824
0571 SC_SIZE = 61440
0572 SC_MOVE = 61456
0573 SC_MINIMIZE = 61472
0574 SC_MAXIMIZE = 61488
0575 SC_NEXTWINDOW = 61504
0576 SC_PREVWINDOW = 61520
0577 SC_CLOSE = 61536
0578 SC_VSCROLL = 61552
0579 SC_HSCROLL = 61568
0580 SC_MOUSEMENU = 61584
0581 SC_KEYMENU = 61696
0582 SC_ARRANGE = 61712
0583 SC_RESTORE = 61728
0584 SC_TASKLIST = 61744
0585 SC_SCREENSAVE = 61760
0586 SC_HOTKEY = 61776
0587 SC_DEFAULT = 61792
0588 SC_MONITORPOWER = 61808
0589 SC_CONTEXTHELP = 61824
0590 SC_SEPARATOR = 61455
0591 SC_ICON = SC_MINIMIZE
0592 SC_ZOOM = SC_MAXIMIZE
0593 IDC_ARROW = 32512
0594 IDC_IBEAM = 32513
0595 IDC_WAIT = 32514
0596 IDC_CROSS = 32515
0597 IDC_UPARROW = 32516
0598 IDC_SIZE = 32640  # OBSOLETE: use IDC_SIZEALL
0599 IDC_ICON = 32641  # OBSOLETE: use IDC_ARROW
0600 IDC_SIZENWSE = 32642
0601 IDC_SIZENESW = 32643
0602 IDC_SIZEWE = 32644
0603 IDC_SIZENS = 32645
0604 IDC_SIZEALL = 32646
0605 IDC_NO = 32648
0606 IDC_HAND = 32649
0607 IDC_APPSTARTING = 32650
0608 IDC_HELP = 32651
0609 IMAGE_BITMAP = 0
0610 IMAGE_ICON = 1
0611 IMAGE_CURSOR = 2
0612 IMAGE_ENHMETAFILE = 3
0613 LR_DEFAULTCOLOR = 0
0614 LR_MONOCHROME = 1
0615 LR_COLOR = 2
0616 LR_COPYRETURNORG = 4
0617 LR_COPYDELETEORG = 8
0618 LR_LOADFROMFILE = 16
0619 LR_LOADTRANSPARENT = 32
0620 LR_DEFAULTSIZE = 64
0621 LR_LOADREALSIZE = 128
0622 LR_LOADMAP3DCOLORS = 4096
0623 LR_CREATEDIBSECTION = 8192
0624 LR_COPYFROMRESOURCE = 16384
0625 LR_SHARED = 32768
0626 DI_MASK = 1
0627 DI_IMAGE = 2
0628 DI_NORMAL = 3
0629 DI_COMPAT = 4
0630 DI_DEFAULTSIZE = 8
0631 RES_ICON = 1
0632 RES_CURSOR = 2
0633 OBM_CLOSE = 32754
0634 OBM_UPARROW = 32753
0635 OBM_DNARROW = 32752
0636 OBM_RGARROW = 32751
0637 OBM_LFARROW = 32750
0638 OBM_REDUCE = 32749
0639 OBM_ZOOM = 32748
0640 OBM_RESTORE = 32747
0641 OBM_REDUCED = 32746
0642 OBM_ZOOMD = 32745
0643 OBM_RESTORED = 32744
0644 OBM_UPARROWD = 32743
0645 OBM_DNARROWD = 32742
0646 OBM_RGARROWD = 32741
0647 OBM_LFARROWD = 32740
0648 OBM_MNARROW = 32739
0649 OBM_COMBO = 32738
0650 OBM_UPARROWI = 32737
0651 OBM_DNARROWI = 32736
0652 OBM_RGARROWI = 32735
0653 OBM_LFARROWI = 32734
0654 OBM_OLD_CLOSE = 32767
0655 OBM_SIZE = 32766
0656 OBM_OLD_UPARROW = 32765
0657 OBM_OLD_DNARROW = 32764
0658 OBM_OLD_RGARROW = 32763
0659 OBM_OLD_LFARROW = 32762
0660 OBM_BTSIZE = 32761
0661 OBM_CHECK = 32760
0662 OBM_CHECKBOXES = 32759
0663 OBM_BTNCORNERS = 32758
0664 OBM_OLD_REDUCE = 32757
0665 OBM_OLD_ZOOM = 32756
0666 OBM_OLD_RESTORE = 32755
0667 OCR_NORMAL = 32512
0668 OCR_IBEAM = 32513
0669 OCR_WAIT = 32514
0670 OCR_CROSS = 32515
0671 OCR_UP = 32516
0672 OCR_SIZE = 32640
0673 OCR_ICON = 32641
0674 OCR_SIZENWSE = 32642
0675 OCR_SIZENESW = 32643
0676 OCR_SIZEWE = 32644
0677 OCR_SIZENS = 32645
0678 OCR_SIZEALL = 32646
0679 OCR_ICOCUR = 32647
0680 OCR_NO = 32648
0681 OCR_HAND = 32649
0682 OCR_APPSTARTING = 32650
0683 # winuser.h line 7455
0684 OIC_SAMPLE = 32512
0685 OIC_HAND = 32513
0686 OIC_QUES = 32514
0687 OIC_BANG = 32515
0688 OIC_NOTE = 32516
0689 OIC_WINLOGO = 32517
0690 OIC_WARNING = OIC_BANG
0691 OIC_ERROR = OIC_HAND
0692 OIC_INFORMATION = OIC_NOTE
0693 ORD_LANGDRIVER = 1
0694 IDI_APPLICATION = 32512
0695 IDI_HAND = 32513
0696 IDI_QUESTION = 32514
0697 IDI_EXCLAMATION = 32515
0698 IDI_ASTERISK = 32516
0699 IDI_WINLOGO = 32517
0700 IDI_WARNING = IDI_EXCLAMATION
0701 IDI_ERROR = IDI_HAND
0702 IDI_INFORMATION = IDI_ASTERISK
0703 IDOK = 1
0704 IDCANCEL = 2
0705 IDABORT = 3
0706 IDRETRY = 4
0707 IDIGNORE = 5
0708 IDYES = 6
0709 IDNO = 7
0710 IDCLOSE = 8
0711 IDHELP = 9
0712 ES_LEFT = 0
0713 ES_CENTER = 1
0714 ES_RIGHT = 2
0715 ES_MULTILINE = 4
0716 ES_UPPERCASE = 8
0717 ES_LOWERCASE = 16
0718 ES_PASSWORD = 32
0719 ES_AUTOVSCROLL = 64
0720 ES_AUTOHSCROLL = 128
0721 ES_NOHIDESEL = 256
0722 ES_OEMCONVERT = 1024
0723 ES_READONLY = 2048
0724 ES_WANTRETURN = 4096
0725 ES_NUMBER = 8192
0726 EN_SETFOCUS = 256
0727 EN_KILLFOCUS = 512
0728 EN_CHANGE = 768
0729 EN_UPDATE = 1024
0730 EN_ERRSPACE = 1280
0731 EN_MAXTEXT = 1281
0732 EN_HSCROLL = 1537
0733 EN_VSCROLL = 1538
0734 EC_LEFTMARGIN = 1
0735 EC_RIGHTMARGIN = 2
0736 EC_USEFONTINFO = 65535
0737 EMSIS_COMPOSITIONSTRING = 1
0738 EIMES_GETCOMPSTRATONCE = 1
0739 EIMES_CANCELCOMPSTRINFOCUS = 2
0740 EIMES_COMPLETECOMPSTRKILLFOCUS = 4
0741 EM_GETSEL = 176
0742 EM_SETSEL = 177
0743 EM_GETRECT = 178
0744 EM_SETRECT = 179
0745 EM_SETRECTNP = 180
0746 EM_SCROLL = 181
0747 EM_LINESCROLL = 182
0748 EM_SCROLLCARET = 183
0749 EM_GETMODIFY = 184
0750 EM_SETMODIFY = 185
0751 EM_GETLINECOUNT = 186
0752 EM_LINEINDEX = 187
0753 EM_SETHANDLE = 188
0754 EM_GETHANDLE = 189
0755 EM_GETTHUMB = 190
0756 EM_LINELENGTH = 193
0757 EM_REPLACESEL = 194
0758 EM_GETLINE = 196
0759 EM_LIMITTEXT = 197
0760 EM_CANUNDO = 198
0761 EM_UNDO = 199
0762 EM_FMTLINES = 200
0763 EM_LINEFROMCHAR = 201
0764 EM_SETTABSTOPS = 203
0765 EM_SETPASSWORDCHAR = 204
0766 EM_EMPTYUNDOBUFFER = 205
0767 EM_GETFIRSTVISIBLELINE = 206
0768 EM_SETREADONLY = 207
0769 EM_SETWORDBREAKPROC = 208
0770 EM_GETWORDBREAKPROC = 209
0771 EM_GETPASSWORDCHAR = 210
0772 EM_SETMARGINS = 211
0773 EM_GETMARGINS = 212
0774 EM_SETLIMITTEXT = EM_LIMITTEXT
0775 EM_GETLIMITTEXT = 213
0776 EM_POSFROMCHAR = 214
0777 EM_CHARFROMPOS = 215
0778 EM_SETIMESTATUS = 216
0779 EM_GETIMESTATUS = 217
0780 WB_LEFT = 0
0781 WB_RIGHT = 1
0782 WB_ISDELIMITER = 2
0783 BS_PUSHBUTTON = 0
0784 BS_DEFPUSHBUTTON = 1
0785 BS_CHECKBOX = 2
0786 BS_AUTOCHECKBOX = 3
0787 BS_RADIOBUTTON = 4
0788 BS_3STATE = 5
0789 BS_AUTO3STATE = 6
0790 BS_GROUPBOX = 7
0791 BS_USERBUTTON = 8
0792 BS_AUTORADIOBUTTON = 9
0793 BS_OWNERDRAW = 11L
0794 BS_LEFTTEXT = 32
0795 BS_TEXT = 0
0796 BS_ICON = 64
0797 BS_BITMAP = 128
0798 BS_LEFT = 256
0799 BS_RIGHT = 512
0800 BS_CENTER = 768
0801 BS_TOP = 1024
0802 BS_BOTTOM = 2048
0803 BS_VCENTER = 3072
0804 BS_PUSHLIKE = 4096
0805 BS_MULTILINE = 8192
0806 BS_NOTIFY = 16384
0807 BS_FLAT = 32768
0808 BS_RIGHTBUTTON = BS_LEFTTEXT
0809 BN_CLICKED = 0
0810 BN_PAINT = 1
0811 BN_HILITE = 2
0812 BN_UNHILITE = 3
0813 BN_DISABLE = 4
0814 BN_DOUBLECLICKED = 5
0815 BN_PUSHED = BN_HILITE
0816 BN_UNPUSHED = BN_UNHILITE
0817 BN_DBLCLK = BN_DOUBLECLICKED
0818 BN_SETFOCUS = 6
0819 BN_KILLFOCUS = 7
0820 BM_GETCHECK = 240
0821 BM_SETCHECK = 241
0822 BM_GETSTATE = 242
0823 BM_SETSTATE = 243
0824 BM_SETSTYLE = 244
0825 BM_CLICK = 245
0826 BM_GETIMAGE = 246
0827 BM_SETIMAGE = 247
0828 BST_UNCHECKED = 0
0829 BST_CHECKED = 1
0830 BST_INDETERMINATE = 2
0831 BST_PUSHED = 4
0832 BST_FOCUS = 8
0833 SS_LEFT = 0
0834 SS_CENTER = 1
0835 SS_RIGHT = 2
0836 SS_ICON = 3
0837 SS_BLACKRECT = 4
0838 SS_GRAYRECT = 5
0839 SS_WHITERECT = 6
0840 SS_BLACKFRAME = 7
0841 SS_GRAYFRAME = 8
0842 SS_WHITEFRAME = 9
0843 SS_USERITEM = 10
0844 SS_SIMPLE = 11
0845 SS_LEFTNOWORDWRAP = 12
0846 SS_BITMAP = 14
0847 SS_OWNERDRAW = 13
0848 SS_ENHMETAFILE = 15
0849 SS_ETCHEDHORZ = 16
0850 SS_ETCHEDVERT = 17
0851 SS_ETCHEDFRAME = 18
0852 SS_TYPEMASK = 31
0853 SS_NOPREFIX = 128
0854 SS_NOTIFY = 256
0855 SS_CENTERIMAGE = 512
0856 SS_RIGHTJUST = 1024
0857 SS_REALSIZEIMAGE = 2048
0858 SS_SUNKEN = 4096
0859 SS_ENDELLIPSIS = 16384
0860 SS_PATHELLIPSIS = 32768
0861 SS_WORDELLIPSIS = 49152
0862 SS_ELLIPSISMASK = 49152
0863 STM_SETICON = 368
0864 STM_GETICON = 369
0865 STM_SETIMAGE = 370
0866 STM_GETIMAGE = 371
0867 STN_CLICKED = 0
0868 STN_DBLCLK = 1
0869 STN_ENABLE = 2
0870 STN_DISABLE = 3
0871 STM_MSGMAX = 372
0872 DWL_MSGRESULT = 0
0873 DWL_DLGPROC = 4
0874 DWL_USER = 8
0875 DDL_READWRITE = 0
0876 DDL_READONLY = 1
0877 DDL_HIDDEN = 2
0878 DDL_SYSTEM = 4
0879 DDL_DIRECTORY = 16
0880 DDL_ARCHIVE = 32
0881 DDL_POSTMSGS = 8192
0882 DDL_DRIVES = 16384
0883 DDL_EXCLUSIVE = 32768
0884 
0885 #from winuser.h line 153
0886 RT_CURSOR = 1
0887 RT_BITMAP = 2
0888 RT_ICON = 3
0889 RT_MENU = 4
0890 RT_DIALOG = 5
0891 RT_STRING = 6
0892 RT_FONTDIR = 7
0893 RT_FONT = 8
0894 RT_ACCELERATOR = 9
0895 RT_RCDATA = 10
0896 RT_MESSAGETABLE = 11
0897 DIFFERENCE = 11
0898 RT_GROUP_CURSOR = (RT_CURSOR + DIFFERENCE)
0899 RT_GROUP_ICON = (RT_ICON + DIFFERENCE)
0900 RT_VERSION = 16
0901 RT_DLGINCLUDE = 17
0902 RT_PLUGPLAY = 19
0903 RT_VXD = 20
0904 RT_ANICURSOR = 21
0905 RT_ANIICON = 22
0906 RT_HTML = 23
0907 # from winuser.h line 218
0908 SB_HORZ = 0
0909 SB_VERT = 1
0910 SB_CTL = 2
0911 SB_BOTH = 3
0912 SB_LINEUP = 0
0913 SB_LINELEFT = 0
0914 SB_LINEDOWN = 1
0915 SB_LINERIGHT = 1
0916 SB_PAGEUP = 2
0917 SB_PAGELEFT = 2
0918 SB_PAGEDOWN = 3
0919 SB_PAGERIGHT = 3
0920 SB_THUMBPOSITION = 4
0921 SB_THUMBTRACK = 5
0922 SB_TOP = 6
0923 SB_LEFT = 6
0924 SB_BOTTOM = 7
0925 SB_RIGHT = 7
0926 SB_ENDSCROLL = 8
0927 SW_HIDE = 0
0928 SW_SHOWNORMAL = 1
0929 SW_NORMAL = 1
0930 SW_SHOWMINIMIZED = 2
0931 SW_SHOWMAXIMIZED = 3
0932 SW_MAXIMIZE = 3
0933 SW_SHOWNOACTIVATE = 4
0934 SW_SHOW = 5
0935 SW_MINIMIZE = 6
0936 SW_SHOWMINNOACTIVE = 7
0937 SW_SHOWNA = 8
0938 SW_RESTORE = 9
0939 SW_SHOWDEFAULT = 10
0940 SW_FORCEMINIMIZE = 11
0941 SW_MAX = 11
0942 HIDE_WINDOW = 0
0943 SHOW_OPENWINDOW = 1
0944 SHOW_ICONWINDOW = 2
0945 SHOW_FULLSCREEN = 3
0946 SHOW_OPENNOACTIVATE = 4
0947 SW_PARENTCLOSING = 1
0948 SW_OTHERZOOM = 2
0949 SW_PARENTOPENING = 3
0950 SW_OTHERUNZOOM = 4
0951 AW_HOR_POSITIVE = 1
0952 AW_HOR_NEGATIVE = 2
0953 AW_VER_POSITIVE = 4
0954 AW_VER_NEGATIVE = 8
0955 AW_CENTER = 16
0956 AW_HIDE = 65536
0957 AW_ACTIVATE = 131072
0958 AW_SLIDE = 262144
0959 AW_BLEND = 524288
0960 KF_EXTENDED = 256
0961 KF_DLGMODE = 2048
0962 KF_MENUMODE = 4096
0963 KF_ALTDOWN = 8192
0964 KF_REPEAT = 16384
0965 KF_UP = 32768
0966 VK_LBUTTON = 1
0967 VK_RBUTTON = 2
0968 VK_CANCEL = 3
0969 VK_MBUTTON = 4
0970 VK_BACK = 8
0971 VK_TAB = 9
0972 VK_CLEAR = 12
0973 VK_RETURN = 13
0974 VK_SHIFT = 16
0975 VK_CONTROL = 17
0976 VK_MENU = 18
0977 VK_PAUSE = 19
0978 VK_CAPITAL = 20
0979 VK_KANA = 21
0980 VK_HANGEUL = 21  # old name - should be here for compatibility
0981 VK_HANGUL = 21
0982 VK_JUNJA = 23
0983 VK_FINAL = 24
0984 VK_HANJA = 25
0985 VK_KANJI = 25
0986 VK_ESCAPE = 27
0987 VK_CONVERT = 28
0988 VK_NONCONVERT = 29
0989 VK_ACCEPT = 30
0990 VK_MODECHANGE = 31
0991 VK_SPACE = 32
0992 VK_PRIOR = 33
0993 VK_NEXT = 34
0994 VK_END = 35
0995 VK_HOME = 36
0996 VK_LEFT = 37
0997 VK_UP = 38
0998 VK_RIGHT = 39
0999 VK_DOWN = 40
1000 VK_SELECT = 41
1001 VK_PRINT = 42
1002 VK_EXECUTE = 43
1003 VK_SNAPSHOT = 44
1004 VK_INSERT = 45
1005 VK_DELETE = 46
1006 VK_HELP = 47
1007 VK_LWIN = 91
1008 VK_RWIN = 92
1009 VK_APPS = 93
1010 VK_NUMPAD0 = 96
1011 VK_NUMPAD1 = 97
1012 VK_NUMPAD2 = 98
1013 VK_NUMPAD3 = 99
1014 VK_NUMPAD4 = 100
1015 VK_NUMPAD5 = 101
1016 VK_NUMPAD6 = 102
1017 VK_NUMPAD7 = 103
1018 VK_NUMPAD8 = 104
1019 VK_NUMPAD9 = 105
1020 VK_MULTIPLY = 106
1021 VK_ADD = 107
1022 VK_SEPARATOR = 108
1023 VK_SUBTRACT = 109
1024 VK_DECIMAL = 110
1025 VK_DIVIDE = 111
1026 VK_F1 = 112
1027 VK_F2 = 113
1028 VK_F3 = 114
1029 VK_F4 = 115
1030 VK_F5 = 116
1031 VK_F6 = 117
1032 VK_F7 = 118
1033 VK_F8 = 119
1034 VK_F9 = 120
1035 VK_F10 = 121
1036 VK_F11 = 122
1037 VK_F12 = 123
1038 VK_F13 = 124
1039 VK_F14 = 125
1040 VK_F15 = 126
1041 VK_F16 = 127
1042 VK_F17 = 128
1043 VK_F18 = 129
1044 VK_F19 = 130
1045 VK_F20 = 131
1046 VK_F21 = 132
1047 VK_F22 = 133
1048 VK_F23 = 134
1049 VK_F24 = 135
1050 VK_NUMLOCK = 144
1051 VK_SCROLL = 145
1052 VK_LSHIFT = 160
1053 VK_RSHIFT = 161
1054 VK_LCONTROL = 162
1055 VK_RCONTROL = 163
1056 VK_LMENU = 164
1057 VK_RMENU = 165
1058 VK_PROCESSKEY = 229
1059 VK_ATTN = 246
1060 VK_CRSEL = 247
1061 VK_EXSEL = 248
1062 VK_EREOF = 249
1063 VK_PLAY = 250
1064 VK_ZOOM = 251
1065 VK_NONAME = 252
1066 VK_PA1 = 253
1067 VK_OEM_CLEAR = 254
1068 WH_MIN = (-1)
1069 WH_MSGFILTER = (-1)
1070 WH_JOURNALRECORD = 0
1071 WH_JOURNALPLAYBACK = 1
1072 WH_KEYBOARD = 2
1073 WH_GETMESSAGE = 3
1074 WH_CALLWNDPROC = 4
1075 WH_CBT = 5
1076 WH_SYSMSGFILTER = 6
1077 WH_MOUSE = 7
1078 WH_HARDWARE = 8
1079 WH_DEBUG = 9
1080 WH_SHELL = 10
1081 WH_FOREGROUNDIDLE = 11
1082 WH_CALLWNDPROCRET = 12
1083 WH_KEYBOARD_LL = 13
1084 WH_MOUSE_LL = 14
1085 WH_MAX = 14
1086 WH_MINHOOK = WH_MIN
1087 WH_MAXHOOK = WH_MAX
1088 HC_ACTION = 0
1089 HC_GETNEXT = 1
1090 HC_SKIP = 2
1091 HC_NOREMOVE = 3
1092 HC_NOREM = HC_NOREMOVE
1093 HC_SYSMODALON = 4
1094 HC_SYSMODALOFF = 5
1095 HCBT_MOVESIZE = 0
1096 HCBT_MINMAX = 1
1097 HCBT_QS = 2
1098 HCBT_CREATEWND = 3
1099 HCBT_DESTROYWND = 4
1100 HCBT_ACTIVATE = 5
1101 HCBT_CLICKSKIPPED = 6
1102 HCBT_KEYSKIPPED = 7
1103 HCBT_SYSCOMMAND = 8
1104 HCBT_SETFOCUS = 9
1105 MSGF_DIALOGBOX = 0
1106 MSGF_MESSAGEBOX = 1
1107 MSGF_MENU = 2
1108 #MSGF_MOVE = 3
1109 #MSGF_SIZE = 4
1110 MSGF_SCROLLBAR = 5
1111 MSGF_NEXTWINDOW = 6
1112 #MSGF_MAINLOOP = 8
1113 MSGF_MAX = 8
1114 MSGF_USER = 4096
1115 HSHELL_WINDOWCREATED = 1
1116 HSHELL_WINDOWDESTROYED = 2
1117 HSHELL_ACTIVATESHELLWINDOW = 3
1118 HSHELL_WINDOWACTIVATED = 4
1119 HSHELL_GETMINRECT = 5
1120 HSHELL_REDRAW = 6
1121 HSHELL_TASKMAN = 7
1122 HSHELL_LANGUAGE = 8
1123 HSHELL_ACCESSIBILITYSTATE = 11
1124 ACCESS_STICKYKEYS = 1
1125 ACCESS_FILTERKEYS = 2
1126 ACCESS_MOUSEKEYS = 3
1127 # winuser.h line 624
1128 LLKHF_EXTENDED = 1
1129 LLKHF_INJECTED = 16
1130 LLKHF_ALTDOWN = 32
1131 LLKHF_UP = 128
1132 LLMHF_INJECTED = 1
1133 # line 692
1134 HKL_PREV = 0
1135 HKL_NEXT = 1
1136 KLF_ACTIVATE = 1
1137 KLF_SUBSTITUTE_OK = 2
1138 KLF_UNLOADPREVIOUS = 4
1139 KLF_REORDER = 8
1140 KLF_REPLACELANG = 16
1141 KLF_NOTELLSHELL = 128
1142 KLF_SETFORPROCESS = 256
1143 KL_NAMELENGTH = 9
1144 DESKTOP_READOBJECTS = 1
1145 DESKTOP_CREATEWINDOW = 2
1146 DESKTOP_CREATEMENU = 4
1147 DESKTOP_HOOKCONTROL = 8
1148 DESKTOP_JOURNALRECORD = 16
1149 DESKTOP_JOURNALPLAYBACK = 32
1150 DESKTOP_ENUMERATE = 64
1151 DESKTOP_WRITEOBJECTS = 128
1152 DESKTOP_SWITCHDESKTOP = 256
1153 DF_ALLOWOTHERACCOUNTHOOK = 1
1154 WINSTA_ENUMDESKTOPS = 1
1155 WINSTA_READATTRIBUTES = 2
1156 WINSTA_ACCESSCLIPBOARD = 4
1157 WINSTA_CREATEDESKTOP = 8
1158 WINSTA_WRITEATTRIBUTES = 16
1159 WINSTA_ACCESSGLOBALATOMS = 32
1160 WINSTA_EXITWINDOWS = 64
1161 WINSTA_ENUMERATE = 256
1162 WINSTA_READSCREEN = 512
1163 WSF_VISIBLE = 1
1164 UOI_FLAGS = 1
1165 UOI_NAME = 2
1166 UOI_TYPE = 3
1167 UOI_USER_SID = 4
1168 GWL_WNDPROC = (-4)
1169 GWL_HINSTANCE = (-6)
1170 GWL_HWNDPARENT = (-8)
1171 GWL_STYLE = (-16)
1172 GWL_EXSTYLE = (-20)
1173 GWL_USERDATA = (-21)
1174 GWL_ID = (-12)
1175 GCL_MENUNAME = (-8)
1176 GCL_HBRBACKGROUND = (-10)
1177 GCL_HCURSOR = (-12)
1178 GCL_HICON = (-14)
1179 GCL_HMODULE = (-16)
1180 GCL_CBWNDEXTRA = (-18)
1181 GCL_CBCLSEXTRA = (-20)
1182 GCL_WNDPROC = (-24)
1183 GCL_STYLE = (-26)
1184 GCW_ATOM = (-32)
1185 GCL_HICONSM = (-34)
1186 # line 1291
1187 WM_NULL = 0
1188 WM_CREATE = 1
1189 WM_DESTROY = 2
1190 WM_MOVE = 3
1191 WM_SIZE = 5
1192 WM_ACTIVATE = 6
1193 WA_INACTIVE = 0
1194 WA_ACTIVE = 1
1195 WA_CLICKACTIVE = 2
1196 WM_SETFOCUS = 7
1197 WM_KILLFOCUS = 8
1198 WM_ENABLE = 10
1199 WM_SETREDRAW = 11
1200 WM_SETTEXT = 12
1201 WM_GETTEXT = 13
1202 WM_GETTEXTLENGTH = 14
1203 WM_PAINT = 15
1204 WM_CLOSE = 16
1205 WM_QUERYENDSESSION = 17
1206 WM_QUIT = 18
1207 WM_QUERYOPEN = 19
1208 WM_ERASEBKGND = 20
1209 WM_SYSCOLORCHANGE = 21
1210 WM_ENDSESSION = 22
1211 WM_SHOWWINDOW = 24
1212 WM_WININICHANGE = 26
1213 WM_SETTINGCHANGE = WM_WININICHANGE
1214 WM_DEVMODECHANGE = 27
1215 WM_ACTIVATEAPP = 28
1216 WM_FONTCHANGE = 29
1217 WM_TIMECHANGE = 30
1218 WM_CANCELMODE = 31
1219 WM_SETCURSOR = 32
1220 WM_MOUSEACTIVATE = 33
1221 WM_CHILDACTIVATE = 34
1222 WM_QUEUESYNC = 35
1223 WM_GETMINMAXINFO = 36
1224 WM_PAINTICON = 38
1225 WM_ICONERASEBKGND = 39
1226 WM_NEXTDLGCTL = 40
1227 WM_SPOOLERSTATUS = 42
1228 WM_DRAWITEM = 43
1229 WM_MEASUREITEM = 44
1230 WM_DELETEITEM = 45
1231 WM_VKEYTOITEM = 46
1232 WM_CHARTOITEM = 47
1233 WM_SETFONT = 48
1234 WM_GETFONT = 49
1235 WM_SETHOTKEY = 50
1236 WM_GETHOTKEY = 51
1237 WM_QUERYDRAGICON = 55
1238 WM_COMPAREITEM = 57
1239 WM_GETOBJECT = 61
1240 WM_COMPACTING = 65
1241 WM_COMMNOTIFY = 68
1242 WM_WINDOWPOSCHANGING = 70
1243 WM_WINDOWPOSCHANGED = 71
1244 WM_POWER = 72
1245 PWR_OK = 1
1246 PWR_FAIL = (-1)
1247 PWR_SUSPENDREQUEST = 1
1248 PWR_SUSPENDRESUME = 2
1249 PWR_CRITICALRESUME = 3
1250 WM_COPYDATA = 74
1251 WM_CANCELJOURNAL = 75
1252 WM_NOTIFY = 78
1253 WM_INPUTLANGCHANGEREQUEST = 80
1254 WM_INPUTLANGCHANGE = 81
1255 WM_TCARD = 82
1256 WM_HELP = 83
1257 WM_USERCHANGED = 84
1258 WM_NOTIFYFORMAT = 85
1259 NFR_ANSI = 1
1260 NFR_UNICODE = 2
1261 NF_QUERY = 3
1262 NF_REQUERY = 4
1263 WM_CONTEXTMENU = 123
1264 WM_STYLECHANGING = 124
1265 WM_STYLECHANGED = 125
1266 WM_DISPLAYCHANGE = 126
1267 WM_GETICON = 127
1268 WM_SETICON = 128
1269 WM_NCCREATE = 129
1270 WM_NCDESTROY = 130
1271 WM_NCCALCSIZE = 131
1272 WM_NCHITTEST = 132
1273 WM_NCPAINT = 133
1274 WM_NCACTIVATE = 134
1275 WM_GETDLGCODE = 135
1276 WM_SYNCPAINT = 136
1277 WM_NCMOUSEMOVE = 160
1278 WM_NCLBUTTONDOWN = 161
1279 WM_NCLBUTTONUP = 162
1280 WM_NCLBUTTONDBLCLK = 163
1281 WM_NCRBUTTONDOWN = 164
1282 WM_NCRBUTTONUP = 165
1283 WM_NCRBUTTONDBLCLK = 166
1284 WM_NCMBUTTONDOWN = 167
1285 WM_NCMBUTTONUP = 168
1286 WM_NCMBUTTONDBLCLK = 169
1287 WM_KEYFIRST = 256
1288 WM_KEYDOWN = 256
1289 WM_KEYUP = 257
1290 WM_CHAR = 258
1291 WM_DEADCHAR = 259
1292 WM_SYSKEYDOWN = 260
1293 WM_SYSKEYUP = 261
1294 WM_SYSCHAR = 262
1295 WM_SYSDEADCHAR = 263
1296 WM_KEYLAST = 264
1297 WM_IME_STARTCOMPOSITION = 269
1298 WM_IME_ENDCOMPOSITION = 270
1299 WM_IME_COMPOSITION = 271
1300 WM_IME_KEYLAST = 271
1301 WM_INITDIALOG = 272
1302 WM_COMMAND = 273
1303 WM_SYSCOMMAND = 274
1304 WM_TIMER = 275
1305 WM_HSCROLL = 276
1306 WM_VSCROLL = 277
1307 WM_INITMENU = 278
1308 WM_INITMENUPOPUP = 279
1309 WM_MENUSELECT = 287
1310 WM_MENUCHAR = 288
1311 WM_ENTERIDLE = 289
1312 WM_MENURBUTTONUP = 290
1313 WM_MENUDRAG = 291
1314 WM_MENUGETOBJECT = 292
1315 WM_UNINITMENUPOPUP = 293
1316 WM_MENUCOMMAND = 294
1317 WM_CTLCOLORMSGBOX = 306
1318 WM_CTLCOLOREDIT = 307
1319 WM_CTLCOLORLISTBOX = 308
1320 WM_CTLCOLORBTN = 309
1321 WM_CTLCOLORDLG = 310
1322 WM_CTLCOLORSCROLLBAR = 311
1323 WM_CTLCOLORSTATIC = 312
1324 WM_MOUSEFIRST = 512
1325 WM_MOUSEMOVE = 512
1326 WM_LBUTTONDOWN = 513
1327 WM_LBUTTONUP = 514
1328 WM_LBUTTONDBLCLK = 515
1329 WM_RBUTTONDOWN = 516
1330 WM_RBUTTONUP = 517
1331 WM_RBUTTONDBLCLK = 518
1332 WM_MBUTTONDOWN = 519
1333 WM_MBUTTONUP = 520
1334 WM_MBUTTONDBLCLK = 521
1335 WM_MOUSEWHEEL = 522
1336 WM_MOUSELAST = 522
1337 WHEEL_DELTA = 120     # Value for rolling one detent
1338 WHEEL_PAGESCROLL = -1 # Scroll one page
1339 WM_PARENTNOTIFY = 528
1340 MENULOOP_WINDOW = 0
1341 MENULOOP_POPUP = 1
1342 WM_ENTERMENULOOP = 529
1343 WM_EXITMENULOOP = 530
1344 WM_NEXTMENU = 531
1345 WM_SIZING = 532
1346 WM_CAPTURECHANGED = 533
1347 WM_MOVING = 534
1348 WM_POWERBROADCAST = 536
1349 PBT_APMQUERYSUSPEND = 0
1350 PBT_APMQUERYSTANDBY = 1
1351 PBT_APMQUERYSUSPENDFAILED = 2
1352 PBT_APMQUERYSTANDBYFAILED = 3
1353 PBT_APMSUSPEND = 4
1354 PBT_APMSTANDBY = 5
1355 PBT_APMRESUMECRITICAL = 6
1356 PBT_APMRESUMESUSPEND = 7
1357 PBT_APMRESUMESTANDBY = 8
1358 PBTF_APMRESUMEFROMFAILURE = 1
1359 PBT_APMBATTERYLOW = 9
1360 PBT_APMPOWERSTATUSCHANGE = 10
1361 PBT_APMOEMEVENT = 11
1362 PBT_APMRESUMEAUTOMATIC = 18
1363 WM_DEVICECHANGE = 537
1364 WM_MDICREATE = 544
1365 WM_MDIDESTROY = 545
1366 WM_MDIACTIVATE = 546
1367 WM_MDIRESTORE = 547
1368 WM_MDINEXT = 548
1369 WM_MDIMAXIMIZE = 549
1370 WM_MDITILE = 550
1371 WM_MDICASCADE = 551
1372 WM_MDIICONARRANGE = 552
1373 WM_MDIGETACTIVE = 553
1374 WM_MDISETMENU = 560
1375 WM_ENTERSIZEMOVE = 561
1376 WM_EXITSIZEMOVE = 562
1377 WM_DROPFILES = 563
1378 WM_MDIREFRESHMENU = 564
1379 WM_IME_SETCONTEXT = 641
1380 WM_IME_NOTIFY = 642
1381 WM_IME_CONTROL = 643
1382 WM_IME_COMPOSITIONFULL = 644
1383 WM_IME_SELECT = 645
1384 WM_IME_CHAR = 646
1385 WM_IME_REQUEST = 648
1386 WM_IME_KEYDOWN = 656
1387 WM_IME_KEYUP = 657
1388 WM_MOUSEHOVER = 673
1389 WM_MOUSELEAVE = 675
1390 WM_CUT = 768
1391 WM_COPY = 769
1392 WM_PASTE = 770
1393 WM_CLEAR = 771
1394 WM_UNDO = 772
1395 WM_RENDERFORMAT = 773
1396 WM_RENDERALLFORMATS = 774
1397 WM_DESTROYCLIPBOARD = 775
1398 WM_DRAWCLIPBOARD = 776
1399 WM_PAINTCLIPBOARD = 777
1400 WM_VSCROLLCLIPBOARD = 778
1401 WM_SIZECLIPBOARD = 779
1402 WM_ASKCBFORMATNAME = 780
1403 WM_CHANGECBCHAIN = 781
1404 WM_HSCROLLCLIPBOARD = 782
1405 WM_QUERYNEWPALETTE = 783
1406 WM_PALETTEISCHANGING = 784
1407 WM_PALETTECHANGED = 785
1408 WM_HOTKEY = 786
1409 WM_PRINT = 791
1410 WM_PRINTCLIENT = 792
1411 WM_HANDHELDFIRST = 856
1412 WM_HANDHELDLAST = 863
1413 WM_AFXFIRST = 864
1414 WM_AFXLAST = 895
1415 WM_PENWINFIRST = 896
1416 WM_PENWINLAST = 911
1417 WM_APP = 32768
1418 WMSZ_LEFT = 1
1419 WMSZ_RIGHT = 2
1420 WMSZ_TOP = 3
1421 WMSZ_TOPLEFT = 4
1422 WMSZ_TOPRIGHT = 5
1423 WMSZ_BOTTOM = 6
1424 WMSZ_BOTTOMLEFT = 7
1425 WMSZ_BOTTOMRIGHT = 8
1426 #ST_BEGINSWP = 0
1427 #ST_ENDSWP = 1
1428 HTERROR = (-2)
1429 HTTRANSPARENT = (-1)
1430 HTNOWHERE = 0
1431 HTCLIENT = 1
1432 HTCAPTION = 2
1433 HTSYSMENU = 3
1434 HTGROWBOX = 4
1435 HTSIZE = HTGROWBOX
1436 HTMENU = 5
1437 HTHSCROLL = 6
1438 HTVSCROLL = 7
1439 HTMINBUTTON = 8
1440 HTMAXBUTTON = 9
1441 HTLEFT = 10
1442 HTRIGHT = 11
1443 HTTOP = 12
1444 HTTOPLEFT = 13
1445 HTTOPRIGHT = 14
1446 HTBOTTOM = 15
1447 HTBOTTOMLEFT = 16
1448 HTBOTTOMRIGHT = 17
1449 HTBORDER = 18
1450 HTREDUCE = HTMINBUTTON
1451 HTZOOM = HTMAXBUTTON
1452 HTSIZEFIRST = HTLEFT
1453 HTSIZELAST = HTBOTTOMRIGHT
1454 HTOBJECT = 19
1455 HTCLOSE = 20
1456 HTHELP = 21
1457 SMTO_NORMAL = 0
1458 SMTO_BLOCK = 1
1459 SMTO_ABORTIFHUNG = 2
1460 SMTO_NOTIMEOUTIFNOTHUNG = 8
1461 MA_ACTIVATE = 1
1462 MA_ACTIVATEANDEAT = 2
1463 MA_NOACTIVATE = 3
1464 MA_NOACTIVATEANDEAT = 4
1465 ICON_SMALL = 0
1466 ICON_BIG = 1
1467 SIZE_RESTORED = 0
1468 SIZE_MINIMIZED = 1
1469 SIZE_MAXIMIZED = 2
1470 SIZE_MAXSHOW = 3
1471 SIZE_MAXHIDE = 4
1472 SIZENORMAL = SIZE_RESTORED
1473 SIZEICONIC = SIZE_MINIMIZED
1474 SIZEFULLSCREEN = SIZE_MAXIMIZED
1475 SIZEZOOMSHOW = SIZE_MAXSHOW
1476 SIZEZOOMHIDE = SIZE_MAXHIDE
1477 WVR_ALIGNTOP = 16
1478 WVR_ALIGNLEFT = 32
1479 WVR_ALIGNBOTTOM = 64
1480 WVR_ALIGNRIGHT = 128
1481 WVR_HREDRAW = 256
1482 WVR_VREDRAW = 512
1483 WVR_REDRAW = (WVR_HREDRAW | WVR_VREDRAW)
1484 WVR_VALIDRECTS = 1024
1485 MK_LBUTTON = 1
1486 MK_RBUTTON = 2
1487 MK_SHIFT = 4
1488 MK_CONTROL = 8
1489 MK_MBUTTON = 16
1490 TME_HOVER = 1
1491 TME_LEAVE = 2
1492 TME_QUERY = 1073741824
1493 TME_CANCEL = -2147483648
1494 HOVER_DEFAULT = -1
1495 WS_OVERLAPPED = 0
1496 WS_POPUP = -2147483648
1497 WS_CHILD = 1073741824
1498 WS_MINIMIZE = 536870912
1499 WS_VISIBLE = 268435456
1500 WS_DISABLED = 134217728
1501 WS_CLIPSIBLINGS = 67108864
1502 WS_CLIPCHILDREN = 33554432
1503 WS_MAXIMIZE = 16777216
1504 WS_CAPTION = 12582912
1505 WS_BORDER = 8388608
1506 WS_DLGFRAME = 4194304
1507 WS_VSCROLL = 2097152
1508 WS_HSCROLL = 1048576
1509 WS_SYSMENU = 524288
1510 WS_THICKFRAME = 262144
1511 WS_GROUP = 131072
1512 WS_TABSTOP = 65536
1513 WS_MINIMIZEBOX = 131072
1514 WS_MAXIMIZEBOX = 65536
1515 WS_TILED = WS_OVERLAPPED
1516 WS_ICONIC = WS_MINIMIZE
1517 WS_SIZEBOX = WS_THICKFRAME
1518 WS_OVERLAPPEDWINDOW = (WS_OVERLAPPED     | \
1519                              WS_CAPTION        | \
1520                              WS_SYSMENU        | \
1521                              WS_THICKFRAME     | \
1522                              WS_MINIMIZEBOX    | \
1523                              WS_MAXIMIZEBOX)
1524 WS_POPUPWINDOW = (WS_POPUP          | \
1525                              WS_BORDER         | \
1526                              WS_SYSMENU)
1527 WS_CHILDWINDOW = (WS_CHILD)
1528 WS_TILEDWINDOW = WS_OVERLAPPEDWINDOW
1529 WS_EX_DLGMODALFRAME = 1
1530 WS_EX_NOPARENTNOTIFY = 4
1531 WS_EX_TOPMOST = 8
1532 WS_EX_ACCEPTFILES = 16
1533 WS_EX_TRANSPARENT = 32
1534 WS_EX_MDICHILD = 64
1535 WS_EX_TOOLWINDOW = 128
1536 WS_EX_WINDOWEDGE = 256
1537 WS_EX_CLIENTEDGE = 512
1538 WS_EX_CONTEXTHELP = 1024
1539 WS_EX_RIGHT = 4096
1540 WS_EX_LEFT = 0
1541 WS_EX_RTLREADING = 8192
1542 WS_EX_LTRREADING = 0
1543 WS_EX_LEFTSCROLLBAR = 16384
1544 WS_EX_RIGHTSCROLLBAR = 0
1545 WS_EX_CONTROLPARENT = 65536
1546 WS_EX_STATICEDGE = 131072
1547 WS_EX_APPWINDOW = 262144
1548 WS_EX_OVERLAPPEDWINDOW = (WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE)
1549 WS_EX_PALETTEWINDOW = (WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST)
1550 CS_VREDRAW = 1
1551 CS_HREDRAW = 2
1552 #CS_KEYCVTWINDOW = 0x0004
1553 CS_DBLCLKS = 8
1554 CS_OWNDC = 32
1555 CS_CLASSDC = 64
1556 CS_PARENTDC = 128
1557 #CS_NOKEYCVT = 0x0100
1558 CS_NOCLOSE = 512
1559 CS_SAVEBITS = 2048
1560 CS_BYTEALIGNCLIENT = 4096
1561 CS_BYTEALIGNWINDOW = 8192
1562 CS_GLOBALCLASS = 16384
1563 CS_IME = 65536
1564 PRF_CHECKVISIBLE = 1
1565 PRF_NONCLIENT = 2
1566 PRF_CLIENT = 4
1567 PRF_ERASEBKGND = 8
1568 PRF_CHILDREN = 16
1569 PRF_OWNED = 32
1570 BDR_RAISEDOUTER = 1
1571 BDR_SUNKENOUTER = 2
1572 BDR_RAISEDINNER = 4
1573 BDR_SUNKENINNER = 8
1574 BDR_OUTER = 3
1575 BDR_INNER = 12
1576 #BDR_RAISED = 0x0005
1577 #BDR_SUNKEN = 0x000a
1578 EDGE_RAISED = (BDR_RAISEDOUTER | BDR_RAISEDINNER)
1579 EDGE_SUNKEN = (BDR_SUNKENOUTER | BDR_SUNKENINNER)
1580 EDGE_ETCHED = (BDR_SUNKENOUTER | BDR_RAISEDINNER)
1581 EDGE_BUMP = (BDR_RAISEDOUTER | BDR_SUNKENINNER)
1582 
1583 # winuser.h line 2879
1584 ISMEX_NOSEND = 0
1585 ISMEX_SEND = 1
1586 ISMEX_NOTIFY = 2
1587 ISMEX_CALLBACK = 4
1588 ISMEX_REPLIED = 8
1589 CW_USEDEFAULT = -2147483648
1590 FLASHW_STOP = 0
1591 FLASHW_CAPTION = 1
1592 FLASHW_TRAY = 2
1593 FLASHW_ALL = (FLASHW_CAPTION | FLASHW_TRAY)
1594 FLASHW_TIMER = 4
1595 FLASHW_TIMERNOFG = 12
1596 
1597 # winuser.h line 7963
1598 DS_ABSALIGN = 1
1599 DS_SYSMODAL = 2
1600 DS_LOCALEDIT = 32
1601 DS_SETFONT = 64
1602 DS_MODALFRAME = 128
1603 DS_NOIDLEMSG = 256
1604 DS_SETFOREGROUND = 512
1605 DS_3DLOOK = 4
1606 DS_FIXEDSYS = 8
1607 DS_NOFAILCREATE = 16
1608 DS_CONTROL = 1024
1609 DS_CENTER = 2048
1610 DS_CENTERMOUSE = 4096
1611 DS_CONTEXTHELP = 8192
1612 DM_GETDEFID = (WM_USER+0)
1613 DM_SETDEFID = (WM_USER+1)
1614 DM_REPOSITION = (WM_USER+2)
1615 #PSM_PAGEINFO = (WM_USER+100)
1616 #PSM_SHEETINFO = (WM_USER+101)
1617 #PSI_SETACTIVE = 0x0001
1618 #PSI_KILLACTIVE = 0x0002
1619 #PSI_APPLY = 0x0003
1620 #PSI_RESET = 0x0004
1621 #PSI_HASHELP = 0x0005
1622 #PSI_HELP = 0x0006
1623 #PSI_CHANGED = 0x0001
1624 #PSI_GUISTART = 0x0002
1625 #PSI_REBOOT = 0x0003
1626 #PSI_GETSIBLINGS = 0x0004
1627 DC_HASDEFID = 21323
1628 DLGC_WANTARROWS = 1
1629 DLGC_WANTTAB = 2
1630 DLGC_WANTALLKEYS = 4
1631 DLGC_WANTMESSAGE = 4
1632 DLGC_HASSETSEL = 8
1633 DLGC_DEFPUSHBUTTON = 16
1634 DLGC_UNDEFPUSHBUTTON = 32
1635 DLGC_RADIOBUTTON = 64
1636 DLGC_WANTCHARS = 128
1637 DLGC_STATIC = 256
1638 DLGC_BUTTON = 8192
1639 LB_CTLCODE = 0
1640 LB_OKAY = 0
1641 LB_ERR = (-1)
1642 LB_ERRSPACE = (-2)
1643 LBN_ERRSPACE = (-2)
1644 LBN_SELCHANGE = 1
1645 LBN_DBLCLK = 2
1646 LBN_SELCANCEL = 3
1647 LBN_SETFOCUS = 4
1648 LBN_KILLFOCUS = 5
1649 LB_ADDSTRING = 384
1650 LB_INSERTSTRING = 385
1651 LB_DELETESTRING = 386
1652 LB_SELITEMRANGEEX = 387
1653 LB_RESETCONTENT = 388
1654 LB_SETSEL = 389
1655 LB_SETCURSEL = 390
1656 LB_GETSEL = 391
1657 LB_GETCURSEL = 392
1658 LB_GETTEXT = 393
1659 LB_GETTEXTLEN = 394
1660 LB_GETCOUNT = 395
1661 LB_SELECTSTRING = 396
1662 LB_DIR = 397
1663 LB_GETTOPINDEX = 398
1664 LB_FINDSTRING = 399
1665 LB_GETSELCOUNT = 400
1666 LB_GETSELITEMS = 401
1667 LB_SETTABSTOPS = 402
1668 LB_GETHORIZONTALEXTENT = 403
1669 LB_SETHORIZONTALEXTENT = 404
1670 LB_SETCOLUMNWIDTH = 405
1671 LB_ADDFILE = 406
1672 LB_SETTOPINDEX = 407
1673 LB_GETITEMRECT = 408
1674 LB_GETITEMDATA = 409
1675 LB_SETITEMDATA = 410
1676 LB_SELITEMRANGE = 411
1677 LB_SETANCHORINDEX = 412
1678 LB_GETANCHORINDEX = 413
1679 LB_SETCARETINDEX = 414
1680 LB_GETCARETINDEX = 415
1681 LB_SETITEMHEIGHT = 416
1682 LB_GETITEMHEIGHT = 417
1683 LB_FINDSTRINGEXACT = 418
1684 LB_SETLOCALE = 421
1685 LB_GETLOCALE = 422
1686 LB_SETCOUNT = 423
1687 LB_INITSTORAGE = 424
1688 LB_ITEMFROMPOINT = 425
1689 LB_MSGMAX = 432
1690 LBS_NOTIFY = 1
1691 LBS_SORT = 2
1692 LBS_NOREDRAW = 4
1693 LBS_MULTIPLESEL = 8
1694 LBS_OWNERDRAWFIXED = 16
1695 LBS_OWNERDRAWVARIABLE = 32
1696 LBS_HASSTRINGS = 64
1697 LBS_USETABSTOPS = 128
1698 LBS_NOINTEGRALHEIGHT = 256
1699 LBS_MULTICOLUMN = 512
1700 LBS_WANTKEYBOARDINPUT = 1024
1701 LBS_EXTENDEDSEL = 2048
1702 LBS_DISABLENOSCROLL = 4096
1703 LBS_NODATA = 8192
1704 LBS_NOSEL = 16384
1705 LBS_STANDARD = (LBS_NOTIFY | LBS_SORT | WS_VSCROLL | WS_BORDER)
1706 CB_OKAY = 0
1707 CB_ERR = (-1)
1708 CB_ERRSPACE = (-2)
1709 CBN_ERRSPACE = (-1)
1710 CBN_SELCHANGE = 1
1711 CBN_DBLCLK = 2
1712 CBN_SETFOCUS = 3
1713 CBN_KILLFOCUS = 4
1714 CBN_EDITCHANGE = 5
1715 CBN_EDITUPDATE = 6
1716 CBN_DROPDOWN = 7
1717 CBN_CLOSEUP = 8
1718 CBN_SELENDOK = 9
1719 CBN_SELENDCANCEL = 10
1720 CBS_SIMPLE = 1
1721 CBS_DROPDOWN = 2
1722 CBS_DROPDOWNLIST = 3
1723 CBS_OWNERDRAWFIXED = 16
1724 CBS_OWNERDRAWVARIABLE = 32
1725 CBS_AUTOHSCROLL = 64
1726 CBS_OEMCONVERT = 128
1727 CBS_SORT = 256
1728 CBS_HASSTRINGS = 512
1729 CBS_NOINTEGRALHEIGHT = 1024
1730 CBS_DISABLENOSCROLL = 2048
1731 CBS_UPPERCASE = 8192
1732 CBS_LOWERCASE = 16384
1733 CB_GETEDITSEL = 320
1734 CB_LIMITTEXT = 321
1735 CB_SETEDITSEL = 322
1736 CB_ADDSTRING = 323
1737 CB_DELETESTRING = 324
1738 CB_DIR = 325
1739 CB_GETCOUNT = 326
1740 CB_GETCURSEL = 327
1741 CB_GETLBTEXT = 328
1742 CB_GETLBTEXTLEN = 329
1743 CB_INSERTSTRING = 330
1744 CB_RESETCONTENT = 331
1745 CB_FINDSTRING = 332
1746 CB_SELECTSTRING = 333
1747 CB_SETCURSEL = 334
1748 CB_SHOWDROPDOWN = 335
1749 CB_GETITEMDATA = 336
1750 CB_SETITEMDATA = 337
1751 CB_GETDROPPEDCONTROLRECT = 338
1752 CB_SETITEMHEIGHT = 339
1753 CB_GETITEMHEIGHT = 340
1754 CB_SETEXTENDEDUI = 341
1755 CB_GETEXTENDEDUI = 342
1756 CB_GETDROPPEDSTATE = 343
1757 CB_FINDSTRINGEXACT = 344
1758 CB_SETLOCALE = 345
1759 CB_GETLOCALE = 346
1760 CB_GETTOPINDEX = 347
1761 CB_SETTOPINDEX = 348
1762 CB_GETHORIZONTALEXTENT = 349
1763 CB_SETHORIZONTALEXTENT = 350
1764 CB_GETDROPPEDWIDTH = 351
1765 CB_SETDROPPEDWIDTH = 352
1766 CB_INITSTORAGE = 353
1767 CB_MSGMAX = 354
1768 SBS_HORZ = 0
1769 SBS_VERT = 1
1770 SBS_TOPALIGN = 2
1771 SBS_LEFTALIGN = 2
1772 SBS_BOTTOMALIGN = 4
1773 SBS_RIGHTALIGN = 4
1774 SBS_SIZEBOXTOPLEFTALIGN = 2
1775 SBS_SIZEBOXBOTTOMRIGHTALIGN = 4
1776 SBS_SIZEBOX = 8
1777 SBS_SIZEGRIP = 16
1778 SBM_SETPOS = 224
1779 SBM_GETPOS = 225
1780 SBM_SETRANGE = 226
1781 SBM_SETRANGEREDRAW = 230
1782 SBM_GETRANGE = 227
1783 SBM_ENABLE_ARROWS = 228
1784 SBM_SETSCROLLINFO = 233
1785 SBM_GETSCROLLINFO = 234
1786 SIF_RANGE = 1
1787 SIF_PAGE = 2
1788 SIF_POS = 4
1789 SIF_DISABLENOSCROLL = 8
1790 SIF_TRACKPOS = 16
1791 SIF_ALL = (SIF_RANGE | SIF_PAGE | SIF_POS | SIF_TRACKPOS)
1792 MDIS_ALLCHILDSTYLES = 1
1793 MDITILE_VERTICAL = 0
1794 MDITILE_HORIZONTAL = 1
1795 MDITILE_SKIPDISABLED = 2
1796 
1797 IMC_GETCANDIDATEPOS = 7
1798 IMC_SETCANDIDATEPOS = 8
1799 IMC_GETCOMPOSITIONFONT = 9
1800 IMC_SETCOMPOSITIONFONT = 10
1801 IMC_GETCOMPOSITIONWINDOW = 11
1802 IMC_SETCOMPOSITIONWINDOW = 12
1803 IMC_GETSTATUSWINDOWPOS = 15
1804 IMC_SETSTATUSWINDOWPOS = 16
1805 IMC_CLOSESTATUSWINDOW = 33
1806 IMC_OPENSTATUSWINDOW = 34
1807 # Generated by h2py from \msvc20\include\winnt.h
1808 # hacked and split by mhammond.
1809 DELETE = (65536)
1810 READ_CONTROL = (131072)
1811 WRITE_DAC = (262144)
1812 WRITE_OWNER = (524288)
1813 SYNCHRONIZE = (1048576)
1814 STANDARD_RIGHTS_REQUIRED = (983040)
1815 STANDARD_RIGHTS_READ = (READ_CONTROL)
1816 STANDARD_RIGHTS_WRITE = (READ_CONTROL)
1817 STANDARD_RIGHTS_EXECUTE = (READ_CONTROL)
1818 STANDARD_RIGHTS_ALL = (2031616)
1819 SPECIFIC_RIGHTS_ALL = (65535)
1820 ACCESS_SYSTEM_SECURITY = (16777216)
1821 MAXIMUM_ALLOWED = (33554432)
1822 GENERIC_READ = (-2147483648)
1823 GENERIC_WRITE = (1073741824)
1824 GENERIC_EXECUTE = (536870912)
1825 GENERIC_ALL = (268435456)
1826 
1827 SERVICE_KERNEL_DRIVER = 1
1828 SERVICE_FILE_SYSTEM_DRIVER = 2
1829 SERVICE_ADAPTER = 4
1830 SERVICE_RECOGNIZER_DRIVER = 8
1831 SERVICE_DRIVER = (SERVICE_KERNEL_DRIVER | \
1832                                         SERVICE_FILE_SYSTEM_DRIVER | \
1833                                         SERVICE_RECOGNIZER_DRIVER)
1834 SERVICE_WIN32_OWN_PROCESS = 16
1835 SERVICE_WIN32_SHARE_PROCESS = 32
1836 SERVICE_WIN32 = (SERVICE_WIN32_OWN_PROCESS | \
1837                                         SERVICE_WIN32_SHARE_PROCESS)
1838 SERVICE_INTERACTIVE_PROCESS = 256
1839 SERVICE_TYPE_ALL = (SERVICE_WIN32  | \
1840                                         SERVICE_ADAPTER | \
1841                                         SERVICE_DRIVER  | \
1842                                         SERVICE_INTERACTIVE_PROCESS)
1843 SERVICE_BOOT_START = 0
1844 SERVICE_SYSTEM_START = 1
1845 SERVICE_AUTO_START = 2
1846 SERVICE_DEMAND_START = 3
1847 SERVICE_DISABLED = 4
1848 SERVICE_ERROR_IGNORE = 0
1849 SERVICE_ERROR_NORMAL = 1
1850 SERVICE_ERROR_SEVERE = 2
1851 SERVICE_ERROR_CRITICAL = 3
1852 TAPE_ERASE_SHORT = 0
1853 TAPE_ERASE_LONG = 1
1854 TAPE_LOAD = 0
1855 TAPE_UNLOAD = 1
1856 TAPE_TENSION = 2
1857 TAPE_LOCK = 3
1858 TAPE_UNLOCK = 4
1859 TAPE_FORMAT = 5
1860 TAPE_SETMARKS = 0
1861 TAPE_FILEMARKS = 1
1862 TAPE_SHORT_FILEMARKS = 2
1863 TAPE_LONG_FILEMARKS = 3
1864 TAPE_ABSOLUTE_POSITION = 0
1865 TAPE_LOGICAL_POSITION = 1
1866 TAPE_PSEUDO_LOGICAL_POSITION = 2
1867 TAPE_REWIND = 0
1868 TAPE_ABSOLUTE_BLOCK = 1
1869 TAPE_LOGICAL_BLOCK = 2
1870 TAPE_PSEUDO_LOGICAL_BLOCK = 3
1871 TAPE_SPACE_END_OF_DATA = 4
1872 TAPE_SPACE_RELATIVE_BLOCKS = 5
1873 TAPE_SPACE_FILEMARKS = 6
1874 TAPE_SPACE_SEQUENTIAL_FMKS = 7
1875 TAPE_SPACE_SETMARKS = 8
1876 TAPE_SPACE_SEQUENTIAL_SMKS = 9
1877 TAPE_DRIVE_FIXED = 1
1878 TAPE_DRIVE_SELECT = 2
1879 TAPE_DRIVE_INITIATOR = 4
1880 TAPE_DRIVE_ERASE_SHORT = 16
1881 TAPE_DRIVE_ERASE_LONG = 32
1882 TAPE_DRIVE_ERASE_BOP_ONLY = 64
1883 TAPE_DRIVE_ERASE_IMMEDIATE = 128
1884 TAPE_DRIVE_TAPE_CAPACITY = 256
1885 TAPE_DRIVE_TAPE_REMAINING = 512
1886 TAPE_DRIVE_FIXED_BLOCK = 1024
1887 TAPE_DRIVE_VARIABLE_BLOCK = 2048
1888 TAPE_DRIVE_WRITE_PROTECT = 4096
1889 TAPE_DRIVE_EOT_WZ_SIZE = 8192
1890 TAPE_DRIVE_ECC = 65536
1891 TAPE_DRIVE_COMPRESSION = 131072
1892 TAPE_DRIVE_PADDING = 262144
1893 TAPE_DRIVE_REPORT_SMKS = 524288
1894 TAPE_DRIVE_GET_ABSOLUTE_BLK = 1048576
1895 TAPE_DRIVE_GET_LOGICAL_BLK = 2097152
1896 TAPE_DRIVE_SET_EOT_WZ_SIZE = 4194304
1897 TAPE_DRIVE_LOAD_UNLOAD = -2147483647
1898 TAPE_DRIVE_TENSION = -2147483646
1899 TAPE_DRIVE_LOCK_UNLOCK = -2147483644
1900 TAPE_DRIVE_REWIND_IMMEDIATE = -2147483640
1901 TAPE_DRIVE_SET_BLOCK_SIZE = -2147483632
1902 TAPE_DRIVE_LOAD_UNLD_IMMED = -2147483616
1903 TAPE_DRIVE_TENSION_IMMED = -2147483584
1904 TAPE_DRIVE_LOCK_UNLK_IMMED = -2147483520
1905 TAPE_DRIVE_SET_ECC = -2147483392
1906 TAPE_DRIVE_SET_COMPRESSION = -2147483136
1907 TAPE_DRIVE_SET_PADDING = -2147482624
1908 TAPE_DRIVE_SET_REPORT_SMKS = -2147481600
1909 TAPE_DRIVE_ABSOLUTE_BLK = -2147479552
1910 TAPE_DRIVE_ABS_BLK_IMMED = -2147475456
1911 TAPE_DRIVE_LOGICAL_BLK = -2147467264
1912 TAPE_DRIVE_LOG_BLK_IMMED = -2147450880
1913 TAPE_DRIVE_END_OF_DATA = -2147418112
1914 TAPE_DRIVE_RELATIVE_BLKS = -2147352576
1915 TAPE_DRIVE_FILEMARKS = -2147221504
1916 TAPE_DRIVE_SEQUENTIAL_FMKS = -2146959360
1917 TAPE_DRIVE_SETMARKS = -2146435072
1918 TAPE_DRIVE_SEQUENTIAL_SMKS = -2145386496
1919 TAPE_DRIVE_REVERSE_POSITION = -2143289344
1920 TAPE_DRIVE_SPACE_IMMEDIATE = -2139095040
1921 TAPE_DRIVE_WRITE_SETMARKS = -2130706432
1922 TAPE_DRIVE_WRITE_FILEMARKS = -2113929216
1923 TAPE_DRIVE_WRITE_SHORT_FMKS = -2080374784
1924 TAPE_DRIVE_WRITE_LONG_FMKS = -2013265920
1925 TAPE_DRIVE_WRITE_MARK_IMMED = -1879048192
1926 TAPE_DRIVE_FORMAT = -1610612736
1927 TAPE_DRIVE_FORMAT_IMMEDIATE = -1073741824
1928 TAPE_FIXED_PARTITIONS = 0
1929 TAPE_SELECT_PARTITIONS = 1
1930 TAPE_INITIATOR_PARTITIONS = 2
1931 # Generated by h2py from \msvc20\include\winnt.h
1932 # hacked and split by mhammond.
1933 
1934 APPLICATION_ERROR_MASK = 536870912
1935 ERROR_SEVERITY_SUCCESS = 0
1936 ERROR_SEVERITY_INFORMATIONAL = 1073741824
1937 ERROR_SEVERITY_WARNING = -2147483648
1938 ERROR_SEVERITY_ERROR = -1073741824
1939 MINCHAR = 128
1940 MAXCHAR = 127
1941 MINSHORT = 32768
1942 MAXSHORT = 32767
1943 MINLONG = -2147483648
1944 MAXLONG = 2147483647
1945 MAXBYTE = 255
1946 MAXWORD = 65535
1947 MAXDWORD = -1
1948 LANG_NEUTRAL = 0
1949 LANG_BULGARIAN = 2
1950 LANG_CHINESE = 4
1951 LANG_CROATIAN = 26
1952 LANG_CZECH = 5
1953 LANG_DANISH = 6
1954 LANG_DUTCH = 19
1955 LANG_ENGLISH = 9
1956 LANG_FINNISH = 11
1957 LANG_FRENCH = 12
1958 LANG_GERMAN = 7
1959 LANG_GREEK = 8
1960 LANG_HUNGARIAN = 14
1961 LANG_ICELANDIC = 15
1962 LANG_ITALIAN = 16
1963 LANG_JAPANESE = 17
1964 LANG_KOREAN = 18
1965 LANG_NORWEGIAN = 20
1966 LANG_POLISH = 21
1967 LANG_PORTUGUESE = 22
1968 LANG_ROMANIAN = 24
1969 LANG_RUSSIAN = 25
1970 LANG_SLOVAK = 27
1971 LANG_SLOVENIAN = 36
1972 LANG_SPANISH = 10
1973 LANG_SWEDISH = 29
1974 LANG_TURKISH = 31
1975 SUBLANG_NEUTRAL = 0
1976 SUBLANG_DEFAULT = 1
1977 SUBLANG_SYS_DEFAULT = 2
1978 SUBLANG_CHINESE_TRADITIONAL = 1
1979 SUBLANG_CHINESE_SIMPLIFIED = 2
1980 SUBLANG_CHINESE_HONGKONG = 3
1981 SUBLANG_CHINESE_SINGAPORE = 4
1982 SUBLANG_DUTCH = 1
1983 SUBLANG_DUTCH_BELGIAN = 2
1984 SUBLANG_ENGLISH_US = 1
1985 SUBLANG_ENGLISH_UK = 2
1986 SUBLANG_ENGLISH_AUS = 3
1987 SUBLANG_ENGLISH_CAN = 4
1988 SUBLANG_ENGLISH_NZ = 5
1989 SUBLANG_ENGLISH_EIRE = 6
1990 SUBLANG_FRENCH = 1
1991 SUBLANG_FRENCH_BELGIAN = 2
1992 SUBLANG_FRENCH_CANADIAN = 3
1993 SUBLANG_FRENCH_SWISS = 4
1994 SUBLANG_GERMAN = 1
1995 SUBLANG_GERMAN_SWISS = 2
1996 SUBLANG_GERMAN_AUSTRIAN = 3
1997 SUBLANG_ITALIAN = 1
1998 SUBLANG_ITALIAN_SWISS = 2
1999 SUBLANG_NORWEGIAN_BOKMAL = 1
2000 SUBLANG_NORWEGIAN_NYNORSK = 2
2001 SUBLANG_PORTUGUESE = 2
2002 SUBLANG_PORTUGUESE_BRAZILIAN = 1
2003 SUBLANG_SPANISH = 1
2004 SUBLANG_SPANISH_MEXICAN = 2
2005 SUBLANG_SPANISH_MODERN = 3
2006 SORT_DEFAULT = 0
2007 SORT_JAPANESE_XJIS = 0
2008 SORT_JAPANESE_UNICODE = 1
2009 SORT_CHINESE_BIG5 = 0
2010 SORT_CHINESE_UNICODE = 1
2011 SORT_KOREAN_KSC = 0
2012 SORT_KOREAN_UNICODE = 1
2013 def PRIMARYLANGID(lgid): return ((lgid) & 1023)
2014 
2015 def SUBLANGID(lgid): return ((lgid) >> 10)
2016 
2017 NLS_VALID_LOCALE_MASK = 1048575
2018 CONTEXT_PORTABLE_32BIT = 1048576
2019 CONTEXT_ALPHA = 131072
2020 CONTEXT_CONTROL = (CONTEXT_ALPHA | 1)
2021 CONTEXT_FLOATING_POINT = (CONTEXT_ALPHA | 2)
2022 CONTEXT_INTEGER = (CONTEXT_ALPHA | 4)
2023 CONTEXT_FULL = (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER)
2024 SIZE_OF_80387_REGISTERS = 80
2025 CONTEXT_FULL = (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER)
2026 CONTEXT_CONTROL = 1
2027 CONTEXT_FLOATING_POINT = 2
2028 CONTEXT_INTEGER = 4
2029 CONTEXT_FULL = (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER)
2030 PROCESS_TERMINATE = (1)
2031 PROCESS_CREATE_THREAD = (2)
2032 PROCESS_VM_OPERATION = (8)
2033 PROCESS_VM_READ = (16)
2034 PROCESS_VM_WRITE = (32)
2035 PROCESS_DUP_HANDLE = (64)
2036 PROCESS_CREATE_PROCESS = (128)
2037 PROCESS_SET_QUOTA = (256)
2038 PROCESS_SET_INFORMATION = (512)
2039 PROCESS_QUERY_INFORMATION = (1024)
2040 PROCESS_ALL_ACCESS = (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 4095)
2041 THREAD_TERMINATE = (1)
2042 THREAD_SUSPEND_RESUME = (2)
2043 THREAD_GET_CONTEXT = (8)
2044 THREAD_SET_CONTEXT = (16)
2045 THREAD_SET_INFORMATION = (32)
2046 THREAD_QUERY_INFORMATION = (64)
2047 THREAD_SET_THREAD_TOKEN = (128)
2048 THREAD_IMPERSONATE = (256)
2049 THREAD_DIRECT_IMPERSONATION = (512)
2050 TLS_MINIMUM_AVAILABLE = 64
2051 EVENT_MODIFY_STATE = 2
2052 MUTANT_QUERY_STATE = 1
2053 SEMAPHORE_MODIFY_STATE = 2
2054 TIME_ZONE_ID_UNKNOWN = 0
2055 TIME_ZONE_ID_STANDARD = 1
2056 TIME_ZONE_ID_DAYLIGHT = 2
2057 PROCESSOR_INTEL_386 = 386
2058 PROCESSOR_INTEL_486 = 486
2059 PROCESSOR_INTEL_PENTIUM = 586
2060 PROCESSOR_INTEL_860 = 860
2061 PROCESSOR_MIPS_R2000 = 2000
2062 PROCESSOR_MIPS_R3000 = 3000
2063 PROCESSOR_MIPS_R4000 = 4000
2064 PROCESSOR_ALPHA_21064 = 21064
2065 PROCESSOR_PPC_601 = 601
2066 PROCESSOR_PPC_603 = 603
2067 PROCESSOR_PPC_604 = 604
2068 PROCESSOR_PPC_620 = 620
2069 SECTION_QUERY = 1
2070 SECTION_MAP_WRITE = 2
2071 SECTION_MAP_READ = 4
2072 SECTION_MAP_EXECUTE = 8
2073 SECTION_EXTEND_SIZE = 16
2074 PAGE_NOACCESS = 1
2075 PAGE_READONLY = 2
2076 PAGE_READWRITE = 4
2077 PAGE_WRITECOPY = 8
2078 PAGE_EXECUTE = 16
2079 PAGE_EXECUTE_READ = 32
2080 PAGE_EXECUTE_READWRITE = 64
2081 PAGE_EXECUTE_WRITECOPY = 128
2082 PAGE_GUARD = 256
2083 PAGE_NOCACHE = 512
2084 MEM_COMMIT = 4096
2085 MEM_RESERVE = 8192
2086 MEM_DECOMMIT = 16384
2087 MEM_RELEASE = 32768
2088 MEM_FREE = 65536
2089 MEM_PRIVATE = 131072
2090 MEM_MAPPED = 262144
2091 MEM_TOP_DOWN = 1048576
2092 
2093 # Generated by h2py from \msvc20\include\winnt.h
2094 # hacked and split by mhammond.
2095 SEC_FILE = 8388608
2096 SEC_IMAGE = 16777216
2097 SEC_RESERVE = 67108864
2098 SEC_COMMIT = 134217728
2099 SEC_NOCACHE = 268435456
2100 MEM_IMAGE = SEC_IMAGE
2101 FILE_SHARE_READ = 1
2102 FILE_SHARE_WRITE = 2
2103 FILE_ATTRIBUTE_READONLY = 1
2104 FILE_ATTRIBUTE_HIDDEN = 2
2105 FILE_ATTRIBUTE_SYSTEM = 4
2106 FILE_ATTRIBUTE_DIRECTORY = 16
2107 FILE_ATTRIBUTE_ARCHIVE = 32
2108 FILE_ATTRIBUTE_NORMAL = 128
2109 FILE_ATTRIBUTE_TEMPORARY = 256
2110 FILE_ATTRIBUTE_ATOMIC_WRITE = 512
2111 FILE_ATTRIBUTE_XACTION_WRITE = 1024
2112 FILE_ATTRIBUTE_COMPRESSED = 2048
2113 FILE_NOTIFY_CHANGE_FILE_NAME = 1
2114 FILE_NOTIFY_CHANGE_DIR_NAME = 2
2115 FILE_NOTIFY_CHANGE_ATTRIBUTES = 4
2116 FILE_NOTIFY_CHANGE_SIZE = 8
2117 FILE_NOTIFY_CHANGE_LAST_WRITE = 16
2118 FILE_NOTIFY_CHANGE_SECURITY = 256
2119 FILE_CASE_SENSITIVE_SEARCH = 1
2120 FILE_CASE_PRESERVED_NAMES = 2
2121 FILE_UNICODE_ON_DISK = 4
2122 FILE_PERSISTENT_ACLS = 8
2123 FILE_FILE_COMPRESSION = 16
2124 FILE_VOLUME_IS_COMPRESSED = 32768
2125 IO_COMPLETION_MODIFY_STATE = 2
2126 DUPLICATE_CLOSE_SOURCE = 1
2127 DUPLICATE_SAME_ACCESS = 2
2128 SID_MAX_SUB_AUTHORITIES = (15)
2129 SECURITY_NULL_RID = (0)
2130 SECURITY_WORLD_RID = (0)
2131 SECURITY_LOCAL_RID = (0X00000000)
2132 SECURITY_CREATOR_OWNER_RID = (0)
2133 SECURITY_CREATOR_GROUP_RID = (1)
2134 SECURITY_DIALUP_RID = (1)
2135 SECURITY_NETWORK_RID = (2)
2136 SECURITY_BATCH_RID = (3)
2137 SECURITY_INTERACTIVE_RID = (4)
2138 SECURITY_SERVICE_RID = (6)
2139 SECURITY_ANONYMOUS_LOGON_RID = (7)
2140 SECURITY_LOGON_IDS_RID = (5)
2141 SECURITY_LOGON_IDS_RID_COUNT = (3)
2142 SECURITY_LOCAL_SYSTEM_RID = (18)
2143 SECURITY_NT_NON_UNIQUE = (21)
2144 SECURITY_BUILTIN_DOMAIN_RID = (32)
2145 DOMAIN_USER_RID_ADMIN = (500)
2146 DOMAIN_USER_RID_GUEST = (501)
2147 DOMAIN_GROUP_RID_ADMINS = (512)
2148 DOMAIN_GROUP_RID_USERS = (513)
2149 DOMAIN_GROUP_RID_GUESTS = (514)
2150 DOMAIN_ALIAS_RID_ADMINS = (544)
2151 DOMAIN_ALIAS_RID_USERS = (545)
2152 DOMAIN_ALIAS_RID_GUESTS = (546)
2153 DOMAIN_ALIAS_RID_POWER_USERS = (547)
2154 DOMAIN_ALIAS_RID_ACCOUNT_OPS = (548)
2155 DOMAIN_ALIAS_RID_SYSTEM_OPS = (549)
2156 DOMAIN_ALIAS_RID_PRINT_OPS = (550)
2157 DOMAIN_ALIAS_RID_BACKUP_OPS = (551)
2158 DOMAIN_ALIAS_RID_REPLICATOR = (552)
2159 SE_GROUP_MANDATORY = (1)
2160 SE_GROUP_ENABLED_BY_DEFAULT = (2)
2161 SE_GROUP_ENABLED = (4)
2162 SE_GROUP_OWNER = (8)
2163 SE_GROUP_LOGON_ID = (-1073741824)
2164 ACL_REVISION = (2)
2165 ACL_REVISION1 = (1)
2166 ACL_REVISION2 = (2)
2167 ACCESS_ALLOWED_ACE_TYPE = (0)
2168 ACCESS_DENIED_ACE_TYPE = (1)
2169 SYSTEM_AUDIT_ACE_TYPE = (2)
2170 SYSTEM_ALARM_ACE_TYPE = (3)
2171 OBJECT_INHERIT_ACE = (1)
2172 CONTAINER_INHERIT_ACE = (2)
2173 NO_PROPAGATE_INHERIT_ACE = (4)
2174 INHERIT_ONLY_ACE = (8)
2175 VALID_INHERIT_FLAGS = (15)
2176 SUCCESSFUL_ACCESS_ACE_FLAG = (64)
2177 FAILED_ACCESS_ACE_FLAG = (128)
2178 SECURITY_DESCRIPTOR_REVISION = (1)
2179 SECURITY_DESCRIPTOR_REVISION1 = (1)
2180 SECURITY_DESCRIPTOR_MIN_LENGTH = (20)
2181 SE_OWNER_DEFAULTED = (1)
2182 SE_GROUP_DEFAULTED = (2)
2183 SE_DACL_PRESENT = (4)
2184 SE_DACL_DEFAULTED = (8)
2185 SE_SACL_PRESENT = (16)
2186 SE_SACL_DEFAULTED = (32)
2187 SE_SELF_RELATIVE = (32768)
2188 SE_PRIVILEGE_ENABLED_BY_DEFAULT = (1)
2189 SE_PRIVILEGE_ENABLED = (2)
2190 SE_PRIVILEGE_USED_FOR_ACCESS = (-2147483648)
2191 PRIVILEGE_SET_ALL_NECESSARY = (1)
2192 SE_CREATE_TOKEN_NAME = "SeCreateTokenPrivilege"
2193 SE_ASSIGNPRIMARYTOKEN_NAME = "SeAssignPrimaryTokenPrivilege"
2194 SE_LOCK_MEMORY_NAME = "SeLockMemoryPrivilege"
2195 SE_INCREASE_QUOTA_NAME = "SeIncreaseQuotaPrivilege"
2196 SE_UNSOLICITED_INPUT_NAME = "SeUnsolicitedInputPrivilege"
2197 SE_MACHINE_ACCOUNT_NAME = "SeMachineAccountPrivilege"
2198 SE_TCB_NAME = "SeTcbPrivilege"
2199 SE_SECURITY_NAME = "SeSecurityPrivilege"
2200 SE_TAKE_OWNERSHIP_NAME = "SeTakeOwnershipPrivilege"
2201 SE_LOAD_DRIVER_NAME = "SeLoadDriverPrivilege"
2202 SE_SYSTEM_PROFILE_NAME = "SeSystemProfilePrivilege"
2203 SE_SYSTEMTIME_NAME = "SeSystemtimePrivilege"
2204 SE_PROF_SINGLE_PROCESS_NAME = "SeProfileSingleProcessPrivilege"
2205 SE_INC_BASE_PRIORITY_NAME = "SeIncreaseBasePriorityPrivilege"
2206 SE_CREATE_PAGEFILE_NAME = "SeCreatePagefilePrivilege"
2207 SE_CREATE_PERMANENT_NAME = "SeCreatePermanentPrivilege"
2208 SE_BACKUP_NAME = "SeBackupPrivilege"
2209 SE_RESTORE_NAME = "SeRestorePrivilege"
2210 SE_SHUTDOWN_NAME = "SeShutdownPrivilege"
2211 SE_DEBUG_NAME = "SeDebugPrivilege"
2212 SE_AUDIT_NAME = "SeAuditPrivilege"
2213 SE_SYSTEM_ENVIRONMENT_NAME = "SeSystemEnvironmentPrivilege"
2214 SE_CHANGE_NOTIFY_NAME = "SeChangeNotifyPrivilege"
2215 SE_REMOTE_SHUTDOWN_NAME = "SeRemoteShutdownPrivilege"
2216 
2217 TOKEN_ASSIGN_PRIMARY = (1)
2218 TOKEN_DUPLICATE = (2)
2219 TOKEN_IMPERSONATE = (4)
2220 TOKEN_QUERY = (8)
2221 TOKEN_QUERY_SOURCE = (16)
2222 TOKEN_ADJUST_PRIVILEGES = (32)
2223 TOKEN_ADJUST_GROUPS = (64)
2224 TOKEN_ADJUST_DEFAULT = (128)
2225 TOKEN_ALL_ACCESS = (STANDARD_RIGHTS_REQUIRED  |\
2226                           TOKEN_ASSIGN_PRIMARY      |\
2227                           TOKEN_DUPLICATE           |\
2228                           TOKEN_IMPERSONATE         |\
2229                           TOKEN_QUERY               |\
2230                           TOKEN_QUERY_SOURCE        |\
2231                           TOKEN_ADJUST_PRIVILEGES   |\
2232                           TOKEN_ADJUST_GROUPS       |\
2233                           TOKEN_ADJUST_DEFAULT)
2234 TOKEN_READ = (STANDARD_RIGHTS_READ      |\
2235                           TOKEN_QUERY)
2236 TOKEN_WRITE = (STANDARD_RIGHTS_WRITE     |\
2237                           TOKEN_ADJUST_PRIVILEGES   |\
2238                           TOKEN_ADJUST_GROUPS       |\
2239                           TOKEN_ADJUST_DEFAULT)
2240 TOKEN_EXECUTE = (STANDARD_RIGHTS_EXECUTE)
2241 TOKEN_SOURCE_LENGTH = 8
2242 
2243 KEY_QUERY_VALUE = (1)
2244 KEY_SET_VALUE = (2)
2245 KEY_CREATE_SUB_KEY = (4)
2246 KEY_ENUMERATE_SUB_KEYS = (8)
2247 KEY_NOTIFY = (16)
2248 KEY_CREATE_LINK = (32)
2249 KEY_READ = ((STANDARD_RIGHTS_READ       |\
2250                                   KEY_QUERY_VALUE            |\
2251                                   KEY_ENUMERATE_SUB_KEYS     |\
2252                                   KEY_NOTIFY)                 \
2253                                   &                           \
2254                                  (~SYNCHRONIZE))
2255 KEY_WRITE = ((STANDARD_RIGHTS_WRITE      |\
2256                                   KEY_SET_VALUE              |\
2257                                   KEY_CREATE_SUB_KEY)         \
2258                                   &                           \
2259                                  (~SYNCHRONIZE))
2260 KEY_EXECUTE = ((KEY_READ)                   \
2261                                   &                           \
2262                                  (~SYNCHRONIZE))
2263 KEY_ALL_ACCESS = ((STANDARD_RIGHTS_ALL        |\
2264                                   KEY_QUERY_VALUE            |\
2265                                   KEY_SET_VALUE              |\
2266                                   KEY_CREATE_SUB_KEY         |\
2267                                   KEY_ENUMERATE_SUB_KEYS     |\
2268                                   KEY_NOTIFY                 |\
2269                                   KEY_CREATE_LINK)            \
2270                                   &                           \
2271                                  (~SYNCHRONIZE))
2272 REG_NOTIFY_CHANGE_ATTRIBUTES = (2)
2273 REG_NOTIFY_CHANGE_SECURITY = (8)
2274 REG_RESOURCE_REQUIREMENTS_LIST = ( 10 )
2275 REG_NONE =                   ( 0 )   # No value type
2276 REG_SZ =                     ( 1 )   # Unicode nul terminated string
2277 REG_EXPAND_SZ =              ( 2 )   # Unicode nul terminated string
2278                                      # (with environment variable references)
2279 REG_BINARY =                 ( 3 )   # Free form binary
2280 REG_DWORD =                  ( 4 )   # 32-bit number
2281 REG_DWORD_LITTLE_ENDIAN =    ( 4 )   # 32-bit number (same as REG_DWORD)
2282 REG_DWORD_BIG_ENDIAN =       ( 5 )   # 32-bit number
2283 REG_LINK =                   ( 6 )   # Symbolic Link (unicode)
2284 REG_MULTI_SZ =               ( 7 )   # Multiple Unicode strings
2285 REG_RESOURCE_LIST =          ( 8 )   # Resource list in the resource map
2286 REG_FULL_RESOURCE_DESCRIPTOR =( 9 )  # Resource list in the hardware description
2287 
2288 # Generated by h2py from \msvc20\include\winnt.h
2289 # hacked and split by mhammond.
2290 # Included from string.h
2291 _NLSCMPERROR = 2147483647
2292 NULL = 0
2293 HEAP_NO_SERIALIZE = 1
2294 HEAP_GROWABLE = 2
2295 HEAP_GENERATE_EXCEPTIONS = 4
2296 HEAP_ZERO_MEMORY = 8
2297 HEAP_REALLOC_IN_PLACE_ONLY = 16
2298 HEAP_TAIL_CHECKING_ENABLED = 32
2299 HEAP_FREE_CHECKING_ENABLED = 64
2300 HEAP_DISABLE_COALESCE_ON_FREE = 128
2301 IS_TEXT_UNICODE_ASCII16 = 1
2302 IS_TEXT_UNICODE_REVERSE_ASCII16 = 16
2303 IS_TEXT_UNICODE_STATISTICS = 2
2304 IS_TEXT_UNICODE_REVERSE_STATISTICS = 32
2305 IS_TEXT_UNICODE_CONTROLS = 4
2306 IS_TEXT_UNICODE_REVERSE_CONTROLS = 64
2307 IS_TEXT_UNICODE_SIGNATURE = 8
2308 IS_TEXT_UNICODE_REVERSE_SIGNATURE = 128
2309 IS_TEXT_UNICODE_ILLEGAL_CHARS = 256
2310 IS_TEXT_UNICODE_ODD_LENGTH = 512
2311 IS_TEXT_UNICODE_DBCS_LEADBYTE = 1024
2312 IS_TEXT_UNICODE_NULL_BYTES = 4096
2313 IS_TEXT_UNICODE_UNICODE_MASK = 15
2314 IS_TEXT_UNICODE_REVERSE_MASK = 240
2315 IS_TEXT_UNICODE_NOT_UNICODE_MASK = 3840
2316 IS_TEXT_UNICODE_NOT_ASCII_MASK = 61440
2317 COMPRESSION_FORMAT_NONE = (0)
2318 COMPRESSION_FORMAT_DEFAULT = (1)
2319 COMPRESSION_FORMAT_LZNT1 = (2)
2320 COMPRESSION_ENGINE_STANDARD = (0)
2321 COMPRESSION_ENGINE_MAXIMUM = (256)
2322 MESSAGE_RESOURCE_UNICODE = 1
2323 RTL_CRITSECT_TYPE = 0
2324 RTL_RESOURCE_TYPE = 1
2325 DLL_PROCESS_ATTACH = 1
2326 DLL_THREAD_ATTACH = 2
2327 DLL_THREAD_DETACH = 3
2328 DLL_PROCESS_DETACH = 0
2329 EVENTLOG_SEQUENTIAL_READ = 0X0001
2330 EVENTLOG_SEEK_READ = 0X0002
2331 EVENTLOG_FORWARDS_READ = 0X0004
2332 EVENTLOG_BACKWARDS_READ = 0X0008
2333 EVENTLOG_SUCCESS = 0X0000
2334 EVENTLOG_ERROR_TYPE = 1
2335 EVENTLOG_WARNING_TYPE = 2
2336 EVENTLOG_INFORMATION_TYPE = 4
2337 EVENTLOG_AUDIT_SUCCESS = 8
2338 EVENTLOG_AUDIT_FAILURE = 16
2339 EVENTLOG_START_PAIRED_EVENT = 1
2340 EVENTLOG_END_PAIRED_EVENT = 2
2341 EVENTLOG_END_ALL_PAIRED_EVENTS = 4
2342 EVENTLOG_PAIRED_EVENT_ACTIVE = 8
2343 EVENTLOG_PAIRED_EVENT_INACTIVE = 16
2344 # Generated by h2py from \msvc20\include\winnt.h
2345 # hacked and split by mhammond.
2346 OWNER_SECURITY_INFORMATION = (0X00000001)
2347 GROUP_SECURITY_INFORMATION = (0X00000002)
2348 DACL_SECURITY_INFORMATION = (0X00000004)
2349 SACL_SECURITY_INFORMATION = (0X00000008)
2350 IMAGE_SIZEOF_FILE_HEADER = 20
2351 IMAGE_FILE_MACHINE_UNKNOWN = 0
2352 IMAGE_NUMBEROF_DIRECTORY_ENTRIES = 16
2353 IMAGE_SIZEOF_ROM_OPTIONAL_HEADER = 56
2354 IMAGE_SIZEOF_STD_OPTIONAL_HEADER = 28
2355 IMAGE_SIZEOF_NT_OPTIONAL_HEADER = 224
2356 IMAGE_NT_OPTIONAL_HDR_MAGIC = 267
2357 IMAGE_ROM_OPTIONAL_HDR_MAGIC = 263
2358 IMAGE_SIZEOF_SHORT_NAME = 8
2359 IMAGE_SIZEOF_SECTION_HEADER = 40
2360 IMAGE_SIZEOF_SYMBOL = 18
2361 IMAGE_SYM_CLASS_NULL = 0
2362 IMAGE_SYM_CLASS_AUTOMATIC = 1
2363 IMAGE_SYM_CLASS_EXTERNAL = 2
2364 IMAGE_SYM_CLASS_STATIC = 3
2365 IMAGE_SYM_CLASS_REGISTER = 4
2366 IMAGE_SYM_CLASS_EXTERNAL_DEF = 5
2367 IMAGE_SYM_CLASS_LABEL = 6
2368 IMAGE_SYM_CLASS_UNDEFINED_LABEL = 7
2369 IMAGE_SYM_CLASS_MEMBER_OF_STRUCT = 8
2370 IMAGE_SYM_CLASS_ARGUMENT = 9
2371 IMAGE_SYM_CLASS_STRUCT_TAG = 10
2372 IMAGE_SYM_CLASS_MEMBER_OF_UNION = 11
2373 IMAGE_SYM_CLASS_UNION_TAG = 12
2374 IMAGE_SYM_CLASS_TYPE_DEFINITION = 13
2375 IMAGE_SYM_CLASS_UNDEFINED_STATIC = 14
2376 IMAGE_SYM_CLASS_ENUM_TAG = 15
2377 IMAGE_SYM_CLASS_MEMBER_OF_ENUM = 16
2378 IMAGE_SYM_CLASS_REGISTER_PARAM = 17
2379 IMAGE_SYM_CLASS_BIT_FIELD = 18
2380 IMAGE_SYM_CLASS_BLOCK = 100
2381 IMAGE_SYM_CLASS_FUNCTION = 101
2382 IMAGE_SYM_CLASS_END_OF_STRUCT = 102
2383 IMAGE_SYM_CLASS_FILE = 103
2384 IMAGE_SYM_CLASS_SECTION = 104
2385 IMAGE_SYM_CLASS_WEAK_EXTERNAL = 105
2386 N_BTMASK = 017
2387 N_TMASK = 060
2388 N_TMASK1 = 0300
2389 N_TMASK2 = 0360
2390 N_BTSHFT = 4
2391 N_TSHIFT = 2
2392 IMAGE_SIZEOF_AUX_SYMBOL = 18
2393 IMAGE_COMDAT_SELECT_NODUPLICATES = 1
2394 IMAGE_COMDAT_SELECT_ANY = 2
2395 IMAGE_COMDAT_SELECT_SAME_SIZE = 3
2396 IMAGE_COMDAT_SELECT_EXACT_MATCH = 4
2397 IMAGE_COMDAT_SELECT_ASSOCIATIVE = 5
2398 IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY = 1
2399 IMAGE_WEAK_EXTERN_SEARCH_LIBRARY = 2
2400 IMAGE_WEAK_EXTERN_SEARCH_ALIAS = 3
2401 IMAGE_SIZEOF_RELOCATION = 10
2402 IMAGE_REL_I386_SECTION = 012
2403 IMAGE_REL_I386_SECREL = 013
2404 IMAGE_REL_MIPS_REFHALF = 01
2405 IMAGE_REL_MIPS_REFWORD = 02
2406 IMAGE_REL_MIPS_JMPADDR = 03
2407 IMAGE_REL_MIPS_REFHI = 04
2408 IMAGE_REL_MIPS_REFLO = 05
2409 IMAGE_REL_MIPS_GPREL = 06
2410 IMAGE_REL_MIPS_LITERAL = 07
2411 IMAGE_REL_MIPS_SECTION = 012
2412 IMAGE_REL_MIPS_SECREL = 013
2413 IMAGE_REL_MIPS_REFWORDNB = 042
2414 IMAGE_REL_MIPS_PAIR = 045
2415 IMAGE_REL_ALPHA_ABSOLUTE = 0
2416 IMAGE_REL_ALPHA_REFLONG = 1
2417 IMAGE_REL_ALPHA_REFQUAD = 2
2418 IMAGE_REL_ALPHA_GPREL32 = 3
2419 IMAGE_REL_ALPHA_LITERAL = 4
2420 IMAGE_REL_ALPHA_LITUSE = 5
2421 IMAGE_REL_ALPHA_GPDISP = 6
2422 IMAGE_REL_ALPHA_BRADDR = 7
2423 IMAGE_REL_ALPHA_HINT = 8
2424 IMAGE_REL_ALPHA_INLINE_REFLONG = 9
2425 IMAGE_REL_ALPHA_REFHI = 10
2426 IMAGE_REL_ALPHA_REFLO = 11
2427 IMAGE_REL_ALPHA_PAIR = 12
2428 IMAGE_REL_ALPHA_MATCH = 13
2429 IMAGE_REL_ALPHA_SECTION = 14
2430 IMAGE_REL_ALPHA_SECREL = 15
2431 IMAGE_REL_ALPHA_REFLONGNB = 16
2432 IMAGE_SIZEOF_BASE_RELOCATION = 8
2433 IMAGE_REL_BASED_ABSOLUTE = 0
2434 IMAGE_REL_BASED_HIGH = 1
2435 IMAGE_REL_BASED_LOW = 2
2436 IMAGE_REL_BASED_HIGHLOW = 3
2437 IMAGE_REL_BASED_HIGHADJ = 4
2438 IMAGE_REL_BASED_MIPS_JMPADDR = 5
2439 IMAGE_SIZEOF_LINENUMBER = 6
2440 IMAGE_ARCHIVE_START_SIZE = 8
2441 IMAGE_ARCHIVE_START = "!<arch>\n"
2442 IMAGE_ARCHIVE_END = "`\n"
2443 IMAGE_ARCHIVE_PAD = "\n"
2444 IMAGE_ARCHIVE_LINKER_MEMBER = "/               "
2445 IMAGE_ARCHIVE_LONGNAMES_MEMBER = "//              "
2446 IMAGE_SIZEOF_ARCHIVE_MEMBER_HDR = 60
2447 IMAGE_ORDINAL_FLAG = -2147483648
2448 def IMAGE_SNAP_BY_ORDINAL(Ordinal): return ((Ordinal & IMAGE_ORDINAL_FLAG) != 0)
2449 
2450 def IMAGE_ORDINAL(Ordinal): return (Ordinal & 65535)
2451 
2452 IMAGE_RESOURCE_NAME_IS_STRING = -2147483648
2453 IMAGE_RESOURCE_DATA_IS_DIRECTORY = -2147483648
2454 IMAGE_DEBUG_TYPE_UNKNOWN = 0
2455 IMAGE_DEBUG_TYPE_COFF = 1
2456 IMAGE_DEBUG_TYPE_CODEVIEW = 2
2457 IMAGE_DEBUG_TYPE_FPO = 3
2458 IMAGE_DEBUG_TYPE_MISC = 4
2459 IMAGE_DEBUG_TYPE_EXCEPTION = 5
2460 IMAGE_DEBUG_TYPE_FIXUP = 6
2461 IMAGE_DEBUG_TYPE_OMAP_TO_SRC = 7
2462 IMAGE_DEBUG_TYPE_OMAP_FROM_SRC = 8
2463 FRAME_FPO = 0
2464 FRAME_TRAP = 1
2465 FRAME_TSS = 2
2466 SIZEOF_RFPO_DATA = 16
2467 IMAGE_DEBUG_MISC_EXENAME = 1
2468 IMAGE_SEPARATE_DEBUG_SIGNATURE = 18756
2469 # Generated by h2py from \msvcnt\include\wingdi.h
2470 # hacked and split manually by mhammond.
2471 NEWFRAME = 1
2472 ABORTDOC = 2
2473 NEXTBAND = 3
2474 SETCOLORTABLE = 4
2475 GETCOLORTABLE = 5
2476 FLUSHOUTPUT = 6
2477 DRAFTMODE = 7
2478 QUERYESCSUPPORT = 8
2479 SETABORTPROC = 9
2480 STARTDOC = 10
2481 ENDDOC = 11
2482 GETPHYSPAGESIZE = 12
2483 GETPRINTINGOFFSET = 13
2484 GETSCALINGFACTOR = 14
2485 MFCOMMENT = 15
2486 GETPENWIDTH = 16
2487 SETCOPYCOUNT = 17
2488 SELECTPAPERSOURCE = 18
2489 DEVICEDATA = 19
2490 PASSTHROUGH = 19
2491 GETTECHNOLGY = 20
2492 GETTECHNOLOGY = 20
2493 SETLINECAP = 21
2494 SETLINEJOIN = 22
2495 SETMITERLIMIT = 23
2496 BANDINFO = 24
2497 DRAWPATTERNRECT = 25
2498 GETVECTORPENSIZE = 26
2499 GETVECTORBRUSHSIZE = 27
2500 ENABLEDUPLEX = 28
2501 GETSETPAPERBINS = 29
2502 GETSETPRINTORIENT = 30
2503 ENUMPAPERBINS = 31
2504 SETDIBSCALING = 32
2505 EPSPRINTING = 33
2506 ENUMPAPERMETRICS = 34
2507 GETSETPAPERMETRICS = 35
2508 POSTSCRIPT_DATA = 37
2509 POSTSCRIPT_IGNORE = 38
2510 MOUSETRAILS = 39
2511 GETDEVICEUNITS = 42
2512 GETEXTENDEDTEXTMETRICS = 256
2513 GETEXTENTTABLE = 257
2514 GETPAIRKERNTABLE = 258
2515 GETTRACKKERNTABLE = 259
2516 EXTTEXTOUT = 512
2517 GETFACENAME = 513
2518 DOWNLOADFACE = 514
2519 ENABLERELATIVEWIDTHS = 768
2520 ENABLEPAIRKERNING = 769
2521 SETKERNTRACK = 770
2522 SETALLJUSTVALUES = 771
2523 SETCHARSET = 772
2524 STRETCHBLT = 2048
2525 GETSETSCREENPARAMS = 3072
2526 BEGIN_PATH = 4096
2527 CLIP_TO_PATH = 4097
2528 END_PATH = 4098
2529 EXT_DEVICE_CAPS = 4099
2530 RESTORE_CTM = 4100
2531 SAVE_CTM = 4101
2532 SET_ARC_DIRECTION = 4102
2533 SET_BACKGROUND_COLOR = 4103
2534 SET_POLY_MODE = 4104
2535 SET_SCREEN_ANGLE = 4105
2536 SET_SPREAD = 4106
2537 TRANSFORM_CTM = 4107
2538 SET_CLIP_BOX = 4108
2539 SET_BOUNDS = 4109
2540 SET_MIRROR_MODE = 4110
2541 OPENCHANNEL = 4110
2542 DOWNLOADHEADER = 4111
2543 CLOSECHANNEL = 4112
2544 POSTSCRIPT_PASSTHROUGH = 4115
2545 ENCAPSULATED_POSTSCRIPT = 4116
2546 SP_NOTREPORTED = 16384
2547 SP_ERROR = (-1)
2548 SP_APPABORT = (-2)
2549 SP_USERABORT = (-3)
2550 SP_OUTOFDISK = (-4)
2551 SP_OUTOFMEMORY = (-5)
2552 PR_JOBSTATUS = 0
2553 OBJ_PEN = 1
2554 OBJ_BRUSH = 2
2555 OBJ_DC = 3
2556 OBJ_METADC = 4
2557 OBJ_PAL = 5
2558 OBJ_FONT = 6
2559 OBJ_BITMAP = 7
2560 OBJ_REGION = 8
2561 OBJ_METAFILE = 9
2562 OBJ_MEMDC = 10
2563 OBJ_EXTPEN = 11
2564 OBJ_ENHMETADC = 12
2565 OBJ_ENHMETAFILE = 13
2566 MWT_IDENTITY = 1
2567 MWT_LEFTMULTIPLY = 2
2568 MWT_RIGHTMULTIPLY = 3
2569 MWT_MIN = MWT_IDENTITY
2570 MWT_MAX = MWT_RIGHTMULTIPLY
2571 BI_RGB = 0
2572 BI_RLE8 = 1
2573 BI_RLE4 = 2
2574 BI_BITFIELDS = 3
2575 TMPF_FIXED_PITCH = 1
2576 TMPF_VECTOR = 2
2577 TMPF_DEVICE = 8
2578 TMPF_TRUETYPE = 4
2579 NTM_REGULAR = 64
2580 NTM_BOLD = 32
2581 NTM_ITALIC = 1
2582 LF_FACESIZE = 32
2583 LF_FULLFACESIZE = 64
2584 OUT_DEFAULT_PRECIS = 0
2585 OUT_STRING_PRECIS = 1
2586 OUT_CHARACTER_PRECIS = 2
2587 OUT_STROKE_PRECIS = 3
2588 OUT_TT_PRECIS = 4
2589 OUT_DEVICE_PRECIS = 5
2590 OUT_RASTER_PRECIS = 6
2591 OUT_TT_ONLY_PRECIS = 7
2592 OUT_OUTLINE_PRECIS = 8
2593 CLIP_DEFAULT_PRECIS = 0
2594 CLIP_CHARACTER_PRECIS = 1
2595 CLIP_STROKE_PRECIS = 2
2596 CLIP_MASK = 15
2597 CLIP_LH_ANGLES = (1<<4)
2598 CLIP_TT_ALWAYS = (2<<4)
2599 CLIP_EMBEDDED = (8<<4)
2600 DEFAULT_QUALITY = 0
2601 DRAFT_QUALITY = 1
2602 PROOF_QUALITY = 2
2603 NONANTIALIASED_QUALITY = 3
2604 ANTIALIASED_QUALITY = 4
2605 CLEARTYPE_QUALITY = 5
2606 CLEARTYPE_NATURAL_QUALITY = 6
2607 DEFAULT_PITCH = 0
2608 FIXED_PITCH = 1
2609 VARIABLE_PITCH = 2
2610 ANSI_CHARSET = 0
2611 DEFAULT_CHARSET = 1
2612 SYMBOL_CHARSET = 2
2613 SHIFTJIS_CHARSET = 128
2614 HANGEUL_CHARSET = 129
2615 CHINESEBIG5_CHARSET = 136
2616 OEM_CHARSET = 255
2617 JOHAB_CHARSET = 130
2618 HEBREW_CHARSET = 177
2619 ARABIC_CHARSET = 178
2620 GREEK_CHARSET = 161
2621 TURKISH_CHARSET = 162
2622 VIETNAMESE_CHARSET = 163
2623 THAI_CHARSET = 222
2624 EASTEUROPE_CHARSET = 238
2625 RUSSIAN_CHARSET = 204
2626 MAC_CHARSET = 77
2627 BALTIC_CHARSET = 186
2628 FF_DONTCARE = (0<<4)
2629 FF_ROMAN = (1<<4)
2630 FF_SWISS = (2<<4)
2631 FF_MODERN = (3<<4)
2632 FF_SCRIPT = (4<<4)
2633 FF_DECORATIVE = (5<<4)
2634 FW_DONTCARE = 0
2635 FW_THIN = 100
2636 FW_EXTRALIGHT = 200
2637 FW_LIGHT = 300
2638 FW_NORMAL = 400
2639 FW_MEDIUM = 500
2640 FW_SEMIBOLD = 600
2641 FW_BOLD = 700
2642 FW_EXTRABOLD = 800
2643 FW_HEAVY = 900
2644 FW_ULTRALIGHT = FW_EXTRALIGHT
2645 FW_REGULAR = FW_NORMAL
2646 FW_DEMIBOLD = FW_SEMIBOLD
2647 FW_ULTRABOLD = FW_EXTRABOLD
2648 FW_BLACK = FW_HEAVY
2649 # Generated by h2py from \msvcnt\include\wingdi.h
2650 # hacked and split manually by mhammond.
2651 BS_SOLID = 0
2652 BS_NULL = 1
2653 BS_HOLLOW = BS_NULL
2654 BS_HATCHED = 2
2655 BS_PATTERN = 3
2656 BS_INDEXED = 4
2657 BS_DIBPATTERN = 5
2658 BS_DIBPATTERNPT = 6
2659 BS_PATTERN8X8 = 7
2660 BS_DIBPATTERN8X8 = 8
2661 HS_HORIZONTAL = 0
2662 HS_VERTICAL = 1
2663 HS_FDIAGONAL = 2
2664 HS_BDIAGONAL = 3
2665 HS_CROSS = 4
2666 HS_DIAGCROSS = 5
2667 HS_FDIAGONAL1 = 6
2668 HS_BDIAGONAL1 = 7
2669 HS_SOLID = 8
2670 HS_DENSE1 = 9
2671 HS_DENSE2 = 10
2672 HS_DENSE3 = 11
2673 HS_DENSE4 = 12
2674 HS_DENSE5 = 13
2675 HS_DENSE6 = 14
2676 HS_DENSE7 = 15
2677 HS_DENSE8 = 16
2678 HS_NOSHADE = 17
2679 HS_HALFTONE = 18
2680 HS_SOLIDCLR = 19
2681 HS_DITHEREDCLR = 20
2682 HS_SOLIDTEXTCLR = 21
2683 HS_DITHEREDTEXTCLR = 22
2684 HS_SOLIDBKCLR = 23
2685 HS_DITHEREDBKCLR = 24
2686 HS_API_MAX = 25
2687 PS_SOLID = 0
2688 PS_DASH = 1
2689 PS_DOT = 2
2690 PS_DASHDOT = 3
2691 PS_DASHDOTDOT = 4
2692 PS_NULL = 5
2693 PS_INSIDEFRAME = 6
2694 PS_USERSTYLE = 7
2695 PS_ALTERNATE = 8
2696 PS_STYLE_MASK = 15
2697 PS_ENDCAP_ROUND = 0
2698 PS_ENDCAP_SQUARE = 256
2699 PS_ENDCAP_FLAT = 512
2700 PS_ENDCAP_MASK = 3840
2701 PS_JOIN_ROUND = 0
2702 PS_JOIN_BEVEL = 4096
2703 PS_JOIN_MITER = 8192
2704 PS_JOIN_MASK = 61440
2705 PS_COSMETIC = 0
2706 PS_GEOMETRIC = 65536
2707 PS_TYPE_MASK = 983040
2708 AD_COUNTERCLOCKWISE = 1
2709 AD_CLOCKWISE = 2
2710 DRIVERVERSION = 0
2711 TECHNOLOGY = 2
2712 HORZSIZE = 4
2713 VERTSIZE = 6
2714 HORZRES = 8
2715 VERTRES = 10
2716 BITSPIXEL = 12
2717 PLANES = 14
2718 NUMBRUSHES = 16
2719 NUMPENS = 18
2720 NUMMARKERS = 20
2721 NUMFONTS = 22
2722 NUMCOLORS = 24
2723 PDEVICESIZE = 26
2724 CURVECAPS = 28
2725 LINECAPS = 30
2726 POLYGONALCAPS = 32
2727 TEXTCAPS = 34
2728 CLIPCAPS = 36
2729 RASTERCAPS = 38
2730 ASPECTX = 40
2731 ASPECTY = 42
2732 ASPECTXY = 44
2733 LOGPIXELSX = 88
2734 LOGPIXELSY = 90
2735 SIZEPALETTE = 104
2736 NUMRESERVED = 106
2737 COLORRES = 108
2738 DT_PLOTTER = 0
2739 DT_RASDISPLAY = 1
2740 DT_RASPRINTER = 2
2741 DT_RASCAMERA = 3
2742 DT_CHARSTREAM = 4
2743 DT_METAFILE = 5
2744 DT_DISPFILE = 6
2745 CC_NONE = 0
2746 CC_CIRCLES = 1
2747 CC_PIE = 2
2748 CC_CHORD = 4
2749 CC_ELLIPSES = 8
2750 CC_WIDE = 16
2751 CC_STYLED = 32
2752 CC_WIDESTYLED = 64
2753 CC_INTERIORS = 128
2754 CC_ROUNDRECT = 256
2755 LC_NONE = 0
2756 LC_POLYLINE = 2
2757 LC_MARKER = 4
2758 LC_POLYMARKER = 8
2759 LC_WIDE = 16
2760 LC_STYLED = 32
2761 LC_WIDESTYLED = 64
2762 LC_INTERIORS = 128
2763 PC_NONE = 0
2764 PC_POLYGON = 1
2765 PC_RECTANGLE = 2
2766 PC_WINDPOLYGON = 4
2767 PC_TRAPEZOID = 4
2768 PC_SCANLINE = 8
2769 PC_WIDE = 16
2770 PC_STYLED = 32
2771 PC_WIDESTYLED = 64
2772 PC_INTERIORS = 128
2773 CP_NONE = 0
2774 CP_RECTANGLE = 1
2775 CP_REGION = 2
2776 TC_OP_CHARACTER = 1
2777 TC_OP_STROKE = 2
2778 TC_CP_STROKE = 4
2779 TC_CR_90 = 8
2780 TC_CR_ANY = 16
2781 TC_SF_X_YINDEP = 32
2782 TC_SA_DOUBLE = 64
2783 TC_SA_INTEGER = 128
2784 TC_SA_CONTIN = 256
2785 TC_EA_DOUBLE = 512
2786 TC_IA_ABLE = 1024
2787 TC_UA_ABLE = 2048
2788 TC_SO_ABLE = 4096
2789 TC_RA_ABLE = 8192
2790 TC_VA_ABLE = 16384
2791 TC_RESERVED = 32768
2792 TC_SCROLLBLT = 65536
2793 RC_BITBLT = 1
2794 RC_BANDING = 2
2795 RC_SCALING = 4
2796 RC_BITMAP64 = 8
2797 RC_GDI20_OUTPUT = 16
2798 RC_GDI20_STATE = 32
2799 RC_SAVEBITMAP = 64
2800 RC_DI_BITMAP = 128
2801 RC_PALETTE = 256
2802 RC_DIBTODEV = 512
2803 RC_BIGFONT = 1024
2804 RC_STRETCHBLT = 2048
2805 RC_FLOODFILL = 4096
2806 RC_STRETCHDIB = 8192
2807 RC_OP_DX_OUTPUT = 16384
2808 RC_DEVBITS = 32768
2809 DIB_RGB_COLORS = 0
2810 DIB_PAL_COLORS = 1
2811 DIB_PAL_INDICES = 2
2812 DIB_PAL_PHYSINDICES = 2
2813 DIB_PAL_LOGINDICES = 4
2814 SYSPAL_ERROR = 0
2815 SYSPAL_STATIC = 1
2816 SYSPAL_NOSTATIC = 2
2817 CBM_CREATEDIB = 2
2818 CBM_INIT = 4
2819 FLOODFILLBORDER = 0
2820 FLOODFILLSURFACE = 1
2821 CCHDEVICENAME = 32
2822 CCHFORMNAME = 32
2823 # Generated by h2py from \msvcnt\include\wingdi.h
2824 # hacked and split manually by mhammond.
2825 DM_SPECVERSION = 800
2826 DM_ORIENTATION = 1
2827 DM_PAPERSIZE = 2
2828 DM_PAPERLENGTH = 4
2829 DM_PAPERWIDTH = 8
2830 DM_SCALE = 16
2831 DM_COPIES = 256
2832 DM_DEFAULTSOURCE = 512
2833 DM_PRINTQUALITY = 1024
2834 DM_COLOR = 2048
2835 DM_DUPLEX = 4096
2836 DM_YRESOLUTION = 8192
2837 DM_TTOPTION = 16384
2838 DM_COLLATE = 32768
2839 DM_FORMNAME = 65536
2840 DMORIENT_PORTRAIT = 1
2841 DMORIENT_LANDSCAPE = 2
2842 DMPAPER_LETTER = 1
2843 DMPAPER_LETTERSMALL = 2
2844 DMPAPER_TABLOID = 3
2845 DMPAPER_LEDGER = 4
2846 DMPAPER_LEGAL = 5
2847 DMPAPER_STATEMENT = 6
2848 DMPAPER_EXECUTIVE = 7
2849 DMPAPER_A3 = 8
2850 DMPAPER_A4 = 9
2851 DMPAPER_A4SMALL = 10
2852 DMPAPER_A5 = 11
2853 DMPAPER_B4 = 12
2854 DMPAPER_B5 = 13
2855 DMPAPER_FOLIO = 14
2856 DMPAPER_QUARTO = 15
2857 DMPAPER_10X14 = 16
2858 DMPAPER_11X17 = 17
2859 DMPAPER_NOTE = 18
2860 DMPAPER_ENV_9 = 19
2861 DMPAPER_ENV_10 = 20
2862 DMPAPER_ENV_11 = 21
2863 DMPAPER_ENV_12 = 22
2864 DMPAPER_ENV_14 = 23
2865 DMPAPER_CSHEET = 24
2866 DMPAPER_DSHEET = 25
2867 DMPAPER_ESHEET = 26
2868 DMPAPER_ENV_DL = 27
2869 DMPAPER_ENV_C5 = 28
2870 DMPAPER_ENV_C3 = 29
2871 DMPAPER_ENV_C4 = 30
2872 DMPAPER_ENV_C6 = 31
2873 DMPAPER_ENV_C65 = 32
2874 DMPAPER_ENV_B4 = 33
2875 DMPAPER_ENV_B5 = 34
2876 DMPAPER_ENV_B6 = 35
2877 DMPAPER_ENV_ITALY = 36
2878 DMPAPER_ENV_MONARCH = 37
2879 DMPAPER_ENV_PERSONAL = 38
2880 DMPAPER_FANFOLD_US = 39
2881 DMPAPER_FANFOLD_STD_GERMAN = 40
2882 DMPAPER_FANFOLD_LGL_GERMAN = 41
2883 DMPAPER_LAST = DMPAPER_FANFOLD_LGL_GERMAN
2884 DMPAPER_USER = 256
2885 DMBIN_UPPER = 1
2886 DMBIN_ONLYONE = 1
2887 DMBIN_LOWER = 2
2888 DMBIN_MIDDLE = 3
2889 DMBIN_MANUAL = 4
2890 DMBIN_ENVELOPE = 5
2891 DMBIN_ENVMANUAL = 6
2892 DMBIN_AUTO = 7
2893 DMBIN_TRACTOR = 8
2894 DMBIN_SMALLFMT = 9
2895 DMBIN_LARGEFMT = 10
2896 DMBIN_LARGECAPACITY = 11
2897 DMBIN_CASSETTE = 14
2898 DMBIN_LAST = DMBIN_CASSETTE
2899 DMBIN_USER = 256
2900 DMRES_DRAFT = (-1)
2901 DMRES_LOW = (-2)
2902 DMRES_MEDIUM = (-3)
2903 DMRES_HIGH = (-4)
2904 DMCOLOR_MONOCHROME = 1
2905 DMCOLOR_COLOR = 2
2906 DMDUP_SIMPLEX = 1
2907 DMDUP_VERTICAL = 2
2908 DMDUP_HORIZONTAL = 3
2909 DMTT_BITMAP = 1
2910 DMTT_DOWNLOAD = 2
2911 DMTT_SUBDEV = 3
2912 DMCOLLATE_FALSE = 0
2913 DMCOLLATE_TRUE = 1
2914 DM_GRAYSCALE = 1
2915 DM_INTERLACED = 2
2916 RDH_RECTANGLES = 1
2917 GGO_METRICS = 0
2918 GGO_BITMAP = 1
2919 GGO_NATIVE = 2
2920 TT_POLYGON_TYPE = 24
2921 TT_PRIM_LINE = 1
2922 TT_PRIM_QSPLINE = 2
2923 TT_AVAILABLE = 1
2924 TT_ENABLED = 2
2925 DM_UPDATE = 1
2926 DM_COPY = 2
2927 DM_PROMPT = 4
2928 DM_MODIFY = 8
2929 DM_IN_BUFFER = DM_MODIFY
2930 DM_IN_PROMPT = DM_PROMPT
2931 DM_OUT_BUFFER = DM_COPY
2932 DM_OUT_DEFAULT = DM_UPDATE
2933 DC_FIELDS = 1
2934 DC_PAPERS = 2
2935 DC_PAPERSIZE = 3
2936 DC_MINEXTENT = 4
2937 DC_MAXEXTENT = 5
2938 DC_BINS = 6
2939 DC_DUPLEX = 7
2940 DC_SIZE = 8
2941 DC_EXTRA = 9
2942 DC_VERSION = 10
2943 DC_DRIVER = 11
2944 DC_BINNAMES = 12
2945 DC_ENUMRESOLUTIONS = 13
2946 DC_FILEDEPENDENCIES = 14
2947 DC_TRUETYPE = 15
2948 DC_PAPERNAMES = 16
2949 DC_ORIENTATION = 17
2950 DC_COPIES = 18
2951 DCTT_BITMAP = 1
2952 DCTT_DOWNLOAD = 2
2953 DCTT_SUBDEV = 4
2954 CA_NEGATIVE = 1
2955 CA_LOG_FILTER = 2
2956 ILLUMINANT_DEVICE_DEFAULT = 0
2957 ILLUMINANT_A = 1
2958 ILLUMINANT_B = 2
2959 ILLUMINANT_C = 3
2960 ILLUMINANT_D50 = 4
2961 ILLUMINANT_D55 = 5
2962 ILLUMINANT_D65 = 6
2963 ILLUMINANT_D75 = 7
2964 ILLUMINANT_F2 = 8
2965 ILLUMINANT_MAX_INDEX = ILLUMINANT_F2
2966 ILLUMINANT_TUNGSTEN = ILLUMINANT_A
2967 ILLUMINANT_DAYLIGHT = ILLUMINANT_C
2968 ILLUMINANT_FLUORESCENT = ILLUMINANT_F2
2969 ILLUMINANT_NTSC = ILLUMINANT_C
2970 # Generated by h2py from \msvcnt\include\wingdi.h
2971 # hacked and split manually by mhammond.
2972 FONTMAPPER_MAX = 10
2973 ENHMETA_SIGNATURE = 1179469088
2974 ENHMETA_STOCK_OBJECT = -2147483648
2975 EMR_HEADER = 1
2976 EMR_POLYBEZIER = 2
2977 EMR_POLYGON = 3
2978 EMR_POLYLINE = 4
2979 EMR_POLYBEZIERTO = 5
2980 EMR_POLYLINETO = 6
2981 EMR_POLYPOLYLINE = 7
2982 EMR_POLYPOLYGON = 8
2983 EMR_SETWINDOWEXTEX = 9
2984 EMR_SETWINDOWORGEX = 10
2985 EMR_SETVIEWPORTEXTEX = 11
2986 EMR_SETVIEWPORTORGEX = 12
2987 EMR_SETBRUSHORGEX = 13
2988 EMR_EOF = 14
2989 EMR_SETPIXELV = 15
2990 EMR_SETMAPPERFLAGS = 16
2991 EMR_SETMAPMODE = 17
2992 EMR_SETBKMODE = 18
2993 EMR_SETPOLYFILLMODE = 19
2994 EMR_SETROP2 = 20
2995 EMR_SETSTRETCHBLTMODE = 21
2996 EMR_SETTEXTALIGN = 22
2997 EMR_SETCOLORADJUSTMENT = 23
2998 EMR_SETTEXTCOLOR = 24
2999 EMR_SETBKCOLOR = 25
3000 EMR_OFFSETCLIPRGN = 26
3001 EMR_MOVETOEX = 27
3002 EMR_SETMETARGN = 28
3003 EMR_EXCLUDECLIPRECT = 29
3004 EMR_INTERSECTCLIPRECT = 30
3005 EMR_SCALEVIEWPORTEXTEX = 31
3006 EMR_SCALEWINDOWEXTEX = 32
3007 EMR_SAVEDC = 33
3008 EMR_RESTOREDC = 34
3009 EMR_SETWORLDTRANSFORM = 35
3010 EMR_MODIFYWORLDTRANSFORM = 36
3011 EMR_SELECTOBJECT = 37
3012 EMR_CREATEPEN = 38
3013 EMR_CREATEBRUSHINDIRECT = 39
3014 EMR_DELETEOBJECT = 40
3015 EMR_ANGLEARC = 41
3016 EMR_ELLIPSE = 42
3017 EMR_RECTANGLE = 43
3018 EMR_ROUNDRECT = 44
3019 EMR_ARC = 45
3020 EMR_CHORD = 46
3021 EMR_PIE = 47
3022 EMR_SELECTPALETTE = 48
3023 EMR_CREATEPALETTE = 49
3024 EMR_SETPALETTEENTRIES = 50
3025 EMR_RESIZEPALETTE = 51
3026 EMR_REALIZEPALETTE = 52
3027 EMR_EXTFLOODFILL = 53
3028 EMR_LINETO = 54
3029 EMR_ARCTO = 55
3030 EMR_POLYDRAW = 56
3031 EMR_SETARCDIRECTION = 57
3032 EMR_SETMITERLIMIT = 58
3033 EMR_BEGINPATH = 59
3034 EMR_ENDPATH = 60
3035 EMR_CLOSEFIGURE = 61
3036 EMR_FILLPATH = 62
3037 EMR_STROKEANDFILLPATH = 63
3038 EMR_STROKEPATH = 64
3039 EMR_FLATTENPATH = 65
3040 EMR_WIDENPATH = 66
3041 EMR_SELECTCLIPPATH = 67
3042 EMR_ABORTPATH = 68
3043 EMR_GDICOMMENT = 70
3044 EMR_FILLRGN = 71
3045 EMR_FRAMERGN = 72
3046 EMR_INVERTRGN = 73
3047 EMR_PAINTRGN = 74
3048 EMR_EXTSELECTCLIPRGN = 75
3049 EMR_BITBLT = 76
3050 EMR_STRETCHBLT = 77
3051 EMR_MASKBLT = 78
3052 EMR_PLGBLT = 79
3053 EMR_SETDIBITSTODEVICE = 80
3054 EMR_STRETCHDIBITS = 81
3055 EMR_EXTCREATEFONTINDIRECTW = 82
3056 EMR_EXTTEXTOUTA = 83
3057 EMR_EXTTEXTOUTW = 84
3058 EMR_POLYBEZIER16 = 85
3059 EMR_POLYGON16 = 86
3060 EMR_POLYLINE16 = 87
3061 EMR_POLYBEZIERTO16 = 88
3062 EMR_POLYLINETO16 = 89
3063 EMR_POLYPOLYLINE16 = 90
3064 EMR_POLYPOLYGON16 = 91
3065 EMR_POLYDRAW16 = 92
3066 EMR_CREATEMONOBRUSH = 93
3067 EMR_CREATEDIBPATTERNBRUSHPT = 94
3068 EMR_EXTCREATEPEN = 95
3069 EMR_POLYTEXTOUTA = 96
3070 EMR_POLYTEXTOUTW = 97
3071 EMR_MIN = 1
3072 EMR_MAX = 97
3073 # Generated by h2py from \msvcnt\include\wingdi.h
3074 # hacked and split manually by mhammond.
3075 PANOSE_COUNT = 10
3076 PAN_FAMILYTYPE_INDEX = 0
3077 PAN_SERIFSTYLE_INDEX = 1
3078 PAN_WEIGHT_INDEX = 2
3079 PAN_PROPORTION_INDEX = 3
3080 PAN_CONTRAST_INDEX = 4
3081 PAN_STROKEVARIATION_INDEX = 5
3082 PAN_ARMSTYLE_INDEX = 6
3083 PAN_LETTERFORM_INDEX = 7
3084 PAN_MIDLINE_INDEX = 8
3085 PAN_XHEIGHT_INDEX = 9
3086 PAN_CULTURE_LATIN = 0
3087 PAN_ANY = 0
3088 PAN_NO_FIT = 1
3089 PAN_FAMILY_TEXT_DISPLAY = 2
3090 PAN_FAMILY_SCRIPT = 3
3091 PAN_FAMILY_DECORATIVE = 4
3092 PAN_FAMILY_PICTORIAL = 5
3093 PAN_SERIF_COVE = 2
3094 PAN_SERIF_OBTUSE_COVE = 3
3095 PAN_SERIF_SQUARE_COVE = 4
3096 PAN_SERIF_OBTUSE_SQUARE_COVE = 5
3097 PAN_SERIF_SQUARE = 6
3098 PAN_SERIF_THIN = 7
3099 PAN_SERIF_BONE = 8
3100 PAN_SERIF_EXAGGERATED = 9
3101 PAN_SERIF_TRIANGLE = 10
3102 PAN_SERIF_NORMAL_SANS = 11
3103 PAN_SERIF_OBTUSE_SANS = 12
3104 PAN_SERIF_PERP_SANS = 13
3105 PAN_SERIF_FLARED = 14
3106 PAN_SERIF_ROUNDED = 15
3107 PAN_WEIGHT_VERY_LIGHT = 2
3108 PAN_WEIGHT_LIGHT = 3
3109 PAN_WEIGHT_THIN = 4
3110 PAN_WEIGHT_BOOK = 5
3111 PAN_WEIGHT_MEDIUM = 6
3112 PAN_WEIGHT_DEMI = 7
3113 PAN_WEIGHT_BOLD = 8
3114 PAN_WEIGHT_HEAVY = 9
3115 PAN_WEIGHT_BLACK = 10
3116 PAN_WEIGHT_NORD = 11
3117 PAN_PROP_OLD_STYLE = 2
3118 PAN_PROP_MODERN = 3
3119 PAN_PROP_EVEN_WIDTH = 4
3120 PAN_PROP_EXPANDED = 5
3121 PAN_PROP_CONDENSED = 6
3122 PAN_PROP_VERY_EXPANDED = 7
3123 PAN_PROP_VERY_CONDENSED = 8
3124 PAN_PROP_MONOSPACED = 9
3125 PAN_CONTRAST_NONE = 2
3126 PAN_CONTRAST_VERY_LOW = 3
3127 PAN_CONTRAST_LOW = 4
3128 PAN_CONTRAST_MEDIUM_LOW = 5
3129 PAN_CONTRAST_MEDIUM = 6
3130 PAN_CONTRAST_MEDIUM_HIGH = 7
3131 PAN_CONTRAST_HIGH = 8
3132 PAN_CONTRAST_VERY_HIGH = 9
3133 PAN_STROKE_GRADUAL_DIAG = 2
3134 PAN_STROKE_GRADUAL_TRAN = 3
3135 PAN_STROKE_GRADUAL_VERT = 4
3136 PAN_STROKE_GRADUAL_HORZ = 5
3137 PAN_STROKE_RAPID_VERT = 6
3138 PAN_STROKE_RAPID_HORZ = 7
3139 PAN_STROKE_INSTANT_VERT = 8
3140 PAN_STRAIGHT_ARMS_HORZ = 2
3141 PAN_STRAIGHT_ARMS_WEDGE = 3
3142 PAN_STRAIGHT_ARMS_VERT = 4
3143 PAN_STRAIGHT_ARMS_SINGLE_SERIF = 5
3144 PAN_STRAIGHT_ARMS_DOUBLE_SERIF = 6
3145 PAN_BENT_ARMS_HORZ = 7
3146 PAN_BENT_ARMS_WEDGE = 8
3147 PAN_BENT_ARMS_VERT = 9
3148 PAN_BENT_ARMS_SINGLE_SERIF = 10
3149 PAN_BENT_ARMS_DOUBLE_SERIF = 11
3150 PAN_LETT_NORMAL_CONTACT = 2
3151 PAN_LETT_NORMAL_WEIGHTED = 3
3152 PAN_LETT_NORMAL_BOXED = 4
3153 PAN_LETT_NORMAL_FLATTENED = 5
3154 PAN_LETT_NORMAL_ROUNDED = 6
3155 PAN_LETT_NORMAL_OFF_CENTER = 7
3156 PAN_LETT_NORMAL_SQUARE = 8
3157 PAN_LETT_OBLIQUE_CONTACT = 9
3158 PAN_LETT_OBLIQUE_WEIGHTED = 10
3159 PAN_LETT_OBLIQUE_BOXED = 11
3160 PAN_LETT_OBLIQUE_FLATTENED = 12
3161 PAN_LETT_OBLIQUE_ROUNDED = 13
3162 PAN_LETT_OBLIQUE_OFF_CENTER = 14
3163 PAN_LETT_OBLIQUE_SQUARE = 15
3164 PAN_MIDLINE_STANDARD_TRIMMED = 2
3165 PAN_MIDLINE_STANDARD_POINTED = 3
3166 PAN_MIDLINE_STANDARD_SERIFED = 4
3167 PAN_MIDLINE_HIGH_TRIMMED = 5
3168 PAN_MIDLINE_HIGH_POINTED = 6
3169 PAN_MIDLINE_HIGH_SERIFED = 7
3170 PAN_MIDLINE_CONSTANT_TRIMMED = 8
3171 PAN_MIDLINE_CONSTANT_POINTED = 9
3172 PAN_MIDLINE_CONSTANT_SERIFED = 10
3173 PAN_MIDLINE_LOW_TRIMMED = 11
3174 PAN_MIDLINE_LOW_POINTED = 12
3175 PAN_MIDLINE_LOW_SERIFED = 13
3176 PAN_XHEIGHT_CONSTANT_SMALL = 2
3177 PAN_XHEIGHT_CONSTANT_STD = 3
3178 PAN_XHEIGHT_CONSTANT_LARGE = 4
3179 PAN_XHEIGHT_DUCKING_SMALL = 5
3180 PAN_XHEIGHT_DUCKING_STD = 6
3181 PAN_XHEIGHT_DUCKING_LARGE = 7
3182 ELF_VENDOR_SIZE = 4
3183 ELF_VERSION = 0
3184 ELF_CULTURE_LATIN = 0
3185 RASTER_FONTTYPE = 1
3186 DEVICE_FONTTYPE = 2
3187 TRUETYPE_FONTTYPE = 4
3188 def PALETTEINDEX(i): return ((16777216 | (i)))
3189 
3190 PC_RESERVED = 1
3191 PC_EXPLICIT = 2
3192 PC_NOCOLLAPSE = 4
3193 def GetRValue(rgb): return ((rgb))
3194 
3195 def GetGValue(rgb): return ((((rgb)) >> 8))
3196 
3197 def GetBValue(rgb): return (((rgb)>>16))
3198 
3199 TRANSPARENT = 1
3200 OPAQUE = 2
3201 BKMODE_LAST = 2
3202 GM_COMPATIBLE = 1
3203 GM_ADVANCED = 2
3204 GM_LAST = 2
3205 PT_CLOSEFIGURE = 1
3206 PT_LINETO = 2
3207 PT_BEZIERTO = 4
3208 PT_MOVETO = 6
3209 MM_TEXT = 1
3210 MM_LOMETRIC = 2
3211 MM_HIMETRIC = 3
3212 MM_LOENGLISH = 4
3213 MM_HIENGLISH = 5
3214 MM_TWIPS = 6
3215 MM_ISOTROPIC = 7
3216 MM_ANISOTROPIC = 8
3217 MM_MIN = MM_TEXT
3218 MM_MAX = MM_ANISOTROPIC
3219 MM_MAX_FIXEDSCALE = MM_TWIPS
3220 ABSOLUTE = 1
3221 RELATIVE = 2
3222 WHITE_BRUSH = 0
3223 LTGRAY_BRUSH = 1
3224 GRAY_BRUSH = 2
3225 DKGRAY_BRUSH = 3
3226 BLACK_BRUSH = 4
3227 NULL_BRUSH = 5
3228 HOLLOW_BRUSH = NULL_BRUSH
3229 WHITE_PEN = 6
3230 BLACK_PEN = 7
3231 NULL_PEN = 8
3232 OEM_FIXED_FONT = 10
3233 ANSI_FIXED_FONT = 11
3234 ANSI_VAR_FONT = 12
3235 SYSTEM_FONT = 13
3236 DEVICE_DEFAULT_FONT = 14
3237 DEFAULT_PALETTE = 15
3238 SYSTEM_FIXED_FONT = 16
3239 STOCK_LAST = 16
3240 CLR_INVALID = -1
3241 
3242 # Exception/Status codes from winuser.h and winnt.h
3243 STATUS_WAIT_0                    = 0    
3244 STATUS_ABANDONED_WAIT_0          = 128    
3245 STATUS_USER_APC                  = 192    
3246 STATUS_TIMEOUT                   = 258    
3247 STATUS_PENDING                   = 259    
3248 STATUS_SEGMENT_NOTIFICATION      = 1073741829    
3249 STATUS_GUARD_PAGE_VIOLATION      = -2147483647    
3250 STATUS_DATATYPE_MISALIGNMENT     = -2147483646    
3251 STATUS_BREAKPOINT                = -2147483645    
3252 STATUS_SINGLE_STEP               = -2147483644    
3253 STATUS_ACCESS_VIOLATION          = -1073741819    
3254 STATUS_IN_PAGE_ERROR             = -1073741818    
3255 STATUS_INVALID_HANDLE            = -1073741816    
3256 STATUS_NO_MEMORY                 = -1073741801    
3257 STATUS_ILLEGAL_INSTRUCTION       = -1073741795    
3258 STATUS_NONCONTINUABLE_EXCEPTION  = -1073741787    
3259 STATUS_INVALID_DISPOSITION       = -1073741786    
3260 STATUS_ARRAY_BOUNDS_EXCEEDED     = -1073741684    
3261 STATUS_FLOAT_DENORMAL_OPERAND    = -1073741683    
3262 STATUS_FLOAT_DIVIDE_BY_ZERO      = -1073741682    
3263 STATUS_FLOAT_INEXACT_RESULT      = -1073741681    
3264 STATUS_FLOAT_INVALID_OPERATION   = -1073741680    
3265 STATUS_FLOAT_OVERFLOW            = -1073741679    
3266 STATUS_FLOAT_STACK_CHECK         = -1073741678    
3267 STATUS_FLOAT_UNDERFLOW           = -1073741677    
3268 STATUS_INTEGER_DIVIDE_BY_ZERO    = -1073741676    
3269 STATUS_INTEGER_OVERFLOW          = -1073741675    
3270 STATUS_PRIVILEGED_INSTRUCTION    = -1073741674    
3271 STATUS_STACK_OVERFLOW            = -1073741571    
3272 STATUS_CONTROL_C_EXIT            = -1073741510    
3273 
3274 
3275 WAIT_FAILED                      = -1
3276 WAIT_OBJECT_0                    = STATUS_WAIT_0 + 0
3277 
3278 WAIT_ABANDONED                      = STATUS_ABANDONED_WAIT_0 + 0 
3279 WAIT_ABANDONED_0                    = STATUS_ABANDONED_WAIT_0 + 0
3280 
3281 WAIT_TIMEOUT                        = STATUS_TIMEOUT
3282 WAIT_IO_COMPLETION                  = STATUS_USER_APC
3283 STILL_ACTIVE                        = STATUS_PENDING
3284 EXCEPTION_ACCESS_VIOLATION          = STATUS_ACCESS_VIOLATION
3285 EXCEPTION_DATATYPE_MISALIGNMENT     = STATUS_DATATYPE_MISALIGNMENT
3286 EXCEPTION_BREAKPOINT                = STATUS_BREAKPOINT
3287 EXCEPTION_SINGLE_STEP               = STATUS_SINGLE_STEP
3288 EXCEPTION_ARRAY_BOUNDS_EXCEEDED     = STATUS_ARRAY_BOUNDS_EXCEEDED
3289 EXCEPTION_FLT_DENORMAL_OPERAND      = STATUS_FLOAT_DENORMAL_OPERAND
3290 EXCEPTION_FLT_DIVIDE_BY_ZERO        = STATUS_FLOAT_DIVIDE_BY_ZERO
3291 EXCEPTION_FLT_INEXACT_RESULT        = STATUS_FLOAT_INEXACT_RESULT
3292 EXCEPTION_FLT_INVALID_OPERATION     = STATUS_FLOAT_INVALID_OPERATION
3293 EXCEPTION_FLT_OVERFLOW              = STATUS_FLOAT_OVERFLOW
3294 EXCEPTION_FLT_STACK_CHECK           = STATUS_FLOAT_STACK_CHECK
3295 EXCEPTION_FLT_UNDERFLOW             = STATUS_FLOAT_UNDERFLOW
3296 EXCEPTION_INT_DIVIDE_BY_ZERO        = STATUS_INTEGER_DIVIDE_BY_ZERO
3297 EXCEPTION_INT_OVERFLOW              = STATUS_INTEGER_OVERFLOW
3298 EXCEPTION_PRIV_INSTRUCTION          = STATUS_PRIVILEGED_INSTRUCTION
3299 EXCEPTION_IN_PAGE_ERROR             = STATUS_IN_PAGE_ERROR
3300 EXCEPTION_ILLEGAL_INSTRUCTION       = STATUS_ILLEGAL_INSTRUCTION
3301 EXCEPTION_NONCONTINUABLE_EXCEPTION  = STATUS_NONCONTINUABLE_EXCEPTION
3302 EXCEPTION_STACK_OVERFLOW            = STATUS_STACK_OVERFLOW
3303 EXCEPTION_INVALID_DISPOSITION       = STATUS_INVALID_DISPOSITION
3304 EXCEPTION_GUARD_PAGE                = STATUS_GUARD_PAGE_VIOLATION
3305 EXCEPTION_INVALID_HANDLE            = STATUS_INVALID_HANDLE
3306 CONTROL_C_EXIT                      = STATUS_CONTROL_C_EXIT
3307 
3308 # winuser.h line 8594
3309 SPI_GETBEEP = 1
3310 SPI_SETBEEP = 2
3311 SPI_GETMOUSE = 3
3312 SPI_SETMOUSE = 4
3313 SPI_GETBORDER = 5
3314 SPI_SETBORDER = 6
3315 SPI_GETKEYBOARDSPEED = 10
3316 SPI_SETKEYBOARDSPEED = 11
3317 SPI_LANGDRIVER = 12
3318 SPI_ICONHORIZONTALSPACING = 13
3319 SPI_GETSCREENSAVETIMEOUT = 14
3320 SPI_SETSCREENSAVETIMEOUT = 15
3321 SPI_GETSCREENSAVEACTIVE = 16
3322 SPI_SETSCREENSAVEACTIVE = 17
3323 SPI_GETGRIDGRANULARITY = 18
3324 SPI_SETGRIDGRANULARITY = 19
3325 SPI_SETDESKWALLPAPER = 20
3326 SPI_SETDESKPATTERN = 21
3327 SPI_GETKEYBOARDDELAY = 22
3328 SPI_SETKEYBOARDDELAY = 23
3329 SPI_ICONVERTICALSPACING = 24
3330 SPI_GETICONTITLEWRAP = 25
3331 SPI_SETICONTITLEWRAP = 26
3332 SPI_GETMENUDROPALIGNMENT = 27
3333 SPI_SETMENUDROPALIGNMENT = 28
3334 SPI_SETDOUBLECLKWIDTH = 29
3335 SPI_SETDOUBLECLKHEIGHT = 30
3336 SPI_GETICONTITLELOGFONT = 31
3337 SPI_SETDOUBLECLICKTIME = 32
3338 SPI_SETMOUSEBUTTONSWAP = 33
3339 SPI_SETICONTITLELOGFONT = 34
3340 SPI_GETFASTTASKSWITCH = 35
3341 SPI_SETFASTTASKSWITCH = 36
3342 SPI_SETDRAGFULLWINDOWS = 37
3343 SPI_GETDRAGFULLWINDOWS = 38
3344 SPI_GETNONCLIENTMETRICS = 41
3345 SPI_SETNONCLIENTMETRICS = 42
3346 SPI_GETMINIMIZEDMETRICS = 43
3347 SPI_SETMINIMIZEDMETRICS = 44
3348 SPI_GETICONMETRICS = 45
3349 SPI_SETICONMETRICS = 46
3350 SPI_SETWORKAREA = 47
3351 SPI_GETWORKAREA = 48
3352 SPI_SETPENWINDOWS = 49
3353 SPI_GETHIGHCONTRAST = 66
3354 SPI_SETHIGHCONTRAST = 67
3355 SPI_GETKEYBOARDPREF = 68
3356 SPI_SETKEYBOARDPREF = 69
3357 SPI_GETSCREENREADER = 70
3358 SPI_SETSCREENREADER = 71
3359 SPI_GETANIMATION = 72
3360 SPI_SETANIMATION = 73
3361 SPI_GETFONTSMOOTHING = 74
3362 SPI_SETFONTSMOOTHING = 75
3363 SPI_SETDRAGWIDTH = 76
3364 SPI_SETDRAGHEIGHT = 77
3365 SPI_SETHANDHELD = 78
3366 SPI_GETLOWPOWERTIMEOUT = 79
3367 SPI_GETPOWEROFFTIMEOUT = 80
3368 SPI_SETLOWPOWERTIMEOUT = 81
3369 SPI_SETPOWEROFFTIMEOUT = 82
3370 SPI_GETLOWPOWERACTIVE = 83
3371 SPI_GETPOWEROFFACTIVE = 84
3372 SPI_SETLOWPOWERACTIVE = 85
3373 SPI_SETPOWEROFFACTIVE = 86
3374 SPI_SETCURSORS = 87
3375 SPI_SETICONS = 88
3376 SPI_GETDEFAULTINPUTLANG = 89
3377 SPI_SETDEFAULTINPUTLANG = 90
3378 SPI_SETLANGTOGGLE = 91
3379 SPI_GETWINDOWSEXTENSION = 92
3380 SPI_SETMOUSETRAILS = 93
3381 SPI_GETMOUSETRAILS = 94
3382 SPI_SETSCREENSAVERRUNNING = 97
3383 SPI_SCREENSAVERRUNNING = SPI_SETSCREENSAVERRUNNING
3384 SPI_GETFILTERKEYS = 50
3385 SPI_SETFILTERKEYS = 51
3386 SPI_GETTOGGLEKEYS = 52
3387 SPI_SETTOGGLEKEYS = 53
3388 SPI_GETMOUSEKEYS = 54
3389 SPI_SETMOUSEKEYS = 55
3390 SPI_GETSHOWSOUNDS = 56
3391 SPI_SETSHOWSOUNDS = 57
3392 SPI_GETSTICKYKEYS = 58
3393 SPI_SETSTICKYKEYS = 59
3394 SPI_GETACCESSTIMEOUT = 60
3395 SPI_SETACCESSTIMEOUT = 61
3396 SPI_GETSERIALKEYS = 62
3397 SPI_SETSERIALKEYS = 63
3398 SPI_GETSOUNDSENTRY = 64
3399 SPI_SETSOUNDSENTRY = 65
3400 SPI_GETMOUSEHOVERWIDTH = 98
3401 SPI_SETMOUSEHOVERWIDTH = 99
3402 SPI_GETMOUSEHOVERHEIGHT = 100
3403 SPI_SETMOUSEHOVERHEIGHT = 101
3404 SPI_GETMOUSEHOVERTIME = 102
3405 SPI_SETMOUSEHOVERTIME = 103
3406 SPI_GETWHEELSCROLLLINES = 104
3407 SPI_SETWHEELSCROLLLINES = 105
3408 SPI_GETSHOWIMEUI = 110
3409 SPI_SETSHOWIMEUI = 111
3410 SPI_GETMOUSESPEED = 112
3411 SPI_SETMOUSESPEED = 113
3412 SPI_GETSCREENSAVERRUNNING = 114
3413 SPI_GETACTIVEWINDOWTRACKING = 4096
3414 SPI_SETACTIVEWINDOWTRACKING = 4097
3415 SPI_GETMENUANIMATION = 4098
3416 SPI_SETMENUANIMATION = 4099
3417 SPI_GETCOMBOBOXANIMATION = 4100
3418 SPI_SETCOMBOBOXANIMATION = 4101
3419 SPI_GETLISTBOXSMOOTHSCROLLING = 4102
3420 SPI_SETLISTBOXSMOOTHSCROLLING = 4103
3421 SPI_GETGRADIENTCAPTIONS = 4104
3422 SPI_SETGRADIENTCAPTIONS = 4105
3423 SPI_GETMENUUNDERLINES = 4106
3424 SPI_SETMENUUNDERLINES = 4107
3425 SPI_GETACTIVEWNDTRKZORDER = 4108
3426 SPI_SETACTIVEWNDTRKZORDER = 4109
3427 SPI_GETHOTTRACKING = 4110
3428 SPI_SETHOTTRACKING = 4111
3429 SPI_GETFOREGROUNDLOCKTIMEOUT = 8192
3430 SPI_SETFOREGROUNDLOCKTIMEOUT = 8193
3431 SPI_GETACTIVEWNDTRKTIMEOUT = 8194
3432 SPI_SETACTIVEWNDTRKTIMEOUT = 8195
3433 SPI_GETFOREGROUNDFLASHCOUNT = 8196
3434 SPI_SETFOREGROUNDFLASHCOUNT = 8197
3435 SPIF_UPDATEINIFILE = 1
3436 SPIF_SENDWININICHANGE = 2
3437 SPIF_SENDCHANGE = SPIF_SENDWININICHANGE
3438 METRICS_USEDEFAULT = -1
3439 ARW_BOTTOMLEFT = 0
3440 ARW_BOTTOMRIGHT = 1
3441 ARW_TOPLEFT = 2
3442 ARW_TOPRIGHT = 3
3443 ARW_STARTMASK = 3
3444 ARW_STARTRIGHT = 1
3445 ARW_STARTTOP = 2
3446 ARW_LEFT = 0
3447 ARW_RIGHT = 0
3448 ARW_UP = 4
3449 ARW_DOWN = 4
3450 ARW_HIDE = 8
3451 #ARW_VALID = 0x000F
3452 SERKF_SERIALKEYSON = 1
3453 SERKF_AVAILABLE = 2
3454 SERKF_INDICATOR = 4
3455 HCF_HIGHCONTRASTON = 1
3456 HCF_AVAILABLE = 2
3457 HCF_HOTKEYACTIVE = 4
3458 HCF_CONFIRMHOTKEY = 8
3459 HCF_HOTKEYSOUND = 16
3460 HCF_INDICATOR = 32
3461 HCF_HOTKEYAVAILABLE = 64
3462 CDS_UPDATEREGISTRY = 1
3463 CDS_TEST = 2
3464 CDS_FULLSCREEN = 4
3465 CDS_GLOBAL = 8
3466 CDS_SET_PRIMARY = 16
3467 CDS_RESET = 1073741824
3468 CDS_SETRECT = 536870912
3469 CDS_NORESET = 268435456
3470 DISP_CHANGE_SUCCESSFUL = 0
3471 DISP_CHANGE_RESTART = 1
3472 DISP_CHANGE_FAILED = -1
3473 DISP_CHANGE_BADMODE = -2
3474 DISP_CHANGE_NOTUPDATED = -3
3475 DISP_CHANGE_BADFLAGS = -4
3476 DISP_CHANGE_BADPARAM = -5
3477 ENUM_CURRENT_SETTINGS = -1
3478 ENUM_REGISTRY_SETTINGS = -2
3479 FKF_FILTERKEYSON = 1
3480 FKF_AVAILABLE = 2
3481 FKF_HOTKEYACTIVE = 4
3482 FKF_CONFIRMHOTKEY = 8
3483 FKF_HOTKEYSOUND = 16
3484 FKF_INDICATOR = 32
3485 FKF_CLICKON = 64
3486 SKF_STICKYKEYSON = 1
3487 SKF_AVAILABLE = 2
3488 SKF_HOTKEYACTIVE = 4
3489 SKF_CONFIRMHOTKEY = 8
3490 SKF_HOTKEYSOUND = 16
3491 SKF_INDICATOR = 32
3492 SKF_AUDIBLEFEEDBACK = 64
3493 SKF_TRISTATE = 128
3494 SKF_TWOKEYSOFF = 256
3495 SKF_LALTLATCHED = 268435456
3496 SKF_LCTLLATCHED = 67108864
3497 SKF_LSHIFTLATCHED = 16777216
3498 SKF_RALTLATCHED = 536870912
3499 SKF_RCTLLATCHED = 134217728
3500 SKF_RSHIFTLATCHED = 33554432
3501 SKF_LWINLATCHED = 1073741824
3502 SKF_RWINLATCHED = -2147483648
3503 SKF_LALTLOCKED = 1048576
3504 SKF_LCTLLOCKED = 262144
3505 SKF_LSHIFTLOCKED = 65536
3506 SKF_RALTLOCKED = 2097152
3507 SKF_RCTLLOCKED = 524288
3508 SKF_RSHIFTLOCKED = 131072
3509 SKF_LWINLOCKED = 4194304
3510 SKF_RWINLOCKED = 8388608
3511 MKF_MOUSEKEYSON = 1
3512 MKF_AVAILABLE = 2
3513 MKF_HOTKEYACTIVE = 4
3514 MKF_CONFIRMHOTKEY = 8
3515 MKF_HOTKEYSOUND = 16
3516 MKF_INDICATOR = 32
3517 MKF_MODIFIERS = 64
3518 MKF_REPLACENUMBERS = 128
3519 MKF_LEFTBUTTONSEL = 268435456
3520 MKF_RIGHTBUTTONSEL = 536870912
3521 MKF_LEFTBUTTONDOWN = 16777216
3522 MKF_RIGHTBUTTONDOWN = 33554432
3523 MKF_MOUSEMODE = -2147483648
3524 ATF_TIMEOUTON = 1
3525 ATF_ONOFFFEEDBACK = 2
3526 SSGF_NONE = 0
3527 SSGF_DISPLAY = 3
3528 SSTF_NONE = 0
3529 SSTF_CHARS = 1
3530 SSTF_BORDER = 2
3531 SSTF_DISPLAY = 3
3532 SSWF_NONE = 0
3533 SSWF_TITLE = 1
3534 SSWF_WINDOW = 2
3535 SSWF_DISPLAY = 3
3536 SSWF_CUSTOM = 4
3537 SSF_SOUNDSENTRYON = 1
3538 SSF_AVAILABLE = 2
3539 SSF_INDICATOR = 4
3540 TKF_TOGGLEKEYSON = 1
3541 TKF_AVAILABLE = 2
3542 TKF_HOTKEYACTIVE = 4
3543 TKF_CONFIRMHOTKEY = 8
3544 TKF_HOTKEYSOUND = 16
3545 TKF_INDICATOR = 32
3546 SLE_ERROR = 1
3547 SLE_MINORERROR = 2
3548 SLE_WARNING = 3
3549 MONITOR_DEFAULTTONULL = 0
3550 MONITOR_DEFAULTTOPRIMARY = 1
3551 MONITOR_DEFAULTTONEAREST = 2
3552 MONITORINFOF_PRIMARY = 1
3553 CCHDEVICENAME = 32
3554 CHILDID_SELF = 0
3555 INDEXID_OBJECT = 0
3556 INDEXID_CONTAINER = 0
3557 OBJID_WINDOW = 0
3558 OBJID_SYSMENU = -1
3559 OBJID_TITLEBAR = -2
3560 OBJID_MENU = -3
3561 OBJID_CLIENT = -4
3562 OBJID_VSCROLL = -5
3563 OBJID_HSCROLL = -6
3564 OBJID_SIZEGRIP = -7
3565 OBJID_CARET = -8
3566 OBJID_CURSOR = -9
3567 OBJID_ALERT = -10
3568 OBJID_SOUND = -11
3569 EVENT_MIN = 1
3570 EVENT_MAX = 2147483647
3571 EVENT_SYSTEM_SOUND = 1
3572 EVENT_SYSTEM_ALERT = 2
3573 EVENT_SYSTEM_FOREGROUND = 3
3574 EVENT_SYSTEM_MENUSTART = 4
3575 EVENT_SYSTEM_MENUEND = 5
3576 EVENT_SYSTEM_MENUPOPUPSTART = 6
3577 EVENT_SYSTEM_MENUPOPUPEND = 7
3578 EVENT_SYSTEM_CAPTURESTART = 8
3579 EVENT_SYSTEM_CAPTUREEND = 9
3580 EVENT_SYSTEM_MOVESIZESTART = 10
3581 EVENT_SYSTEM_MOVESIZEEND = 11
3582 EVENT_SYSTEM_CONTEXTHELPSTART = 12
3583 EVENT_SYSTEM_CONTEXTHELPEND = 13
3584 EVENT_SYSTEM_DRAGDROPSTART = 14
3585 EVENT_SYSTEM_DRAGDROPEND = 15
3586 EVENT_SYSTEM_DIALOGSTART = 16
3587 EVENT_SYSTEM_DIALOGEND = 17
3588 EVENT_SYSTEM_SCROLLINGSTART = 18
3589 EVENT_SYSTEM_SCROLLINGEND = 19
3590 EVENT_SYSTEM_SWITCHSTART = 20
3591 EVENT_SYSTEM_SWITCHEND = 21
3592 EVENT_SYSTEM_MINIMIZESTART = 22
3593 EVENT_SYSTEM_MINIMIZEEND = 23
3594 EVENT_OBJECT_CREATE = 32768
3595 EVENT_OBJECT_DESTROY = 32769
3596 EVENT_OBJECT_SHOW = 32770
3597 EVENT_OBJECT_HIDE = 32771
3598 EVENT_OBJECT_REORDER = 32772
3599 EVENT_OBJECT_FOCUS = 32773
3600 EVENT_OBJECT_SELECTION = 32774
3601 EVENT_OBJECT_SELECTIONADD = 32775
3602 EVENT_OBJECT_SELECTIONREMOVE = 32776
3603 EVENT_OBJECT_SELECTIONWITHIN = 32777
3604 EVENT_OBJECT_STATECHANGE = 32778
3605 EVENT_OBJECT_LOCATIONCHANGE = 32779
3606 EVENT_OBJECT_NAMECHANGE = 32780
3607 EVENT_OBJECT_DESCRIPTIONCHANGE = 32781
3608 EVENT_OBJECT_VALUECHANGE = 32782
3609 EVENT_OBJECT_PARENTCHANGE = 32783
3610 EVENT_OBJECT_HELPCHANGE = 32784
3611 EVENT_OBJECT_DEFACTIONCHANGE = 32785
3612 EVENT_OBJECT_ACCELERATORCHANGE = 32786
3613 SOUND_SYSTEM_STARTUP = 1
3614 SOUND_SYSTEM_SHUTDOWN = 2
3615 SOUND_SYSTEM_BEEP = 3
3616 SOUND_SYSTEM_ERROR = 4
3617 SOUND_SYSTEM_QUESTION = 5
3618 SOUND_SYSTEM_WARNING = 6
3619 SOUND_SYSTEM_INFORMATION = 7
3620 SOUND_SYSTEM_MAXIMIZE = 8
3621 SOUND_SYSTEM_MINIMIZE = 9
3622 SOUND_SYSTEM_RESTOREUP = 10
3623 SOUND_SYSTEM_RESTOREDOWN = 11
3624 SOUND_SYSTEM_APPSTART = 12
3625 SOUND_SYSTEM_FAULT = 13
3626 SOUND_SYSTEM_APPEND = 14
3627 SOUND_SYSTEM_MENUCOMMAND = 15
3628 SOUND_SYSTEM_MENUPOPUP = 16
3629 CSOUND_SYSTEM = 16
3630 ALERT_SYSTEM_INFORMATIONAL = 1
3631 ALERT_SYSTEM_WARNING = 2
3632 ALERT_SYSTEM_ERROR = 3
3633 ALERT_SYSTEM_QUERY = 4
3634 ALERT_SYSTEM_CRITICAL = 5
3635 CALERT_SYSTEM = 6
3636 WINEVENT_OUTOFCONTEXT = 0
3637 WINEVENT_SKIPOWNTHREAD = 1
3638 WINEVENT_SKIPOWNPROCESS = 2
3639 WINEVENT_INCONTEXT = 4
3640 GUI_CARETBLINKING = 1
3641 GUI_INMOVESIZE = 2
3642 GUI_INMENUMODE = 4
3643 GUI_SYSTEMMENUMODE = 8
3644 GUI_POPUPMENUMODE = 16
3645 STATE_SYSTEM_UNAVAILABLE = 1
3646 STATE_SYSTEM_SELECTED = 2
3647 STATE_SYSTEM_FOCUSED = 4
3648 STATE_SYSTEM_PRESSED = 8
3649 STATE_SYSTEM_CHECKED = 16
3650 STATE_SYSTEM_MIXED = 32
3651 STATE_SYSTEM_READONLY = 64
3652 STATE_SYSTEM_HOTTRACKED = 128
3653 STATE_SYSTEM_DEFAULT = 256
3654 STATE_SYSTEM_EXPANDED = 512
3655 STATE_SYSTEM_COLLAPSED = 1024
3656 STATE_SYSTEM_BUSY = 2048
3657 STATE_SYSTEM_FLOATING = 4096
3658 STATE_SYSTEM_MARQUEED = 8192
3659 STATE_SYSTEM_ANIMATED = 16384
3660 STATE_SYSTEM_INVISIBLE = 32768
3661 STATE_SYSTEM_OFFSCREEN = 65536
3662 STATE_SYSTEM_SIZEABLE = 131072
3663 STATE_SYSTEM_MOVEABLE = 262144
3664 STATE_SYSTEM_SELFVOICING = 524288
3665 STATE_SYSTEM_FOCUSABLE = 1048576
3666 STATE_SYSTEM_SELECTABLE = 2097152
3667 STATE_SYSTEM_LINKED = 4194304
3668 STATE_SYSTEM_TRAVERSED = 8388608
3669 STATE_SYSTEM_MULTISELECTABLE = 16777216
3670 STATE_SYSTEM_EXTSELECTABLE = 33554432
3671 STATE_SYSTEM_ALERT_LOW = 67108864
3672 STATE_SYSTEM_ALERT_MEDIUM = 134217728
3673 STATE_SYSTEM_ALERT_HIGH = 268435456
3674 STATE_SYSTEM_VALID = 536870911
3675 CCHILDREN_TITLEBAR = 5
3676 CCHILDREN_SCROLLBAR = 5
3677 CURSOR_SHOWING = 1
3678 WS_ACTIVECAPTION = 1
3679 GA_MIC = 1
3680 GA_PARENT = 1
3681 GA_ROOT = 2
3682 GA_ROOTOWNER = 3
3683 GA_MAC = 4
3684 
3685 # winuser.h line 1979
3686 BF_LEFT = 1
3687 BF_TOP = 2
3688 BF_RIGHT = 4
3689 BF_BOTTOM = 8
3690 BF_TOPLEFT = (BF_TOP | BF_LEFT)
3691 BF_TOPRIGHT = (BF_TOP | BF_RIGHT)
3692 BF_BOTTOMLEFT = (BF_BOTTOM | BF_LEFT)
3693 BF_BOTTOMRIGHT = (BF_BOTTOM | BF_RIGHT)
3694 BF_RECT = (BF_LEFT | BF_TOP | BF_RIGHT | BF_BOTTOM)
3695 BF_DIAGONAL = 16
3696 BF_DIAGONAL_ENDTOPRIGHT = (BF_DIAGONAL | BF_TOP | BF_RIGHT)
3697 BF_DIAGONAL_ENDTOPLEFT = (BF_DIAGONAL | BF_TOP | BF_LEFT)
3698 BF_DIAGONAL_ENDBOTTOMLEFT = (BF_DIAGONAL | BF_BOTTOM | BF_LEFT)
3699 BF_DIAGONAL_ENDBOTTOMRIGHT = (BF_DIAGONAL | BF_BOTTOM | BF_RIGHT)
3700 BF_MIDDLE = 2048
3701 BF_SOFT = 4096
3702 BF_ADJUST = 8192
3703 BF_FLAT = 16384
3704 BF_MONO = 32768
3705 DFC_CAPTION = 1
3706 DFC_MENU = 2
3707 DFC_SCROLL = 3
3708 DFC_BUTTON = 4
3709 DFC_POPUPMENU = 5
3710 DFCS_CAPTIONCLOSE = 0
3711 DFCS_CAPTIONMIN = 1
3712 DFCS_CAPTIONMAX = 2
3713 DFCS_CAPTIONRESTORE = 3
3714 DFCS_CAPTIONHELP = 4
3715 DFCS_MENUARROW = 0
3716 DFCS_MENUCHECK = 1
3717 DFCS_MENUBULLET = 2
3718 DFCS_MENUARROWRIGHT = 4
3719 DFCS_SCROLLUP = 0
3720 DFCS_SCROLLDOWN = 1
3721 DFCS_SCROLLLEFT = 2
3722 DFCS_SCROLLRIGHT = 3
3723 DFCS_SCROLLCOMBOBOX = 5
3724 DFCS_SCROLLSIZEGRIP = 8
3725 DFCS_SCROLLSIZEGRIPRIGHT = 16
3726 DFCS_BUTTONCHECK = 0
3727 DFCS_BUTTONRADIOIMAGE = 1
3728 DFCS_BUTTONRADIOMASK = 2
3729 DFCS_BUTTONRADIO = 4
3730 DFCS_BUTTON3STATE = 8
3731 DFCS_BUTTONPUSH = 16
3732 DFCS_INACTIVE = 256
3733 DFCS_PUSHED = 512
3734 DFCS_CHECKED = 1024
3735 DFCS_TRANSPARENT = 2048
3736 DFCS_HOT = 4096
3737 DFCS_ADJUSTRECT = 8192
3738 DFCS_FLAT = 16384
3739 DFCS_MONO = 32768
3740 DC_ACTIVE = 1
3741 DC_SMALLCAP = 2
3742 DC_ICON = 4
3743 DC_TEXT = 8
3744 DC_INBUTTON = 16
3745 DC_GRADIENT = 32
3746 IDANI_OPEN = 1
3747 IDANI_CLOSE = 2
3748 IDANI_CAPTION = 3
3749 CF_TEXT = 1
3750 CF_BITMAP = 2
3751 CF_METAFILEPICT = 3
3752 CF_SYLK = 4
3753 CF_DIF = 5
3754 CF_TIFF = 6
3755 CF_OEMTEXT = 7
3756 CF_DIB = 8
3757 CF_PALETTE = 9
3758 CF_PENDATA = 10
3759 CF_RIFF = 11
3760 CF_WAVE = 12
3761 CF_UNICODETEXT = 13
3762 CF_ENHMETAFILE = 14
3763 CF_HDROP = 15
3764 CF_LOCALE = 16
3765 CF_MAX = 17
3766 CF_OWNERDISPLAY = 128
3767 CF_DSPTEXT = 129
3768 CF_DSPBITMAP = 130
3769 CF_DSPMETAFILEPICT = 131
3770 CF_DSPENHMETAFILE = 142
3771 CF_PRIVATEFIRST = 512
3772 CF_PRIVATELAST = 767
3773 CF_GDIOBJFIRST = 768
3774 CF_GDIOBJLAST = 1023
3775 FVIRTKEY =1
3776 FNOINVERT = 2
3777 FSHIFT = 4
3778 FCONTROL = 8
3779 FALT = 16
3780 WPF_SETMINPOSITION = 1
3781 WPF_RESTORETOMAXIMIZED = 2
3782 ODT_MENU = 1
3783 ODT_LISTBOX = 2
3784 ODT_COMBOBOX = 3
3785 ODT_BUTTON = 4
3786 ODT_STATIC = 5
3787 ODA_DRAWENTIRE = 1
3788 ODA_SELECT = 2
3789 ODA_FOCUS = 4
3790 ODS_SELECTED = 1
3791 ODS_GRAYED = 2
3792 ODS_DISABLED = 4
3793 ODS_CHECKED = 8
3794 ODS_FOCUS = 16
3795 ODS_DEFAULT = 32
3796 ODS_COMBOBOXEDIT = 4096
3797 ODS_HOTLIGHT = 64
3798 ODS_INACTIVE = 128
3799 PM_NOREMOVE = 0
3800 PM_REMOVE = 1
3801 PM_NOYIELD = 2
3802 MOD_ALT = 1
3803 MOD_CONTROL = 2
3804 MOD_SHIFT = 4
3805 MOD_WIN = 8
3806 IDHOT_SNAPWINDOW = (-1)
3807 IDHOT_SNAPDESKTOP = (-2)
3808 #EW_RESTARTWINDOWS = 0x0042
3809 #EW_REBOOTSYSTEM = 0x0043
3810 #EW_EXITANDEXECAPP = 0x0044
3811 ENDSESSION_LOGOFF = -2147483648
3812 EWX_LOGOFF = 0
3813 EWX_SHUTDOWN = 1
3814 EWX_REBOOT = 2
3815 EWX_FORCE = 4
3816 EWX_POWEROFF = 8
3817 EWX_FORCEIFHUNG = 16
3818 BSM_ALLCOMPONENTS = 0
3819 BSM_VXDS = 1
3820 BSM_NETDRIVER = 2
3821 BSM_INSTALLABLEDRIVERS = 4
3822 BSM_APPLICATIONS = 8
3823 BSM_ALLDESKTOPS = 16
3824 BSF_QUERY = 1
3825 BSF_IGNORECURRENTTASK = 2
3826 BSF_FLUSHDISK = 4
3827 BSF_NOHANG = 8
3828 BSF_POSTMESSAGE = 16
3829 BSF_FORCEIFHUNG = 32
3830 BSF_NOTIMEOUTIFNOTHUNG = 64
3831 BROADCAST_QUERY_DENY = 1112363332  # Return this value to deny a query.
3832 
3833 DBWF_LPARAMPOINTER = 32768
3834 
3835 # winuser.h line 3232
3836 SWP_NOSIZE = 1
3837 SWP_NOMOVE = 2
3838 SWP_NOZORDER = 4
3839 SWP_NOREDRAW = 8
3840 SWP_NOACTIVATE = 16
3841 SWP_FRAMECHANGED = 32
3842 SWP_SHOWWINDOW = 64
3843 SWP_HIDEWINDOW = 128
3844 SWP_NOCOPYBITS = 256
3845 SWP_NOOWNERZORDER = 512
3846 SWP_NOSENDCHANGING = 1024
3847 SWP_DRAWFRAME = SWP_FRAMECHANGED
3848 SWP_NOREPOSITION = SWP_NOOWNERZORDER
3849 SWP_DEFERERASE = 8192
3850 SWP_ASYNCWINDOWPOS = 16384
3851 
3852 DLGWINDOWEXTRA = 30
3853 # winuser.h line 4249
3854 KEYEVENTF_EXTENDEDKEY = 1
3855 KEYEVENTF_KEYUP = 2
3856 MOUSEEVENTF_MOVE = 1
3857 MOUSEEVENTF_LEFTDOWN = 2
3858 MOUSEEVENTF_LEFTUP = 4
3859 MOUSEEVENTF_RIGHTDOWN = 8
3860 MOUSEEVENTF_RIGHTUP = 16
3861 MOUSEEVENTF_MIDDLEDOWN = 32
3862 MOUSEEVENTF_MIDDLEUP = 64
3863 MOUSEEVENTF_ABSOLUTE = 32768
3864 INPUT_MOUSE = 0
3865 INPUT_KEYBOARD = 1
3866 INPUT_HARDWARE = 2
3867 MWMO_WAITALL = 1
3868 MWMO_ALERTABLE = 2
3869 MWMO_INPUTAVAILABLE = 4
3870 QS_KEY = 1
3871 QS_MOUSEMOVE = 2
3872 QS_MOUSEBUTTON = 4
3873 QS_POSTMESSAGE = 8
3874 QS_TIMER = 16
3875 QS_PAINT = 32
3876 QS_SENDMESSAGE = 64
3877 QS_HOTKEY = 128
3878 QS_MOUSE = (QS_MOUSEMOVE     | \
3879                             QS_MOUSEBUTTON)
3880 QS_INPUT = (QS_MOUSE         | \
3881                             QS_KEY)
3882 QS_ALLEVENTS = (QS_INPUT         | \
3883                             QS_POSTMESSAGE   | \
3884                             QS_TIMER         | \
3885                             QS_PAINT         | \
3886                             QS_HOTKEY)
3887 QS_ALLINPUT = (QS_INPUT         | \
3888                             QS_POSTMESSAGE   | \
3889                             QS_TIMER         | \
3890                             QS_PAINT         | \
3891                             QS_HOTKEY        | \
3892                             QS_SENDMESSAGE)
3893 
3894 
3895 IMN_CLOSESTATUSWINDOW = 1
3896 IMN_OPENSTATUSWINDOW = 2
3897 IMN_CHANGECANDIDATE = 3
3898 IMN_CLOSECANDIDATE = 4
3899 IMN_OPENCANDIDATE = 5
3900 IMN_SETCONVERSIONMODE = 6
3901 IMN_SETSENTENCEMODE = 7
3902 IMN_SETOPENSTATUS = 8
3903 IMN_SETCANDIDATEPOS = 9
3904 IMN_SETCOMPOSITIONFONT = 10
3905 IMN_SETCOMPOSITIONWINDOW = 11
3906 IMN_SETSTATUSWINDOWPOS = 12
3907 IMN_GUIDELINE = 13
3908 IMN_PRIVATE = 14
3909 
3910 # winuser.h line 8518
3911 HELP_CONTEXT = 1
3912 HELP_QUIT = 2
3913 HELP_INDEX = 3
3914 HELP_CONTENTS = 3
3915 HELP_HELPONHELP = 4
3916 HELP_SETINDEX = 5
3917 HELP_SETCONTENTS = 5
3918 HELP_CONTEXTPOPUP = 8
3919 HELP_FORCEFILE = 9
3920 HELP_KEY = 257
3921 HELP_COMMAND = 258
3922 HELP_PARTIALKEY = 261
3923 HELP_MULTIKEY = 513
3924 HELP_SETWINPOS = 515
3925 HELP_CONTEXTMENU = 10
3926 HELP_FINDER = 11
3927 HELP_WM_HELP = 12
3928 HELP_SETPOPUP_POS = 13
3929 HELP_TCARD = 32768
3930 HELP_TCARD_DATA = 16
3931 HELP_TCARD_OTHER_CALLER = 17
3932 IDH_NO_HELP = 28440
3933 IDH_MISSING_CONTEXT = 28441 # Control doesn't have matching help context
3934 IDH_GENERIC_HELP_BUTTON = 28442 # Property sheet help button
3935 IDH_OK = 28443
3936 IDH_CANCEL = 28444
3937 IDH_HELP = 28445
3938 GR_GDIOBJECTS = 0      # Count of GDI objects
3939 GR_USEROBJECTS = 1     # Count of USER objects
3940 # Generated by h2py from \msvcnt\include\wingdi.h
3941 # manually added (missed by generation some how!
3942 SRCCOPY                = 13369376        # dest = source
3943 SRCPAINT        = 15597702        # dest = source OR dest
3944 SRCAND                = 8913094        # dest = source AND dest
3945 SRCINVERT        = 6684742        # dest = source XOR dest
3946 SRCERASE        = 4457256        # dest = source AND (NOT dest )
3947 NOTSRCCOPY        = 3342344        # dest = (NOT source)
3948 NOTSRCERASE        = 1114278        # dest = (NOT src) AND (NOT dest)
3949 MERGECOPY        = 12583114        # dest = (source AND pattern)
3950 MERGEPAINT        = 12255782        # dest = (NOT source) OR dest
3951 PATCOPY                = 15728673        # dest = pattern
3952 PATPAINT        = 16452105        # dest = DPSnoo
3953 PATINVERT        = 5898313        # dest = pattern XOR dest
3954 DSTINVERT        = 5570569        # dest = (NOT dest)
3955 BLACKNESS        = 66        # dest = BLACK
3956 WHITENESS        = 16711778        # dest = WHITE
3957 
3958 # hacked and split manually by mhammond.
3959 R2_BLACK = 1
3960 R2_NOTMERGEPEN = 2
3961 R2_MASKNOTPEN = 3
3962 R2_NOTCOPYPEN = 4
3963 R2_MASKPENNOT = 5
3964 R2_NOT = 6
3965 R2_XORPEN = 7
3966 R2_NOTMASKPEN = 8
3967 R2_MASKPEN = 9
3968 R2_NOTXORPEN = 10
3969 R2_NOP = 11
3970 R2_MERGENOTPEN = 12
3971 R2_COPYPEN = 13
3972 R2_MERGEPENNOT = 14
3973 R2_MERGEPEN = 15
3974 R2_WHITE = 16
3975 R2_LAST = 16
3976 GDI_ERROR = (-1)
3977 ERROR = 0
3978 NULLREGION = 1
3979 SIMPLEREGION = 2
3980 COMPLEXREGION = 3
3981 RGN_ERROR = ERROR
3982 RGN_AND = 1
3983 RGN_OR = 2
3984 RGN_XOR = 3
3985 RGN_DIFF = 4
3986 RGN_COPY = 5
3987 RGN_MIN = RGN_AND
3988 RGN_MAX = RGN_COPY
3989 BLACKONWHITE = 1
3990 WHITEONBLACK = 2
3991 COLORONCOLOR = 3
3992 HALFTONE = 4
3993 MAXSTRETCHBLTMODE = 4
3994 ALTERNATE = 1
3995 WINDING = 2
3996 POLYFILL_LAST = 2
3997 TA_NOUPDATECP = 0
3998 TA_UPDATECP = 1
3999 TA_LEFT = 0
4000 TA_RIGHT = 2
4001 TA_CENTER = 6
4002 TA_TOP = 0
4003 TA_BOTTOM = 8
4004 TA_BASELINE = 24
4005 TA_MASK = (TA_BASELINE+TA_CENTER+TA_UPDATECP)
4006 VTA_BASELINE = TA_BASELINE
4007 VTA_LEFT = TA_BOTTOM
4008 VTA_RIGHT = TA_TOP
4009 VTA_CENTER = TA_CENTER
4010 VTA_BOTTOM = TA_RIGHT
4011 VTA_TOP = TA_LEFT
4012 ETO_GRAYED = 1
4013 ETO_OPAQUE = 2
4014 ETO_CLIPPED = 4
4015 ASPECT_FILTERING = 1
4016 DCB_RESET = 1
4017 DCB_ACCUMULATE = 2
4018 DCB_DIRTY = DCB_ACCUMULATE
4019 DCB_SET = (DCB_RESET | DCB_ACCUMULATE)
4020 DCB_ENABLE = 4
4021 DCB_DISABLE = 8
4022 META_SETBKCOLOR = 513
4023 META_SETBKMODE = 258
4024 META_SETMAPMODE = 259
4025 META_SETROP2 = 260
4026 META_SETRELABS = 261
4027 META_SETPOLYFILLMODE = 262
4028 META_SETSTRETCHBLTMODE = 263
4029 META_SETTEXTCHAREXTRA = 264
4030 META_SETTEXTCOLOR = 521
4031 META_SETTEXTJUSTIFICATION = 522
4032 META_SETWINDOWORG = 523
4033 META_SETWINDOWEXT = 524
4034 META_SETVIEWPORTORG = 525
4035 META_SETVIEWPORTEXT = 526
4036 META_OFFSETWINDOWORG = 527
4037 META_SCALEWINDOWEXT = 1040
4038 META_OFFSETVIEWPORTORG = 529
4039 META_SCALEVIEWPORTEXT = 1042
4040 META_LINETO = 531
4041 META_MOVETO = 532
4042 META_EXCLUDECLIPRECT = 1045
4043 META_INTERSECTCLIPRECT = 1046
4044 META_ARC = 2071
4045 META_ELLIPSE = 1048
4046 META_FLOODFILL = 1049
4047 META_PIE = 2074
4048 META_RECTANGLE = 1051
4049 META_ROUNDRECT = 1564
4050 META_PATBLT = 1565
4051 META_SAVEDC = 30
4052 META_SETPIXEL = 1055
4053 META_OFFSETCLIPRGN = 544
4054 META_TEXTOUT = 1313
4055 META_BITBLT = 2338
4056 META_STRETCHBLT = 2851
4057 META_POLYGON = 804
4058 META_POLYLINE = 805
4059 META_ESCAPE = 1574
4060 META_RESTOREDC = 295
4061 META_FILLREGION = 552
4062 META_FRAMEREGION = 1065
4063 META_INVERTREGION = 298
4064 META_PAINTREGION = 299
4065 META_SELECTCLIPREGION = 300
4066 META_SELECTOBJECT = 301
4067 META_SETTEXTALIGN = 302
4068 META_CHORD = 2096
4069 META_SETMAPPERFLAGS = 561
4070 META_EXTTEXTOUT = 2610
4071 META_SETDIBTODEV = 3379
4072 META_SELECTPALETTE = 564
4073 META_REALIZEPALETTE = 53
4074 META_ANIMATEPALETTE = 1078
4075 META_SETPALENTRIES = 55
4076 META_POLYPOLYGON = 1336
4077 META_RESIZEPALETTE = 313
4078 META_DIBBITBLT = 2368
4079 META_DIBSTRETCHBLT = 2881
4080 META_DIBCREATEPATTERNBRUSH = 322
4081 META_STRETCHDIB = 3907
4082 META_EXTFLOODFILL = 1352
4083 META_DELETEOBJECT = 496
4084 META_CREATEPALETTE = 247
4085 META_CREATEPATTERNBRUSH = 505
4086 META_CREATEPENINDIRECT = 762
4087 META_CREATEFONTINDIRECT = 763
4088 META_CREATEBRUSHINDIRECT = 764
4089 META_CREATEREGION = 1791
4090 FILE_BEGIN = 0
4091 FILE_CURRENT = 1
4092 FILE_END = 2
4093 FILE_FLAG_WRITE_THROUGH = -2147483648
4094 FILE_FLAG_OVERLAPPED = 1073741824
4095 FILE_FLAG_NO_BUFFERING = 536870912
4096 FILE_FLAG_RANDOM_ACCESS = 268435456
4097 FILE_FLAG_SEQUENTIAL_SCAN = 134217728
4098 FILE_FLAG_DELETE_ON_CLOSE = 67108864
4099 FILE_FLAG_BACKUP_SEMANTICS = 33554432
4100 FILE_FLAG_POSIX_SEMANTICS = 16777216
4101 CREATE_NEW = 1
4102 CREATE_ALWAYS = 2
4103 OPEN_EXISTING = 3
4104 OPEN_ALWAYS = 4
4105 TRUNCATE_EXISTING = 5
4106 PIPE_ACCESS_INBOUND = 1
4107 PIPE_ACCESS_OUTBOUND = 2
4108 PIPE_ACCESS_DUPLEX = 3
4109 PIPE_CLIENT_END = 0
4110 PIPE_SERVER_END = 1
4111 PIPE_WAIT = 0
4112 PIPE_NOWAIT = 1
4113 PIPE_READMODE_BYTE = 0
4114 PIPE_READMODE_MESSAGE = 2
4115 PIPE_TYPE_BYTE = 0
4116 PIPE_TYPE_MESSAGE = 4
4117 PIPE_UNLIMITED_INSTANCES = 255
4118 SECURITY_CONTEXT_TRACKING = 262144
4119 SECURITY_EFFECTIVE_ONLY = 524288
4120 SECURITY_SQOS_PRESENT = 1048576
4121 SECURITY_VALID_SQOS_FLAGS = 2031616
4122 DTR_CONTROL_DISABLE = 0
4123 DTR_CONTROL_ENABLE = 1
4124 DTR_CONTROL_HANDSHAKE = 2
4125 RTS_CONTROL_DISABLE = 0
4126 RTS_CONTROL_ENABLE = 1
4127 RTS_CONTROL_HANDSHAKE = 2
4128 RTS_CONTROL_TOGGLE = 3
4129 GMEM_FIXED = 0
4130 GMEM_MOVEABLE = 2
4131 GMEM_NOCOMPACT = 16
4132 GMEM_NODISCARD = 32
4133 GMEM_ZEROINIT = 64
4134 GMEM_MODIFY = 128
4135 GMEM_DISCARDABLE = 256
4136 GMEM_NOT_BANKED = 4096
4137 GMEM_SHARE = 8192
4138 GMEM_DDESHARE = 8192
4139 GMEM_NOTIFY = 16384
4140 GMEM_LOWER = GMEM_NOT_BANKED
4141 GMEM_VALID_FLAGS = 32626
4142 GMEM_INVALID_HANDLE = 32768
4143 GHND = (GMEM_MOVEABLE | GMEM_ZEROINIT)
4144 GPTR = (GMEM_FIXED | GMEM_ZEROINIT)
4145 GMEM_DISCARDED = 16384
4146 GMEM_LOCKCOUNT = 255
4147 LMEM_FIXED = 0
4148 LMEM_MOVEABLE = 2
4149 LMEM_NOCOMPACT = 16
4150 LMEM_NODISCARD = 32
4151 LMEM_ZEROINIT = 64
4152 LMEM_MODIFY = 128
4153 LMEM_DISCARDABLE = 3840
4154 LMEM_VALID_FLAGS = 3954
4155 LMEM_INVALID_HANDLE = 32768
4156 LHND = (LMEM_MOVEABLE | LMEM_ZEROINIT)
4157 LPTR = (LMEM_FIXED | LMEM_ZEROINIT)
4158 NONZEROLHND = (LMEM_MOVEABLE)
4159 NONZEROLPTR = (LMEM_FIXED)
4160 LMEM_DISCARDED = 16384
4161 LMEM_LOCKCOUNT = 255
4162 DEBUG_PROCESS = 1
4163 DEBUG_ONLY_THIS_PROCESS = 2
4164 CREATE_SUSPENDED = 4
4165 DETACHED_PROCESS = 8
4166 CREATE_NEW_CONSOLE = 16
4167 NORMAL_PRIORITY_CLASS = 32
4168 IDLE_PRIORITY_CLASS = 64
4169 HIGH_PRIORITY_CLASS = 128
4170 REALTIME_PRIORITY_CLASS = 256
4171 CREATE_NEW_PROCESS_GROUP = 512
4172 CREATE_UNICODE_ENVIRONMENT = 1024
4173 CREATE_SEPARATE_WOW_VDM = 2048
4174 CREATE_SHARED_WOW_VDM = 4096
4175 CREATE_DEFAULT_ERROR_MODE = 67108864
4176 CREATE_NO_WINDOW = 134217728
4177 PROFILE_USER = 268435456
4178 PROFILE_KERNEL = 536870912
4179 PROFILE_SERVER = 1073741824
4180 THREAD_BASE_PRIORITY_LOWRT  = 15
4181 THREAD_BASE_PRIORITY_MAX =   2
4182 THREAD_BASE_PRIORITY_MIN =  -2
4183 THREAD_BASE_PRIORITY_IDLE = -15
4184 THREAD_PRIORITY_LOWEST = THREAD_BASE_PRIORITY_MIN
4185 THREAD_PRIORITY_BELOW_NORMAL = THREAD_PRIORITY_LOWEST+1
4186 THREAD_PRIORITY_HIGHEST =         THREAD_BASE_PRIORITY_MAX
4187 THREAD_PRIORITY_ABOVE_NORMAL =   THREAD_PRIORITY_HIGHEST-1
4188 THREAD_PRIORITY_ERROR_RETURN =   MAXLONG
4189 THREAD_PRIORITY_TIME_CRITICAL   = THREAD_BASE_PRIORITY_LOWRT
4190 THREAD_PRIORITY_IDLE            = THREAD_BASE_PRIORITY_IDLE
4191 THREAD_PRIORITY_NORMAL = 0
4192 EXCEPTION_DEBUG_EVENT = 1
4193 CREATE_THREAD_DEBUG_EVENT = 2
4194 CREATE_PROCESS_DEBUG_EVENT = 3
4195 EXIT_THREAD_DEBUG_EVENT = 4
4196 EXIT_PROCESS_DEBUG_EVENT = 5
4197 LOAD_DLL_DEBUG_EVENT = 6
4198 UNLOAD_DLL_DEBUG_EVENT = 7
4199 OUTPUT_DEBUG_STRING_EVENT = 8
4200 RIP_EVENT = 9
4201 DRIVE_UNKNOWN = 0
4202 DRIVE_NO_ROOT_DIR = 1
4203 DRIVE_REMOVABLE = 2
4204 DRIVE_FIXED = 3
4205 DRIVE_REMOTE = 4
4206 DRIVE_CDROM = 5
4207 DRIVE_RAMDISK = 6
4208 FILE_TYPE_UNKNOWN = 0
4209 FILE_TYPE_DISK = 1
4210 FILE_TYPE_CHAR = 2
4211 FILE_TYPE_PIPE = 3
4212 FILE_TYPE_REMOTE = 32768
4213 NOPARITY = 0
4214 ODDPARITY = 1
4215 EVENPARITY = 2
4216 MARKPARITY = 3
4217 SPACEPARITY = 4
4218 ONESTOPBIT = 0
4219 ONE5STOPBITS = 1
4220 TWOSTOPBITS = 2
4221 CBR_110 = 110
4222 CBR_300 = 300
4223 CBR_600 = 600
4224 CBR_1200 = 1200
4225 CBR_2400 = 2400
4226 CBR_4800 = 4800
4227 CBR_9600 = 9600
4228 CBR_14400 = 14400
4229 CBR_19200 = 19200
4230 CBR_38400 = 38400
4231 CBR_56000 = 56000
4232 CBR_57600 = 57600
4233 CBR_115200 = 115200
4234 CBR_128000 = 128000
4235 CBR_256000 = 256000
4236 S_QUEUEEMPTY = 0
4237 S_THRESHOLD = 1
4238 S_ALLTHRESHOLD = 2
4239 S_NORMAL = 0
4240 S_LEGATO = 1
4241 S_STACCATO = 2
4242 NMPWAIT_WAIT_FOREVER = -1
4243 NMPWAIT_NOWAIT = 1
4244 NMPWAIT_USE_DEFAULT_WAIT = 0
4245 OF_READ = 0
4246 OF_WRITE = 1
4247 OF_READWRITE = 2
4248 OF_SHARE_COMPAT = 0
4249 OF_SHARE_EXCLUSIVE = 16
4250 OF_SHARE_DENY_WRITE = 32
4251 OF_SHARE_DENY_READ = 48
4252 OF_SHARE_DENY_NONE = 64
4253 OF_PARSE = 256
4254 OF_DELETE = 512
4255 OF_VERIFY = 1024
4256 OF_CANCEL = 2048
4257 OF_CREATE = 4096
4258 OF_PROMPT = 8192
4259 OF_EXIST = 16384
4260 OF_REOPEN = 32768
4261 OFS_MAXPATHNAME = 128
4262 MAXINTATOM = 49152
4263 
4264 # winbase.h
4265 PROCESS_HEAP_REGION = 1
4266 PROCESS_HEAP_UNCOMMITTED_RANGE = 2
4267 PROCESS_HEAP_ENTRY_BUSY = 4
4268 PROCESS_HEAP_ENTRY_MOVEABLE = 16
4269 PROCESS_HEAP_ENTRY_DDESHARE = 32
4270 SCS_32BIT_BINARY = 0
4271 SCS_DOS_BINARY = 1
4272 SCS_WOW_BINARY = 2
4273 SCS_PIF_BINARY = 3
4274 SCS_POSIX_BINARY = 4
4275 SCS_OS216_BINARY = 5
4276 SEM_FAILCRITICALERRORS = 1
4277 SEM_NOGPFAULTERRORBOX = 2
4278 SEM_NOALIGNMENTFAULTEXCEPT = 4
4279 SEM_NOOPENFILEERRORBOX = 32768
4280 LOCKFILE_FAIL_IMMEDIATELY = 1
4281 LOCKFILE_EXCLUSIVE_LOCK = 2
4282 HANDLE_FLAG_INHERIT = 1
4283 HANDLE_FLAG_PROTECT_FROM_CLOSE = 2
4284 HINSTANCE_ERROR = 32
4285 GET_TAPE_MEDIA_INFORMATION = 0
4286 GET_TAPE_DRIVE_INFORMATION = 1
4287 SET_TAPE_MEDIA_INFORMATION = 0
4288 SET_TAPE_DRIVE_INFORMATION = 1
4289 FORMAT_MESSAGE_ALLOCATE_BUFFER = 256
4290 FORMAT_MESSAGE_IGNORE_INSERTS = 512
4291 FORMAT_MESSAGE_FROM_STRING = 1024
4292 FORMAT_MESSAGE_FROM_HMODULE = 2048
4293 FORMAT_MESSAGE_FROM_SYSTEM = 4096
4294 FORMAT_MESSAGE_ARGUMENT_ARRAY = 8192
4295 FORMAT_MESSAGE_MAX_WIDTH_MASK = 255
4296 BACKUP_INVALID = 0
4297 BACKUP_DATA = 1
4298 BACKUP_EA_DATA = 2
4299 BACKUP_SECURITY_DATA = 3
4300 BACKUP_ALTERNATE_DATA = 4
4301 BACKUP_LINK = 5
4302 BACKUP_PROPERTY_DATA = 6
4303 STREAM_NORMAL_ATTRIBUTE = 0
4304 STREAM_MODIFIED_WHEN_READ = 1
4305 STREAM_CONTAINS_SECURITY = 2
4306 STREAM_CONTAINS_PROPERTIES = 4
4307 STARTF_USESHOWWINDOW = 1
4308 STARTF_USESIZE = 2
4309 STARTF_USEPOSITION = 4
4310 STARTF_USECOUNTCHARS = 8
4311 STARTF_USEFILLATTRIBUTE = 16
4312 STARTF_FORCEONFEEDBACK = 64
4313 STARTF_FORCEOFFFEEDBACK = 128
4314 STARTF_USESTDHANDLES = 256
4315 STARTF_USEHOTKEY = 512
4316 SHUTDOWN_NORETRY = 1
4317 DONT_RESOLVE_DLL_REFERENCES = 1
4318 LOAD_LIBRARY_AS_DATAFILE = 2
4319 LOAD_WITH_ALTERED_SEARCH_PATH = 8
4320 DDD_RAW_TARGET_PATH = 1
4321 DDD_REMOVE_DEFINITION = 2
4322 DDD_EXACT_MATCH_ON_REMOVE = 4
4323 MOVEFILE_REPLACE_EXISTING = 1
4324 MOVEFILE_COPY_ALLOWED = 2
4325 MOVEFILE_DELAY_UNTIL_REBOOT = 4
4326 MAX_COMPUTERNAME_LENGTH = 15
4327 LOGON32_LOGON_INTERACTIVE = 2
4328 LOGON32_LOGON_BATCH = 4
4329 LOGON32_LOGON_SERVICE = 5
4330 LOGON32_PROVIDER_DEFAULT = 0
4331 LOGON32_PROVIDER_WINNT35 = 1
4332 VER_PLATFORM_WIN32s = 0
4333 VER_PLATFORM_WIN32_WINDOWS = 1
4334 VER_PLATFORM_WIN32_NT = 2
4335 TC_NORMAL = 0
4336 TC_HARDERR = 1
4337 TC_GP_TRAP = 2
4338 TC_SIGNAL = 3
4339 AC_LINE_OFFLINE = 0
4340 AC_LINE_ONLINE = 1
4341 AC_LINE_BACKUP_POWER = 2
4342 AC_LINE_UNKNOWN = 255
4343 BATTERY_FLAG_HIGH = 1
4344 BATTERY_FLAG_LOW = 2
4345 BATTERY_FLAG_CRITICAL = 4
4346 BATTERY_FLAG_CHARGING = 8
4347 BATTERY_FLAG_NO_BATTERY = 128
4348 BATTERY_FLAG_UNKNOWN = 255
4349 BATTERY_PERCENTAGE_UNKNOWN = 255
4350 BATTERY_LIFE_UNKNOWN = -1
4351 
4352 # Generated by h2py from d:\msdev\include\richedit.h
4353 cchTextLimitDefault = 32767
4354 WM_CONTEXTMENU = 123
4355 WM_PRINTCLIENT = 792
4356 EN_MSGFILTER = 1792
4357 EN_REQUESTRESIZE = 1793
4358 EN_SELCHANGE = 1794
4359 EN_DROPFILES = 1795
4360 EN_PROTECTED = 1796
4361 EN_CORRECTTEXT = 1797
4362 EN_STOPNOUNDO = 1798
4363 EN_IMECHANGE = 1799
4364 EN_SAVECLIPBOARD = 1800
4365 EN_OLEOPFAILED = 1801
4366 ENM_NONE = 0
4367 ENM_CHANGE = 1
4368 ENM_UPDATE = 2
4369 ENM_SCROLL = 4
4370 ENM_KEYEVENTS = 65536
4371 ENM_MOUSEEVENTS = 131072
4372 ENM_REQUESTRESIZE = 262144
4373 ENM_SELCHANGE = 524288
4374 ENM_DROPFILES = 1048576
4375 ENM_PROTECTED = 2097152
4376 ENM_CORRECTTEXT = 4194304
4377 ENM_IMECHANGE = 8388608
4378 ES_SAVESEL = 32768
4379 ES_SUNKEN = 16384
4380 ES_DISABLENOSCROLL = 8192
4381 ES_SELECTIONBAR = 16777216
4382 ES_EX_NOCALLOLEINIT = 16777216
4383 ES_VERTICAL = 4194304
4384 ES_NOIME = 524288
4385 ES_SELFIME = 262144
4386 ECO_AUTOWORDSELECTION = 1
4387 ECO_AUTOVSCROLL = 64
4388 ECO_AUTOHSCROLL = 128
4389 ECO_NOHIDESEL = 256
4390 ECO_READONLY = 2048
4391 ECO_WANTRETURN = 4096
4392 ECO_SAVESEL = 32768
4393 ECO_SELECTIONBAR = 16777216
4394 ECO_VERTICAL = 4194304
4395 ECOOP_SET = 1
4396 ECOOP_OR = 2
4397 ECOOP_AND = 3
4398 ECOOP_XOR = 4
4399 WB_CLASSIFY = 3
4400 WB_MOVEWORDLEFT = 4
4401 WB_MOVEWORDRIGHT = 5
4402 WB_LEFTBREAK = 6
4403 WB_RIGHTBREAK = 7
4404 WB_MOVEWORDPREV = 4
4405 WB_MOVEWORDNEXT = 5
4406 WB_PREVBREAK = 6
4407 WB_NEXTBREAK = 7
4408 PC_FOLLOWING = 1
4409 PC_LEADING = 2
4410 PC_OVERFLOW = 3
4411 PC_DELIMITER = 4
4412 WBF_WORDWRAP = 16
4413 WBF_WORDBREAK = 32
4414 WBF_OVERFLOW = 64
4415 WBF_LEVEL1 = 128
4416 WBF_LEVEL2 = 256
4417 WBF_CUSTOM = 512
4418 CFM_BOLD = 1
4419 CFM_ITALIC = 2
4420 CFM_UNDERLINE = 4
4421 CFM_STRIKEOUT = 8
4422 CFM_PROTECTED = 16
4423 CFM_SIZE = -2147483648
4424 CFM_COLOR = 1073741824
4425 CFM_FACE = 536870912
4426 CFM_OFFSET = 268435456
4427 CFM_CHARSET = 134217728
4428 CFE_BOLD = 1
4429 CFE_ITALIC = 2
4430 CFE_UNDERLINE = 4
4431 CFE_STRIKEOUT = 8
4432 CFE_PROTECTED = 16
4433 CFE_AUTOCOLOR = 1073741824
4434 yHeightCharPtsMost = 1638
4435 SCF_SELECTION = 1
4436 SCF_WORD = 2
4437 SF_TEXT = 1
4438 SF_RTF = 2
4439 SF_RTFNOOBJS = 3
4440 SF_TEXTIZED = 4
4441 SFF_SELECTION = 32768
4442 SFF_PLAINRTF = 16384
4443 MAX_TAB_STOPS = 32
4444 lDefaultTab = 720
4445 PFM_STARTINDENT = 1
4446 PFM_RIGHTINDENT = 2
4447 PFM_OFFSET = 4
4448 PFM_ALIGNMENT = 8
4449 PFM_TABSTOPS = 16
4450 PFM_NUMBERING = 32
4451 PFM_OFFSETINDENT = -2147483648
4452 PFN_BULLET = 1
4453 PFA_LEFT = 1
4454 PFA_RIGHT = 2
4455 PFA_CENTER = 3
4456 WM_NOTIFY = 78
4457 SEL_EMPTY = 0
4458 SEL_TEXT = 1
4459 SEL_OBJECT = 2
4460 SEL_MULTICHAR = 4
4461 SEL_MULTIOBJECT = 8
4462 OLEOP_DOVERB = 1
4463 CF_RTF = "Rich Text Format"
4464 CF_RTFNOOBJS = "Rich Text Format Without Objects"
4465 CF_RETEXTOBJ = "RichEdit Text and Objects"
4466 
4467 # From wincon.h
4468 RIGHT_ALT_PRESSED     = 1 # the right alt key is pressed.
4469 LEFT_ALT_PRESSED      = 2 # the left alt key is pressed.
4470 RIGHT_CTRL_PRESSED    = 4 # the right ctrl key is pressed.
4471 LEFT_CTRL_PRESSED     = 8 # the left ctrl key is pressed.
4472 SHIFT_PRESSED         = 16 # the shift key is pressed.
4473 NUMLOCK_ON            = 32 # the numlock light is on.
4474 SCROLLLOCK_ON         = 64 # the scrolllock light is on.
4475 CAPSLOCK_ON           = 128 # the capslock light is on.
4476 ENHANCED_KEY          = 256 # the key is enhanced.
4477 NLS_DBCSCHAR          = 65536 # DBCS for JPN: SBCS/DBCS mode.
4478 NLS_ALPHANUMERIC      = 0 # DBCS for JPN: Alphanumeric mode.
4479 NLS_KATAKANA          = 131072 # DBCS for JPN: Katakana mode.
4480 NLS_HIRAGANA          = 262144 # DBCS for JPN: Hiragana mode.
4481 NLS_ROMAN             = 4194304 # DBCS for JPN: Roman/Noroman mode.
4482 NLS_IME_CONVERSION    = 8388608 # DBCS for JPN: IME conversion.
4483 NLS_IME_DISABLE       = 536870912 # DBCS for JPN: IME enable/disable.
4484 
4485 FROM_LEFT_1ST_BUTTON_PRESSED    = 1
4486 RIGHTMOST_BUTTON_PRESSED        = 2
4487 FROM_LEFT_2ND_BUTTON_PRESSED    = 4
4488 FROM_LEFT_3RD_BUTTON_PRESSED    = 8
4489 FROM_LEFT_4TH_BUTTON_PRESSED    = 16
4490 
4491 CTRL_C_EVENT        = 0
4492 CTRL_BREAK_EVENT    = 1
4493 CTRL_CLOSE_EVENT    = 2
4494 CTRL_LOGOFF_EVENT   = 5
4495 CTRL_SHUTDOWN_EVENT = 6
4496 
4497 MOUSE_MOVED   = 1
4498 DOUBLE_CLICK  = 2
4499 MOUSE_WHEELED = 4
4500 
4501 # GetUserNameEx/GetComputerNameEx
4502 NameUnknown = 0
4503 NameFullyQualifiedDN = 1
4504 NameSamCompatible = 2
4505 NameDisplay = 3
4506 NameUniqueId = 6
4507 NameCanonical = 7
4508 NameUserPrincipal = 8
4509 NameCanonicalEx = 9
4510 NameServicePrincipal = 10
4511 NameDnsDomain = 12
4512 
4513 ComputerNameNetBIOS = 0
4514 ComputerNameDnsHostname = 1
4515 ComputerNameDnsDomain = 2
4516 ComputerNameDnsFullyQualified = 3
4517 ComputerNamePhysicalNetBIOS = 4
4518 ComputerNamePhysicalDnsHostname = 5
4519 ComputerNamePhysicalDnsDomain = 6
4520 ComputerNamePhysicalDnsFullyQualified = 7
4521 

Generated by PyXR 0.9.4
SourceForge.net Logo