title: How to get GDI objects associated to a process
body: <p>I am investigating GDI leaks issue in one of our smart-client application.
  I am looking for a tool (like <strong>tasklist</strong>) to get the GDI objects associated to a process. I can see the GDI objects in taskmanager, But my requirement to capture it periodically somewhere. For example in a text file.</p>