ZtsFw.Inc
上传用户:lingfuwu
上传日期:2013-03-31
资源大小:13k
文件大小:2k
开发平台:

Asm

  1. include windows.inc
  2. include kernel32.inc
  3. include user32.inc
  4. include comctl32.inc
  5. include shell32.inc
  6. include gdi32.inc
  7. include advapi32.inc
  8. include msvcrt.inc
  9. include winioctl.inc
  10. include ws2_32.inc
  11. includelib kernel32.lib
  12. includelib user32.lib
  13. includelib comctl32.lib
  14. includelib shell32.lib
  15. includelib gdi32.lib
  16. includelib advapi32.lib
  17. includelib msvcrt.lib
  18. includelib ws2_32.lib
  19. m2m MACRO M1, M2
  20. push M2
  21. pop  M1
  22. ENDM
  23. CTXT MACRO text
  24. local lbl
  25. .const
  26. lbl db text,0
  27. .code
  28. exitm   <offset lbl>
  29. ENDM
  30. DlgProc PROTO :HWND,:UINT,:WPARAM,:LPARAM
  31. _Paint proto :HWND
  32. _OpenDevice proto
  33. _CloseDevice proto
  34. _Init proto :HWND
  35. _ListViewProc proto :HWND,:UINT,:WPARAM,:LPARAM
  36. _StartRoutine proto :DWORD
  37. _InsertIpInfo proto :DWORD
  38. .const
  39. IDD_DIALOG1 equ 101
  40. IDC_LIST equ 1001
  41. IDC_PORTS equ 1002
  42. IDC_STC1 equ 1003
  43. IDC_BTN_AddPorts equ 1004
  44. IDC_BTN_Start equ 1005
  45. IDC_BTN_Stop equ 1006
  46. IDC_BTN_Exit equ 1007
  47. ID_DRVFILE equ 5000
  48. IDM_CLEAR_LOG equ 6001
  49. szZtsFw db  "ZtsFw",0
  50. szLogo db  "http://zhongts.reg365.com    zhongts@163.com",0
  51. szDrvError db  "install driver error!",0
  52. szFormat db  "%d",0
  53. szFwEvent db  "FwHook_Event",0
  54. .data?
  55. g_hInst dd  ?
  56. g_hFont dd  ?
  57. g_hDevice dd  ?
  58. g_szDrvFile db  MAX_PATH dup (?)
  59. g_hStartBtn dd  ?
  60. g_hStopBtn dd  ?
  61. g_hList dd  ?
  62. g_hListMenu dd  ?
  63. g_lpListViewOldProc dd  ?
  64. g_Ports dw  MAX_PORTS dup (?)
  65. g_hThread dd  ?
  66. g_dwThreadID dd  ?
  67. g_bStarted dd  ?
  68. g_dwNum dd  ?