Hi,
is anyone can suggest how can i open an entry for os that
can enter and observe if i permit to activate a hibernate
or i deny hibernate activation??

Thanks

Re: hibernate & WM_POWERBROADCAST by Kirk

Kirk
Sun Nov 16 20:32:01 CST 2003

"Gabi" <anonymous@discussions.microsoft.com> wrote in message
news:507b01c3ac53$15063fe0$a601280a@phx.gbl...
> is anyone can suggest how can i open an entry for os that
> can enter and observe if i permit to activate a hibernate
> or i deny hibernate activation??

Based on the subject line I assume you are asking about user mode. You have
to return BROADCAST_QUERY_DENY from the message handler. Note though that
there is no documented method to distinguish between S3 and S4 transitions
in user mode.

-Kirk



Re: hibernate & WM_POWERBROADCAST by Maxim

Maxim
Mon Nov 17 05:13:18 CST 2003

Do not veto hibernate, only bad software does this.

The reason is that the notebook owners silently assume that the machine
goes hibernate on cover close. With your "ultra-smart" software, it will
continue to run even with closed cover, will be put to a bag in running state
and thus will be physically damaged by heat.

Jake Oshins from MS's core OS team once said the same on forums (on OSR's
mailing list IIRC) - do not veto standby and hibernate.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com


"Gabi" <anonymous@discussions.microsoft.com> wrote in message
news:507b01c3ac53$15063fe0$a601280a@phx.gbl...
> Hi,
> is anyone can suggest how can i open an entry for os that
> can enter and observe if i permit to activate a hibernate
> or i deny hibernate activation??
>
> Thanks
>




Re: hibernate & WM_POWERBROADCAST by Ray

Ray
Mon Nov 17 17:21:31 CST 2003

Agreed, obviously excepting circumstances such as: my program is
controlling a 10-ton lathe, and it's running right now, so hibernating
the machine might not be the best idea...

Maxim S. Shatskih wrote:

> Do not veto hibernate, only bad software does this.
>
> The reason is that the notebook owners silently assume that the machine
> goes hibernate on cover close. With your "ultra-smart" software, it will
> continue to run even with closed cover, will be put to a bag in running state
> and thus will be physically damaged by heat.
>
> Jake Oshins from MS's core OS team once said the same on forums (on OSR's
> mailing list IIRC) - do not veto standby and hibernate.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
>
> "Gabi" <anonymous@discussions.microsoft.com> wrote in message
> news:507b01c3ac53$15063fe0$a601280a@phx.gbl...
>
>>Hi,
>>is anyone can suggest how can i open an entry for os that
>>can enter and observe if i permit to activate a hibernate
>>or i deny hibernate activation??
>>
>>Thanks
>>
>
>
>
>

--
../ray\..

Re: hibernate & WM_POWERBROADCAST by Maxim

Maxim
Mon Nov 17 18:41:04 CST 2003

Yes. The facility is still provided, but it is for serious cases like you
have described, and not to satisfy the tastes of technically illiterate
marketoids who define the product spec in some companies.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com


"Ray Trent" <rat@synaptics.com.spamblock> wrote in message
news:ecL#JGWrDHA.2488@TK2MSFTNGP12.phx.gbl...
> Agreed, obviously excepting circumstances such as: my program is
> controlling a 10-ton lathe, and it's running right now, so hibernating
> the machine might not be the best idea...
>
> Maxim S. Shatskih wrote:
>
> > Do not veto hibernate, only bad software does this.
> >
> > The reason is that the notebook owners silently assume that the machine
> > goes hibernate on cover close. With your "ultra-smart" software, it will
> > continue to run even with closed cover, will be put to a bag in running
state
> > and thus will be physically damaged by heat.
> >
> > Jake Oshins from MS's core OS team once said the same on forums (on
OSR's
> > mailing list IIRC) - do not veto standby and hibernate.
> >
> > --
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > maxim@storagecraft.com
> > http://www.storagecraft.com
> >
> >
> > "Gabi" <anonymous@discussions.microsoft.com> wrote in message
> > news:507b01c3ac53$15063fe0$a601280a@phx.gbl...
> >
> >>Hi,
> >>is anyone can suggest how can i open an entry for os that
> >>can enter and observe if i permit to activate a hibernate
> >>or i deny hibernate activation??
> >>
> >>Thanks
> >>
> >
> >
> >
> >
>
> --
> ../ray\..