Re: ReInvoking MiniportInitialize from protocol driver
- From: "haideepu" <pradeep.bhureddy@xxxxxxxxx>
- Date: 11 Oct 2006 22:47:59 -0700
Hi
My Objective is simple....I want to reinvoke my MiniportInitialize
without removing my device
any advice??
--Pradeep
soviet_bloke@xxxxxxxxxxx wrote:
Hi mate
And More over We want to call MiniportInitialize() without being
DriverEntry Called. If we use SetupDi calls that may unload driver,
which shouldn't happen...
But why do you present the above requirement???? What are your overall
objectives????
Anton Bassov
haideepu wrote:
Hi Stephan
Thanx for your reply...
Our driver doestn't have Intermediate driver
...NdisIMDeInitializeDeviceInstance() can only be used with
Intermediate driver.....We tried by calling the same with miniport
handle from protocol driver ...But we r getting
NDIS_STATUS_FAILURE.....
And More over We want to call MiniportInitialize() without being
DriverEntry Called. If we use SetupDi calls that may unload driver,
which shouldn't happen...
We are searching for some way to make Ndis invoke MiniportHalt() and
then invoke MiniportInitialize(), where it can read the changed
registry settings....We will change the registry settings from our
application before making our protocol driver to invoke
MiniportHalt.....When MiniportInitialize gets called ...it can read the
changed registry settings..
Suggestions plzzzzz
Thanx in adv
---Pradeep
Stephan Wolf [MVP] wrote:
AFAIK, the only way to disable and re-enable an NDIS miniport driver is
via SetupDi. See the "...\src\setup\devcon\" sample in the DDK. Since
SetupDi can AFAIK only be used from user-mode, you will need to put the
code in e.g. some Service or a Notify Object for the protocol.
Sure there is also NdisIMDeInitializeDeviceInstance(). But this can
only be used if you have the miniport handle.
Stephan
---
haideepu wrote:
Hi experts,
I want to make Ndis call (reinvoke) my MiniportInitialize from protocol
driver. This has to be done without removing and reinserting my device.
First iam trying to make Ndis to call my MiniportHalt & then recall
MiniportInitialize.
Any suggestion welcome
Thanks in advance
.
- Follow-Ups:
- Re: ReInvoking MiniportInitialize from protocol driver
- From: fat_boy
- Re: ReInvoking MiniportInitialize from protocol driver
- From: Alireza Dabagh [MS]
- Re: ReInvoking MiniportInitialize from protocol driver
- References:
- ReInvoking MiniportInitialize from protocol driver
- From: haideepu
- Re: ReInvoking MiniportInitialize from protocol driver
- From: Stephan Wolf [MVP]
- Re: ReInvoking MiniportInitialize from protocol driver
- From: haideepu
- Re: ReInvoking MiniportInitialize from protocol driver
- From: soviet_bloke
- ReInvoking MiniportInitialize from protocol driver
- Prev by Date: Re: ReInvoking MiniportInitialize from protocol driver
- Next by Date: Re: NDIS Version question.
- Previous by thread: Re: ReInvoking MiniportInitialize from protocol driver
- Next by thread: Re: ReInvoking MiniportInitialize from protocol driver
- Index(es):
Relevant Pages
|