Major functions have a default handler that returns STATUS_NOT_IMPLEMENTED,
minor functions are your responsibility. This is why you should use KMDF
they have default functions to do the right thing for PnP.
–
Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
“sahrizal sofian” wrote in message
news:xxxxx@ntdev…
I have some questions:
1. Regarding minor pnp functions of major function pnp. I read that there
are some minor functions that must be processed by bus drivers. Does our
function drivers have to explicitly implement this forward to bus driver?
Or, maybe after cannot finding any handler in funcitonal driver it will
b=WXì8XÌUX0default by the operatng system go to the next lower driver?
2. In general term to question 1, i want to ask, if we forget to make a
handler for one of major function or some minor funcion case and there are
IRP’s related to these, what will happend? Is there any default handler from
the operating system itself or is it going to be a problem?
Information from ESET NOD32 Antivirus, version of virus signatur=
database 4360 (20090823)
The message was checked by ESET NOD32 Antivirus.
- error reading archive
http://www.eset.com
Information from ESET NOD32 Antivirus, version of virus signature database 4360 (20090823)
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
Actually, not to put too fine a point on it, but the default handler returns STATUS_INVALID_DEVICE_REQUEST.
Minor functions are not typically used in Windows for Read, Write, and Device Control. They are always used for PnP, Power, and System Control.
Peter
OSR