IEEE 1394 Streaming Filter Driver IRP Requirements (Windows CE 5.0)
Always call down to lower level drivers on WDM IRP_MJ_CREATE and IRP_MJ_CLOSE calls.
Your subunit IRP_MJ_CREATE and IRP_MJ_CLOSE code should call down to the drivers below it to ensure that lower-level drivers get the chance to see the action.
While writing your code, you can decide to call down at different places in your function. The streaming filter driver may not be able to complete these requests immediately, so your subunit driver must consider that it might need to wait for the request to complete.
Several possibilities exist, as demonstrated in the following topics:
- IEEE 1394 Streaming Filter Driver IRP Processing Requirements Simple Form
- IEEE 1394 Streaming Filter Driver IRP Processing Requirements Complex Form
- IEEE 1394 Streaming Filter Driver IRP Processing Requirements Incorrect Form
The samples refer to the IRP_MJ_CREATE command, but the concepts apply to the IRP_MJ_CLOSE command as well.
Send Feedback on this topic to the authors