Hi
I am using the XP-DDK and developed an USB Driver for my device ( BULK Type )
When I tested my driver with PnPD tools avaliable in the XP-DDK the pnpfiltr.sys is crashed during the rebalance test and surpizeremoval test with the messages copied at the end of this mail.
However the PlugandPlay test in DTM is passed with the same driver. We also tested the PnPD Test executable in DTM as a stand-alone executable and this is also working ( all the tests are finished without any un-expected errors )
We observed that there is a change in the PnPD Test executable used in both cases ( in DDK and in DTM ).
Is the PnPD Test executable supplied with XP-DDK has any issues like , what I am facing right now??
The Crash log is :
///////////////////////////////////////////
BulkUsb_DispatchPnP:: BEGIN
BulkUsb_DispatchPnP::default::
PNPFILTR: Received IRP_MN_QUERY_DEVICE_RELATIONS which I am simply passing down
///////////////////////////////////////////
BulkUsb_DispatchPnP:: BEGIN
BulkUsb_DispatchPnP::default::
PNPFILTR: Received IOCTL_QUERY_DEVICE_COUNT
PNPFILTR: Received IOCTL_QUERY_HARDWARE_ID_SIZE for PDO 0x81B68190
PNPFILTR: Received IOCTL_QUERY_HARDWARE_ID for PDO 0x81B68190
PNPFILTR: Received IOCTL_REBALANCE_DEVICE for PDO 0x81B68190
PNPFILTR: Calling IoInvalidateDeviceState on PDO 81B68190
Access violation - code c0000005 (!!! second chance !!!)
*** ERROR: Module load completed but symbols could not be loaded for pnpfiltr.sys
pnpfiltr+0x1fa9:
f8838fa9 8b00 mov eax,dword ptr [eax]
Regards
Ajay