Device Tree Reenumeration

This is a discussion on Device Tree Reenumeration within the Windows Programming forums, part of the Platform Specific Boards category; I need to refresh the device tree I found an example that
does not have headers etc. so I can't ...

> does not have headers etc. so I can't get it to work.
> Does anyone have any ideas ? What could I try ?
Well double-clicking on a function name, then right-click "search using google for ..." works for me.

I'm trying to force a "Scan for hardware changes" from inside a C# or C++ program under Windows 7 using Visual Studio Pro 2010
I can't find anything except this obsolete program that runs under Visual C++ 6.0.