If the underlying bus is queueing the dpc state with the pkdc, you are tearing state with what the wdfdpc thinks the state of the pkdc is. You are better off just declaring a KDPC without the wdf object so you don’t have the torn state.
d
debt from my phone
From: xxxxx@gmail.com
Sent: 10/1/2012 4:54 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Multiport Ethernet Device
I know it has something to do with my WDFDPC calls…I’m just not sure what. The parent device of the DPC object is the device object of the miniport driver, and I pass this DPC object to the bus driver, which enqueues it whenever a interrupt arrives for the miniport.
STATE
Miniport Running
Device PnP REMOVED
Datapath Normal
Operational status DORMANT
Operational flags 00000004 ? DORMANT_PAUSED
Admin status ADMIN_UP
Media Connected
Power D0
References 8
User Handles 0
Total Resets 0
Pending OID None
Flags 2c452208
? BUS_MASTER, SG_DMA, DEFAULT_PORT_ACTIVATED, SUPPORTS_MEDIA_SENSE,
DOES_NOT_DO_LOOPBACK, MEDIA_CONNECTED
PnPFlags 00200012
? VIRTUAL_DEVICE, REMOVE_IN_PROGRESS, HARDWARE_DEVICE
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