一千萬個為什麽

搜索

有關Hook常量的信息

Anyone can explain what these hooks do? Especially WH_MIN and 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

最佳答案

像這樣的MIN和MAX值通常就在那裏,所以你知道有效數字的範圍

轉載註明原文: 有關Hook常量的信息