From: Arsalan Ahmad on
Hi,

I have created a virtual LAN driver. The driver when installed shows status
of acquiring IP where as I want to show cable disconnect status. How can I
do so?

Even in MiniportQueryInformation() I am returning NdisMediaStateDisconnected
but no use.

Thanks,

Arsalan


From: QuasiCodo on
Arsalan:

If I remember correctly, I think you need to use NdisMIndicateStatus().

((&->

"Arsalan Ahmad" <arsal__(a)hotmail.com> wrote in message
news:OsC9P8zqGHA.4408(a)TK2MSFTNGP04.phx.gbl...
> Hi,
>
> I have created a virtual LAN driver. The driver when installed shows
> status of acquiring IP where as I want to show cable disconnect status.
> How can I do so?
>
> Even in MiniportQueryInformation() I am returning
> NdisMediaStateDisconnected but no use.
>
> Thanks,
>
> Arsalan
>


From: Arsalan Ahmad on
Actually there is a driver sample that I have which is installing the driver
with by default showing as media disconnected. While another driver that I
have created is not and that driver sample is not using
NdisMIndicateStatus() anywhere in miniport initialization. That is why I
asked if there is any other way?

Thanks,

Arsalan


"QuasiCodo" <BillAlexander(a)Yahoo.com> wrote in message
news:Oxj1zI0qGHA.3648(a)TK2MSFTNGP03.phx.gbl...
> Arsalan:
>
> If I remember correctly, I think you need to use NdisMIndicateStatus().
>
> ((&->
>
> "Arsalan Ahmad" <arsal__(a)hotmail.com> wrote in message
> news:OsC9P8zqGHA.4408(a)TK2MSFTNGP04.phx.gbl...
>> Hi,
>>
>> I have created a virtual LAN driver. The driver when installed shows
>> status of acquiring IP where as I want to show cable disconnect status.
>> How can I do so?
>>
>> Even in MiniportQueryInformation() I am returning
>> NdisMediaStateDisconnected but no use.
>>
>> Thanks,
>>
>> Arsalan
>>
>
>


From: Maxim S. Shatskih on
Both things must be done. Both responding to media status OID and firing
NdisMIndicateStatus if the media status have changed.

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

"QuasiCodo" <BillAlexander(a)Yahoo.com> wrote in message
news:Oxj1zI0qGHA.3648(a)TK2MSFTNGP03.phx.gbl...
> Arsalan:
>
> If I remember correctly, I think you need to use NdisMIndicateStatus().
>
> ((&->
>
> "Arsalan Ahmad" <arsal__(a)hotmail.com> wrote in message
> news:OsC9P8zqGHA.4408(a)TK2MSFTNGP04.phx.gbl...
> > Hi,
> >
> > I have created a virtual LAN driver. The driver when installed shows
> > status of acquiring IP where as I want to show cable disconnect status.
> > How can I do so?
> >
> > Even in MiniportQueryInformation() I am returning
> > NdisMediaStateDisconnected but no use.
> >
> > Thanks,
> >
> > Arsalan
> >
>
>

From: Arsalan Ahmad on
I created a timer and called NdisMIndicateStatus to set media status to
disconnected. Timer function is being called after 3 sec but even then my
adapter is tryint to acquire IP address instead of showing cable disconnect
message. Can anyone please tell me what am I missing?

Thanks,

Arsalan

"Maxim S. Shatskih" <maxim(a)storagecraft.com> wrote in message
news:OXvQoZ3qGHA.4424(a)TK2MSFTNGP05.phx.gbl...
> Both things must be done. Both responding to media status OID and
> firing
> NdisMIndicateStatus if the media status have changed.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim(a)storagecraft.com
> http://www.storagecraft.com
>
> "QuasiCodo" <BillAlexander(a)Yahoo.com> wrote in message
> news:Oxj1zI0qGHA.3648(a)TK2MSFTNGP03.phx.gbl...
>> Arsalan:
>>
>> If I remember correctly, I think you need to use NdisMIndicateStatus().
>>
>> ((&->
>>
>> "Arsalan Ahmad" <arsal__(a)hotmail.com> wrote in message
>> news:OsC9P8zqGHA.4408(a)TK2MSFTNGP04.phx.gbl...
>> > Hi,
>> >
>> > I have created a virtual LAN driver. The driver when installed shows
>> > status of acquiring IP where as I want to show cable disconnect status.
>> > How can I do so?
>> >
>> > Even in MiniportQueryInformation() I am returning
>> > NdisMediaStateDisconnected but no use.
>> >
>> > Thanks,
>> >
>> > Arsalan
>> >
>>
>>
>