Hi all,

is it legal to let the Power management dispatcher function always return
STATUS_UNSUCCESSFUL?

i am finishing the pnp handling of my first driver, and i'd like to debug
that separatly from power management.

kind regards,
Bruno.

Re: debugging related question by Doron

Doron
Sat May 28 11:50:31 CDT 2005

no, not really. you can get away w/it for the time being, but
shutdown/sleep/hibernate won't work.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Bruno van Dooren" <microvax@hotmail.com> wrote in message
news:%23XjH7ptYFHA.3152@TK2MSFTNGP14.phx.gbl...
> Hi all,
>
> is it legal to let the Power management dispatcher function always return
> STATUS_UNSUCCESSFUL?
>
> i am finishing the pnp handling of my first driver, and i'd like to debug
> that separatly from power management.
>
> kind regards,
> Bruno.
>



Re: debugging related question by Bruno

Bruno
Sat May 28 15:41:48 CDT 2005

thanks.
I got my second machine today.
now i can finally see if my code runs.

kind regards,
Bruno.


"Doron Holan [MS]" <doronh@nospam.microsoft.com> wrote in message
news:e1FgcV6YFHA.2072@TK2MSFTNGP10.phx.gbl...
> no, not really. you can get away w/it for the time being, but
> shutdown/sleep/hibernate won't work.
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
> "Bruno van Dooren" <microvax@hotmail.com> wrote in message
> news:%23XjH7ptYFHA.3152@TK2MSFTNGP14.phx.gbl...
>> Hi all,
>>
>> is it legal to let the Power management dispatcher function always return
>> STATUS_UNSUCCESSFUL?
>>
>> i am finishing the pnp handling of my first driver, and i'd like to debug
>> that separatly from power management.
>>
>> kind regards,
>> Bruno.
>>
>
>



Re: debugging related question by Maxim

Maxim
Sun May 29 14:38:04 CDT 2005

You cannot fail SET POWER IRPs, and, if you will fail QUERY POWER, you will
veto standby or hibernate.

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

"Bruno van Dooren" <microvax@hotmail.com> wrote in message
news:%23XjH7ptYFHA.3152@TK2MSFTNGP14.phx.gbl...
> Hi all,
>
> is it legal to let the Power management dispatcher function always return
> STATUS_UNSUCCESSFUL?
>
> i am finishing the pnp handling of my first driver, and i'd like to debug
> that separatly from power management.
>
> kind regards,
> Bruno.
>
>