Is this stored in the registry somewhere? Or is there an API call to get it?
I want to be able to determine when the user last shut down this machine ...
thanks.
The event log may give you this information. Possibly searching for an
specific Event ID and looking for the most recent date/time?
"John Provine" wrote in message
news:4769951e$1@newsgroups.borland.com...
> Is this stored in the registry somewhere? Or is there an API call to get
it?
>
> I want to be able to determine when the user last shut down this machine
....
> thanks.
>
>
"John Provine" wrote in message
news:4769951e$1@newsgroups.borland.com...
> Is this stored in the registry somewhere?
Not that I am aware of.
> Or is there an API call to get it?
No.
> I want to be able to determine when the user last shut down this machine
> ...
Then you will have to keep track of it manually, such as by writing your own
service that queries the current date/time in its OnShutdown event.
Gambit