title: Minidump creates empty dump file
body: <p>We have an in-proc crash handler which is using <a href="http://msdn.microsoft.com/en-us/library/ms680360(VS.85).aspx" rel="noreferrer"><code>MiniDumpWriteDump()</code></a> from DbgHelp to write a minidump is case of a process crash. 
  I know its not the best way to do it, however, at the moment we do not have other option. </p>
  
  <p>The problem is: one certain executable always creates 0 byte dumps. But it works well for other processes. What could be the possible reason behind this behavior? </p>