Operation Flow with Single Device Stack

[This topic applies to UMDF 1.x.]

The following figure shows the flow of operations that occur to and from the UMDF functional driver in a single device stack.

UMDF call sequence for create file followed by a read request
Note   All I/O that is initiated by applications is routed through kernel mode as shown in the figures in the Architecture of the UMDF section, even though the preceding figure does not show this situation.

The UMDF driver calls the IWDFIoRequest::GetCreateParameters method only if it requires information about the file that is associated with the read request. The UMDF driver calls the IWDFIoRequest::GetReadParameters method only if it requires more information about the read request.

The UMDF driver can call the IWDFIoRequest::Complete method rather than the IWDFIoRequest::CompleteWithInformation method if specifying the number of bytes that are transferred in the read operation is not required. The UMDF driver calls Complete or CompleteWithInformation to signal that the read operation is complete; the application can then access the read data.

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft