title: Null vs ZeroMemory
body: <p>What exactly is the difference between setting an object to NULL and using ZeroMemory?</p>
  
  <p>I hear that it is good practice in the WinAPI (which is mostly C) that a person should use ZeroMemory on C objects. I come from a background of C# and this seems like something a C++ guy should really know.</p>
  
  <p>I found that with the DirectX API, whether you ZeroMemory the objects or not, the application still works, but some samples use ZeroMemory and some don't.</p>
  
  <p>Can anyone clarify these things?</p>