title: IntPtr to Uint32? C#
body: <p>I need to call <a href="http://www.pinvoke.net/default.aspx/kernel32/VirtualAllocEx.html" rel="nofollow noreferrer">VirtualAllocEx</a> and it returns IntPtr.
  I call that function to get an empty address so I can write my codecave there(this is in another process).</p>
  
  <p>How do I convert the result into UInt32,so I could call WriteProcessMemory() lately with that address?</p>