title: Hooking dll loaded to memory
body: <p>I'm trying to write a program, which will catch the event of a dll load into memory. 
  For that purpose I put a hook on <code>LdrLoadDll</code> API. 
  That works very fine, but the problem is that this API doesn't catch dlls which loaded as dependencies.
  For example -</p>
  
  <pre><code>LoadLibraryW(L"C:\...\chrome_child.dll");
  </code></pre>
  
  <p>using <code>LdrLoadDl</code> I will catch <code>chrome_child.dll</code> loading to memory, but I won't catch <code>win32u.dll</code> which is one of <code>chrome_child.dll</code> dependencies.</p>
  
  <p>Does anyone know a better API to use for that purpose? </p>