How to differentiate between rebooted and unrebooted

Hi all:
If user didn’t reboot the computer after uninstalled my driver, I will reject the follow up install action. My problem is how can I differentiate between have been rebooted after uninstall and have not been rebooted after uninstall. What item of registery should I use?

Thanks & regards!

why no use a volatile registry flag?

On Mon, May 11, 2009 at 11:33 AM, wrote:
> Hi all:
> If user didn’t reboot the computer after uninstalled my driver, I will reject the follow up install action. My problem is how can I differentiate between have been rebooted after uninstall and have not been rebooted after uninstall. What item of registery should I use?
>
> Thanks & regards!
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>

It seems my OnRebooted(); function is not called when system restart after uninstall, what should I do?

Thanks & regards!