Ok, I tried doing that in the dialog procedure and in the dialog’s callback
procedure (in response to the PSPCB_RELEASE message), but the problem I
found was that windows tried to reboot immediately before closing the
property page properly. Windows (mmc.exe) then complains that there are
still open property pages.
-----Original Message-----
From: Doron Holan [mailto:xxxxx@windows.microsoft.com]
Sent: Friday, September 13, 2002 3:18 PM
To: NT Developers Interest List
Subject: [ntdev] RE: requesting a reboot after a device property page
change
SP_DEVINSTALL_PARAMS dip;
ZeroMemory(&dip, sizeof(dip));
dip.cbSize = sizeof(dip);
SetupDiGetDeviceInstallParams(DeviceInfoSet,
DeviceInfoData,
&dip);
dip.Flags |= DI_NEEDREBOOT;
SetupDiSetDeviceInstallParams(DeviceInfoSet,
DeviceInfoData,
&dip);
d
This posting is provided “AS IS” with no warranties, and confers no rights.
-----Original Message-----
From: Colin Fraser [mailto:xxxxx@broadcom.com]
Sent: Friday, September 13, 2002 3:15 PM
To: NT Developers Interest List
Subject: [ntdev] requesting a reboot after a device property page change
?
Does anyone know the correct way to request a reboot after a change in your
device’s property page?
?
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@broadcom.com
To unsubscribe send a blank email to %%email.unsub%%