Re: Miniport that should not be unloaded at stand by and hibernation by Fredrik
Fredrik
Tue Oct 16 11:53:10 PDT 2007
I will try this... I had totaly missed the OID_PNP_CAPABILITIES requirement.
Many thanks, really helpful!
Best regards
Fredrik
"Stephan Wolf [MVP]" <stewo68@hotmail.com> wrote in message
news:1192542051.658227.276130@i38g2000prf.googlegroups.com...
> Carefully read the docs on NDIS_ATTRIBUTE_NO_HALT_ON_SUSPEND. Your
> miniport needs to properly reply to PNP requests in order for NDIS to
> not halt the miniport during standby/hibernate.
>
> Stephan
> ---
> On Oct 16, 11:17 am, "Fredrik Jansson" <nos...@quarterfive.com> wrote:
>> I have a virtual miniport adapter (NDIS 6.0) that I need to remain loaded
>> during stand by and hibernation (I am communicating with a service which
>> I
>> don't control that demands this). I have set
>> NDIS_MINIPORT_ATTRIBUTES_NO_HALT_ON_SUSPEND in the registration
>> attributes
>> in MiniportInitializeEx.
>>
>> Still when the PC is going into stand by MiniportHalt is called with
>> haltAction = NdisHaltDevicePoweredDown.
>>
>> Anyone who has an idea of preventing this?
>>
>> Best regards,
>> Fredrik Jansson
>