device manager refresh
-
WM_DEVICECHANGE The WM_DEVICECHANGE device message notifies an application of a change to the hardware configuration of a device or the computer. A window receives this message through its WindowProc function. HTH :cool: People that start writing code immediately are programmers (or hackers), people that ask questions first are Software Engineers - Graham Shanks
-
WM_DEVICECHANGE The WM_DEVICECHANGE device message notifies an application of a change to the hardware configuration of a device or the computer. A window receives this message through its WindowProc function. HTH :cool: People that start writing code immediately are programmers (or hackers), people that ask questions first are Software Engineers - Graham Shanks
But that's not I want. I am not plugging in any devices to watch for WM_DEVICECHANGE message. I just want to force a device manager refresh ( just as we do manually in the control panel-device manager-scan for hardware changes but programatically) -- modified at 17:46 Tuesday 31st January, 2006
-
But that's not I want. I am not plugging in any devices to watch for WM_DEVICECHANGE message. I just want to force a device manager refresh ( just as we do manually in the control panel-device manager-scan for hardware changes but programatically) -- modified at 17:46 Tuesday 31st January, 2006
Yeah, so send it a WM_DEVICECHANGE message - it will catch it and think something has changed, so will refresh.
Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"