WDF IoTarget ClosedForQueryRemove

How does an IoTarget get in the WdfIoTargetClosedForQueryRemove state?

My driver never calls WdfIoTargetCloseForQueryRemove.

The IoTarget has an EvtIoTargetQueryRemove callback which unconditionally
returns STATUS_UNSUCCESSFUL.

Thanks,

  • Dan.

It appears that calling WdfIoTargetClose temporarily sets the state to
WdfIoTargetClosedForQueryRemove. So, my problem appears to be a
synchronization issue between I/O issued to my target and my call to close
the target.

  • Dan.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dan Kyler
Sent: Friday, September 28, 2007 4:02 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] WDF IoTarget ClosedForQueryRemove

How does an IoTarget get in the WdfIoTargetClosedForQueryRemove state?

My driver never calls WdfIoTargetCloseForQueryRemove.

The IoTarget has an EvtIoTargetQueryRemove callback which unconditionally
returns STATUS_UNSUCCESSFUL.

Thanks,

  • Dan.

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer