有关Hook常量的信息

时间:2010-04-18 18:14:33

标签: windows hook

任何人都可以解释这些钩子的作用吗?特别是WH_MIN和WH_MAX。 http://msdn.microsoft.com/en-us/library/ms644959(VS.85).aspx

  WH_MIN = -1
  WH_MSGFILTER = -1
  WH_JOURNALRECORD = 0
  WH_JOURNALPLAYBACK = 1
  WH_KEYBOARD = 2
  WH_GETMESSAGE = 3
  WH_CALLWNDPROC = 4
  WH_CBT = 5
  WH_SYSMSGFILTER = 6
  WH_MOUSE = 7
  WH_HARDWARE = 8
  WH_DEBUG = 9
  WH_SHELL = 10
  WH_FOREGROUNDIDLE = 11
  WH_CALLWNDPROCRET = 12
  WH_KEYBOARD_LL = 13
  WH_MOUSE_LL = 14
  WH_MAX = 15

1 个答案:

答案 0 :(得分:0)

这样的MIN和MAX值通常就在那里,所以你知道有效数字的范围