Experts,
got a doubt.
I am able to register my service (under WinXP) to rcv “System Shutdown”
notifications and I am receiving the notification too.
Question is:
How can I differentiate if System is RESTARTING or just SHUTTING DOWN?
I badly need to do different tasks acc to whether Restart or Shut down
is
initiated.
=======================
Thanks,
Sathya
Sathya,
I’m not really an expert, but I’m curious why you would need to
distinguish between the two? It seems this would be difficult to
enforce. For example, I could choose “Restart,” but then physically
shut off the machine during the BIOS boot-up period without affecting
Windows at all.
Chuck
----- Original Message -----
From: “Sathyanarayanan Srinivasan”
To: “NT Developers Interest List”
Sent: Wednesday, April 23, 2003 10:16 AM
Subject: [ntdev] Differentiating “SystemReStart” & “Shutdown”
>
> Experts,
>
> got a doubt.
> I am able to register my service (under WinXP) to rcv “System
Shutdown”
> notifications and I am receiving the notification too.
>
> Question is:
>
> How can I differentiate if System is RESTARTING or just SHUTTING DOWN?
> I badly need to do different tasks acc to whether Restart or Shut down
> is
> initiated.
>
>
> =======================
> Thanks,
> Sathya
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@cbatson.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
Hi Chuck,
I agree with this way of overriding restart action.
But let us consider normal case where nobody would try to violate the
action.
In this case, depending on the action, I want to inform the remote
machine or some other device or … that it has to shutdown or restart
to be in sync with this m/c.
Got my requirement??
–Sathya
-±±±±±±±±±±±±±±±±±±+
We are what we repeatedly do.
Excellence, then is not an act. But a habit.
-±±±±±±±±±±±±±±±±±±+
-----Original Message-----
From: Chuck Batson [mailto:xxxxx@cbatson.com]
Sent: Wednesday, April 23, 2003 1:45 PM
Subject: Re: Differentiating “SystemReStart” & “Shutdown”
Sathya,
I’m not really an expert, but I’m curious why you would need to
distinguish between the two? It seems this would be difficult to
enforce. For example, I could choose “Restart,” but then physically
shut off the machine during the BIOS boot-up period without affecting
Windows at all.
Chuck
----- Original Message -----
From: “Sathyanarayanan Srinivasan”
To: “NT Developers Interest List”
Sent: Wednesday, April 23, 2003 10:16 AM
Subject: [ntdev] Differentiating “SystemReStart” & “Shutdown”
>
> Experts,
>
> got a doubt.
> I am able to register my service (under WinXP) to rcv “System
Shutdown”
> notifications and I am receiving the notification too.
>
> Question is:
>
> How can I differentiate if System is RESTARTING or just SHUTTING DOWN?
> I badly need to do different tasks acc to whether Restart or Shut down
> is
> initiated.
>
>
> =======================
> Thanks,
> Sathya
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@cbatson.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
How do you wake your remote device when your local computer is turned on
later after a shutdown?
From the remote point of view, I think the only thing you can count on is
whether the reference computer is online or not (reachable). That remote
computer might chose to act as if it was not there and only “wake up” when
the reference computer tells it to.
.02
Mat
-----Original Message-----
From: Sathyanarayanan Srinivasan
[mailto:xxxxx@wipro.com]
Sent: Thursday, April 24, 2003 12:34 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Differentiating “SystemReStart” & “Shutdown”
Hi Chuck,
I agree with this way of overriding restart action.
But let us consider normal case where nobody would try to violate the
action.
In this case, depending on the action, I want to inform the remote
machine or some other device or … that it has to shutdown or restart
to be in sync with this m/c.
Got my requirement??
–Sathya
-±±±±±±±±±±±±±±±±±±+
We are what we repeatedly do.
Excellence, then is not an act. But a habit.
-±±±±±±±±±±±±±±±±±±+
-----Original Message-----
From: Chuck Batson [mailto:xxxxx@cbatson.com]
Sent: Wednesday, April 23, 2003 1:45 PM
Subject: Re: Differentiating “SystemReStart” & “Shutdown”
Sathya,
I’m not really an expert, but I’m curious why you would need to
distinguish between the two? It seems this would be difficult to
enforce. For example, I could choose “Restart,” but then physically
shut off the machine during the BIOS boot-up period without affecting
Windows at all.
Chuck
----- Original Message -----
From: “Sathyanarayanan Srinivasan”
To: “NT Developers Interest List”
Sent: Wednesday, April 23, 2003 10:16 AM
Subject: [ntdev] Differentiating “SystemReStart” & “Shutdown”
>
> Experts,
>
> got a doubt.
> I am able to register my service (under WinXP) to rcv “System
Shutdown”
> notifications and I am receiving the notification too.
>
> Question is:
>
> How can I differentiate if System is RESTARTING or just SHUTTING DOWN?
> I badly need to do different tasks acc to whether Restart or Shut down
> is
> initiated.
>
>
> =======================
> Thanks,
> Sathya
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@cbatson.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
—
You are currently subscribed to ntdev as: xxxxx@guillemot.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Power IRPs carry this information.
----- Original Message -----
From: “Sathyanarayanan Srinivasan”
To: “NT Developers Interest List”
Sent: Thursday, April 24, 2003 8:34 AM
Subject: [ntdev] RE: Differentiating “SystemReStart” & “Shutdown”
> Hi Chuck,
>
> I agree with this way of overriding restart action.
> But let us consider normal case where nobody would try to violate
the
> action.
> In this case, depending on the action, I want to inform the remote
> machine or some other device or … that it has to shutdown or
restart
> to be in sync with this m/c.
> Got my requirement??
>
> --Sathya
>
> -±±±±±±±±±±±±±±±±±±+
> We are what we repeatedly do.
> Excellence, then is not an act. But a habit.
> -±±±±±±±±±±±±±±±±±±+
>
> -----Original Message-----
> From: Chuck Batson [mailto:xxxxx@cbatson.com]
> Sent: Wednesday, April 23, 2003 1:45 PM
> Subject: Re: Differentiating “SystemReStart” & “Shutdown”
>
>
> Sathya,
>
> I’m not really an expert, but I’m curious why you would need to
> distinguish between the two? It seems this would be difficult to
> enforce. For example, I could choose “Restart,” but then physically
> shut off the machine during the BIOS boot-up period without
affecting
> Windows at all.
>
> Chuck
>
> ----- Original Message -----
> From: “Sathyanarayanan Srinivasan”
>
> To: “NT Developers Interest List”
> Sent: Wednesday, April 23, 2003 10:16 AM
> Subject: [ntdev] Differentiating “SystemReStart” & “Shutdown”
>
>
> >
> > Experts,
> >
> > got a doubt.
> > I am able to register my service (under WinXP) to rcv “System
> Shutdown”
> > notifications and I am receiving the notification too.
> >
> > Question is:
> >
> > How can I differentiate if System is RESTARTING or just SHUTTING
DOWN?
> > I badly need to do different tasks acc to whether Restart or Shut
down
> > is
> > initiated.
> >
> >
> > =======================
> > Thanks,
> > Sathya
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@cbatson.com
> > To unsubscribe send a blank email to
xxxxx@lists.osr.com
> >
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to
xxxxx@lists.osr.com
>