2
0

Debug.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #define WM_START (WM_USER+1)
  2. #define WM_STOP (WM_USER+2)
  3. #define IDB_BITMAP 998
  4. #define IDC_BITMAP 999
  5. #define IDM_D_Start 101
  6. #define IDM_D_Attach 102
  7. #define IDM_D_Stop 103
  8. #define IDM_D_Exit 104
  9. #define IDM_A_IGNORE 201
  10. #define IDM_A_CONTINUE 202
  11. #define IDM_A_EXCEPTION 203
  12. #define IDM_A_STATE 204
  13. #define IDM_A_TRAP 205
  14. #define IDM_A_STACK 206
  15. #define IDM_A_CLEARDEFAULT 207
  16. #define IDM_A_TRAPDEFAULT 208
  17. #define IDM_A_ALLSTACKS 209
  18. #define IDM_W_POS 2
  19. #define IDM_W_ONTOP 301
  20. #define IDM_W_TILE 302
  21. #define IDM_W_CASCADE 303
  22. #define IDM_W_ICONS 304
  23. #define IDM_W_CALL 308
  24. #define IDM_W_CCONSOLE 305
  25. #define IDM_W_CEXCEPTION 306
  26. #define IDM_W_CSYSTEM 307
  27. #define IDM_H_About 401
  28. #define IDM_WIN_CHILD 1000
  29. #define IDD_Logo 1001
  30. #define IDD_Ok 1002
  31. #define IDD_Cancel 1003
  32. #define IDD_ExePath 1004
  33. #define IDD_State 1005
  34. #define IDD_Stack 1006
  35. #define IDD_ProcessID 1007
  36. #define IDD_Open 1008
  37. #define IDD_AllStacks 1009
  38. #define ID_EDIT 0xCAC
  39. #define GWW_HWNDEDIT 0
  40. LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  41. LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  42. BOOL CALLBACK AboutDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  43. BOOL CALLBACK StartDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  44. BOOL CALLBACK StateDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  45. BOOL CALLBACK AttachDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  46. DWORD WINAPI ThreadProc(LPVOID arg);