Re: How to treat IRP_MN_START_DEVICE request?
- From: "Doron Holan [MSFT]" <doronh@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 4 Jan 2008 14:42:31 -0800
b/c your device was first stopped. i would strongly suggest that you use KMDF and let it implement pnp and power support for you, this is only the tip of the iceburg for the problems that you will deal with
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.
"Simon" <simon@xxxxxxxxxxx> wrote in message news:A828AE57-FC3C-44E4-87D5-1FC307BFDFE4@xxxxxxxxxxxxxxxx
Hi:
On Windows Vista my driver can receive IRP_MN_START_DEVICE 2 times.
The scenario is somehow like the step as below..
DriverEntry
AddDevice
IRP_MN_START_DEVICE
.
.
.
.
IRP_MN_QUERY_STOP
IRP_MN_STOP_DEVICE
IRP_MN_START_DEVICE
Why Pnp Manager send IRP_MN_START_DEVICE twice to my driver?
--
Simon Liao
Best Regards
.
- Follow-Ups:
- Re: How to treat IRP_MN_START_DEVICE request?
- From: chris . aseltine
- Re: How to treat IRP_MN_START_DEVICE request?
- Prev by Date: Re: turning a device into a mouse
- Next by Date: Re: RtlStringCbCopyN must be called at PASSIVE?
- Previous by thread: Re: How to treat IRP_MN_START_DEVICE request?
- Next by thread: Re: How to treat IRP_MN_START_DEVICE request?
- Index(es):
Relevant Pages
|