I have a system profiler tool which gathers system information as per the requirement. However there is one scenario where I am at sea right now. System profiler needs to be re-run automatically whenever a graphic card or hard drive is removed/replaced. That is I need to capture if there is change in configuration after system restarts to judge if we need to run the profiler again.
Any Ideas? WM_DEVICECHANGE wont work as we are going to rerun profiler only when there is major component change ( which usually requires system restart ).
Thanks in advance!