title: Installing SSDT hook on Windows 7 32-bit VM returns system error 2
body: <p>I use the following code to create a driver that hooks Win7-32bit SSDT table. It is taken straight from Greg &amp; Jamie's book.
  Please note that I don't even call the hooking code from main:</p>
  
  <p>main.c
  <a href="http://pastebin.com/Ck8FSVbv" rel="nofollow noreferrer">http://pastebin.com/Ck8FSVbv</a></p>
  
  <p>SSDT_Hook.h
  <a href="http://pastebin.com/y1ssD1ni" rel="nofollow noreferrer">http://pastebin.com/y1ssD1ni</a></p>
  
  <p>When I try to load it, sc.exe returns error 2.</p>
  
  <p>But I can't figure out why. Couldn't find answers is similar questions.</p>