Debugging API wrappers in ctypes.
|
FindWindowA(lpClassName=None,
lpWindowName=None) |
source code
|
|
|
FindWindowW(lpClassName=None,
lpWindowName=None) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SendMessageA(hWnd,
Msg,
wParam=0,
lParam=0) |
source code
|
|
|
SendMessageW(hWnd,
Msg,
wParam=0,
lParam=0) |
source code
|
|
|
PostMessageA(hWnd,
Msg,
wParam=0,
lParam=0) |
source code
|
|
|
PostMessageW(hWnd,
Msg,
wParam=0,
lParam=0) |
source code
|
|
|
PostThreadMessageA(idThread,
Msg,
wParam=0,
lParam=0) |
source code
|
|
|
PostThreadMessageW(idThread,
Msg,
wParam=0,
lParam=0) |
source code
|
|
|
SendMessageTimeoutA(hWnd,
Msg,
wParam=0,
lParam=0,
fuFlags=0,
uTimeout=0) |
source code
|
|
|
SendMessageTimeoutW(hWnd,
Msg,
wParam=0,
lParam=0) |
source code
|
|
|
SendNotifyMessageA(hWnd,
Msg,
wParam=0,
lParam=0) |
source code
|
|
|
SendNotifyMessageW(hWnd,
Msg,
wParam=0,
lParam=0) |
source code
|
|
|
SendDlgItemMessageA(hDlg,
nIDDlgItem,
Msg,
wParam=0,
lParam=0) |
source code
|
|
|
SendDlgItemMessageW(hDlg,
nIDDlgItem,
Msg,
wParam=0,
lParam=0) |
source code
|
|
|
|
|
|
|
__revision__ = ' $Id: user32.py 437 2009-11-08 10:10:51Z qvasim ...
|
|
GWL_WNDPROC = -4
|
|
GWL_HINSTANCE = -6
|
|
GWL_HWNDPARENT = -8
|
|
GWL_STYLE = -16
|
|
GWL_EXSTYLE = -20
|
|
GWL_USERDATA = -21
|
|
GWL_ID = -12
|
|
SW_HIDE = 0
|
|
SW_SHOWNORMAL = 1
|
|
SW_NORMAL = 1
|
|
SW_SHOWMINIMIZED = 2
|
|
SW_SHOWMAXIMIZED = 3
|
|
SW_MAXIMIZE = 3
|
|
SW_SHOWNOACTIVATE = 4
|
|
SW_SHOW = 5
|
|
SW_MINIMIZE = 6
|
|
SW_SHOWMINNOACTIVE = 7
|
|
SW_SHOWNA = 8
|
|
SW_RESTORE = 9
|
|
SW_SHOWDEFAULT = 10
|
|
SW_FORCEMINIMIZE = 11
|
|
SMTO_NORMAL = 0
|
|
SMTO_BLOCK = 1
|
|
SMTO_ABORTIFHUNG = 2
|
|
SMTO_NOTIMEOUTIFNOTHUNG = 8
|
|
SMTO_ERRORONEXIT = 32
|
|
WM_USER = 1024
|
|
WM_NULL = 0
|
|
WM_CREATE = 1
|
|
WM_DESTROY = 2
|
|
WM_MOVE = 3
|
|
WM_SIZE = 5
|
|
WM_ACTIVATE = 6
|
|
WA_INACTIVE = 0
|
|
WA_ACTIVE = 1
|
|
WA_CLICKACTIVE = 2
|
|
WM_SETFOCUS = 7
|
|
WM_KILLFOCUS = 8
|
|
WM_ENABLE = 10
|
|
WM_SETREDRAW = 11
|
|
WM_SETTEXT = 12
|
|
WM_GETTEXT = 13
|
|
WM_GETTEXTLENGTH = 14
|
|
WM_PAINT = 15
|
|
WM_CLOSE = 16
|
|
WM_QUERYENDSESSION = 17
|
|
WM_QUIT = 18
|
|
WM_QUERYOPEN = 19
|
|
WM_ERASEBKGND = 20
|
|
WM_SYSCOLORCHANGE = 21
|
|
WM_ENDSESSION = 22
|
|
WM_SHOWWINDOW = 24
|
|
WM_WININICHANGE = 26
|
|
WM_SETTINGCHANGE = 26
|
|
WM_DEVMODECHANGE = 27
|
|
WM_ACTIVATEAPP = 28
|
|
WM_FONTCHANGE = 29
|
|
WM_TIMECHANGE = 30
|
|
WM_CANCELMODE = 31
|
|
WM_SETCURSOR = 32
|
|
WM_MOUSEACTIVATE = 33
|
|
WM_CHILDACTIVATE = 34
|
|
WM_QUEUESYNC = 35
|
|
WM_GETMINMAXINFO = 36
|
|
WM_PAINTICON = 38
|
|
WM_ICONERASEBKGND = 39
|
|
WM_NEXTDLGCTL = 40
|
|
WM_SPOOLERSTATUS = 42
|
|
WM_DRAWITEM = 43
|
|
WM_MEASUREITEM = 44
|
|
WM_DELETEITEM = 45
|
|
WM_VKEYTOITEM = 46
|
|
WM_CHARTOITEM = 47
|
|
WM_SETFONT = 48
|
|
WM_GETFONT = 49
|
|
WM_SETHOTKEY = 50
|
|
WM_GETHOTKEY = 51
|
|
WM_QUERYDRAGICON = 55
|
|
WM_COMPAREITEM = 57
|
|
WM_GETOBJECT = 61
|
|
WM_COMPACTING = 65
|
|
WM_OTHERWINDOWCREATED = 66
|
|
WM_OTHERWINDOWDESTROYED = 67
|
|
WM_COMMNOTIFY = 68
|
|
CN_RECEIVE = 1
|
|
CN_TRANSMIT = 2
|
|
CN_EVENT = 4
|
|
WM_WINDOWPOSCHANGING = 70
|
|
WM_WINDOWPOSCHANGED = 71
|
|
WM_POWER = 72
|
|
PWR_OK = 1
|
|
PWR_FAIL = -1
|
|
PWR_SUSPENDREQUEST = 1
|
|
PWR_SUSPENDRESUME = 2
|
|
PWR_CRITICALRESUME = 3
|
|
WM_COPYDATA = 74
|
|
WM_CANCELJOURNAL = 75
|
|
WM_NOTIFY = 78
|
|
WM_INPUTLANGCHANGEREQUEST = 80
|
|
WM_INPUTLANGCHANGE = 81
|
|
WM_TCARD = 82
|
|
WM_HELP = 83
|
|
WM_USERCHANGED = 84
|
|
WM_NOTIFYFORMAT = 85
|
|
WM_CONTEXTMENU = 123
|
|
WM_STYLECHANGING = 124
|
|
WM_STYLECHANGED = 125
|
|
WM_DISPLAYCHANGE = 126
|
|
WM_GETICON = 127
|
|
WM_SETICON = 128
|
|
WM_NCCREATE = 129
|
|
WM_NCDESTROY = 130
|
|
WM_NCCALCSIZE = 131
|
|
WM_NCHITTEST = 132
|
|
WM_NCPAINT = 133
|
|
WM_NCACTIVATE = 134
|
|
WM_GETDLGCODE = 135
|
|
WM_SYNCPAINT = 136
|
|
WM_NCMOUSEMOVE = 160
|
|
WM_NCLBUTTONDOWN = 161
|
|
WM_NCLBUTTONUP = 162
|
|
WM_NCLBUTTONDBLCLK = 163
|
|
WM_NCRBUTTONDOWN = 164
|
|
WM_NCRBUTTONUP = 165
|
|
WM_NCRBUTTONDBLCLK = 166
|
|
WM_NCMBUTTONDOWN = 167
|
|
WM_NCMBUTTONUP = 168
|
|
WM_NCMBUTTONDBLCLK = 169
|
|
WM_KEYFIRST = 256
|
|
WM_KEYDOWN = 256
|
|
WM_KEYUP = 257
|
|
WM_CHAR = 258
|
|
WM_DEADCHAR = 259
|
|
WM_SYSKEYDOWN = 260
|
|
WM_SYSKEYUP = 261
|
|
WM_SYSCHAR = 262
|
|
WM_SYSDEADCHAR = 263
|
|
WM_KEYLAST = 264
|
|
WM_INITDIALOG = 272
|
|
WM_COMMAND = 273
|
|
WM_SYSCOMMAND = 274
|
|
WM_TIMER = 275
|
|
WM_HSCROLL = 276
|
|
WM_VSCROLL = 277
|
|
WM_INITMENU = 278
|
|
WM_INITMENUPOPUP = 279
|
|
WM_MENUSELECT = 287
|
|
WM_MENUCHAR = 288
|
|
WM_ENTERIDLE = 289
|
|
WM_CTLCOLORMSGBOX = 306
|
|
WM_CTLCOLOREDIT = 307
|
|
WM_CTLCOLORLISTBOX = 308
|
|
WM_CTLCOLORBTN = 309
|
|
WM_CTLCOLORDLG = 310
|
|
WM_CTLCOLORSCROLLBAR = 311
|
|
WM_CTLCOLORSTATIC = 312
|
|
WM_MOUSEFIRST = 512
|
|
WM_MOUSEMOVE = 512
|
|
WM_LBUTTONDOWN = 513
|
|
WM_LBUTTONUP = 514
|
|
WM_LBUTTONDBLCLK = 515
|
|
WM_RBUTTONDOWN = 516
|
|
WM_RBUTTONUP = 517
|
|
WM_RBUTTONDBLCLK = 518
|
|
WM_MBUTTONDOWN = 519
|
|
WM_MBUTTONUP = 520
|
|
WM_MBUTTONDBLCLK = 521
|
|
WM_MOUSELAST = 521
|
|
WM_PARENTNOTIFY = 528
|
|
WM_ENTERMENULOOP = 529
|
|
WM_EXITMENULOOP = 530
|
|
WM_MDICREATE = 544
|
|
WM_MDIDESTROY = 545
|
|
WM_MDIACTIVATE = 546
|
|
WM_MDIRESTORE = 547
|
|
WM_MDINEXT = 548
|
|
WM_MDIMAXIMIZE = 549
|
|
WM_MDITILE = 550
|
|
WM_MDICASCADE = 551
|
|
WM_MDIICONARRANGE = 552
|
|
WM_MDIGETACTIVE = 553
|
|
WM_MDISETMENU = 560
|
|
WM_DROPFILES = 563
|
|
WM_MDIREFRESHMENU = 564
|
|
WM_CUT = 768
|
|
WM_COPY = 769
|
|
WM_PASTE = 770
|
|
WM_CLEAR = 771
|
|
WM_UNDO = 772
|
|
WM_RENDERFORMAT = 773
|
|
WM_RENDERALLFORMATS = 774
|
|
WM_DESTROYCLIPBOARD = 775
|
|
WM_DRAWCLIPBOARD = 776
|
|
WM_PAINTCLIPBOARD = 777
|
|
WM_VSCROLLCLIPBOARD = 778
|
|
WM_SIZECLIPBOARD = 779
|
|
WM_ASKCBFORMATNAME = 780
|
|
WM_CHANGECBCHAIN = 781
|
|
WM_HSCROLLCLIPBOARD = 782
|
|
WM_QUERYNEWPALETTE = 783
|
|
WM_PALETTEISCHANGING = 784
|
|
WM_PALETTECHANGED = 785
|
|
WM_HOTKEY = 786
|
|
WM_PRINT = 791
|
|
WM_PRINTCLIENT = 792
|
|
WM_PENWINFIRST = 896
|
|
WM_PENWINLAST = 911
|
|
FindWindow = GuessStringType(FindWindowA, FindWindowW)
|
|
GetClassName = GuessStringType(GetClassNameA, GetClassNameW)
|
|
SendMessage = GuessStringType(SendMessageA, SendMessageW)
|
|
PostMessage = GuessStringType(PostMessageA, PostMessageW)
|
|
PostThreadMessage = GuessStringType(PostThreadMessageA, PostTh...
|
|
SendMessageTimeout = GuessStringType(SendMessageTimeoutA, Send...
|
|
SendNotifyMessage = GuessStringType(SendNotifyMessageA, SendNo...
|
|
SendDlgItemMessage = GuessStringType(SendDlgItemMessageA, Send...
|
|
RegisterWindowMessage = GuessStringType(RegisterWindowMessageA...
|
|
__package__ = ' winappdbg.win32 '
|