list devices in add/remove hardware

Hi,

How can I get the list of devices that I can remove on the system currently?
For example, at the system tray, I can stop and remove a device using
“Unplug or Eject Hardware”.
Is there any API calls or how can I get the list of devices there?
Is that under the PnP manager?

Thank You!

cheers,
vincent


Find love on MSN Personals http://personals.msn.com.sg/