title: LINK : error LNK2001: unresolved external symbol NtProcessStartup
body: <p>I am new to Windows driver development and minifilters and I am trying to build the <a href="https://github.com/Microsoft/Windows-driver-samples/tree/master/filesys/miniFilter/nullFilter" rel="nofollow">nullFilter</a> sample using command line tools.
  So I added <code>#pragma comment(lib, "FltMgr.lib")</code> to the .c file and issued the following commands successfully:</p>
  
  <pre><code>cl.exe /nologo /Fo../../bin\filter.obj /c filter.c /D _AMD64_
  rc.exe /nologo /Fo../../bin\filter.res filter.rc
  </code></pre>
  
  <p>However, when I try to create the sys file:</p>
  
  <pre><code>link.exe /nologo /DRIVER:WDM /out:../../bin\filter.sys ../../bin\filter.obj ../../bin\filter.res
  LINK : error LNK2001: unresolved external symbol NtProcessStartup
  ../../bin\filter.sys : fatal error LNK1120: 1 unresolved externals
  </code></pre>
  
  <p>I am using VS2012 Express and WDM8. My LIB environment variable is:</p>
  
  <pre><code>C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\x64;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib\amd64;C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\km\x64;
  </code></pre>
  
  <p>What am I doing wrong? Am I missing something?</p>