title: Load-time dynamic linking (import library) search order
body: <p>If I use a import library to implement <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms686923.aspx" rel="nofollow">load-time dynamic linking</a> with a Windows system dll, which directory search order will be used?</p>
  
  <p>Does it end up in the equivalent to <code>LoadLibrary("Iphlpapi.dll")</code>? Will it use a fully qualified path (i.e. <code>LoadLibrary("C:\\windows\\system32\\Iphlpapi.dll")</code>?</p>
  
  <p>Some commonly used dlls (<a href="http://blogs.msdn.com/b/larryosterman/archive/2004/07/19/187752.aspx" rel="nofollow">"known dlls"</a>) apparently receive special treatment, but how about other <em>system</em> dlls such as Iphlapi.dll?</p>
  
  <p>Is it vulnerable to a <a href="http://support.microsoft.com/kb/2389418" rel="nofollow">DLL preloading attack</a>?</p>