Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

WDF Driver Generic Architecture

  • IOCTLs are used to execute commands that the Application needs. Driver implements a list of IOCTLs in a huge switch statement.
  • WdfRequestRetrieveInputBuffer is used to get handle to the input buffer from the driver source code
  • WdfRequestRetrieveOutputBuffer is used to get handle to output buffer from driver src. Driver places results of operation into the output buffer.
  • DeviceIoControl is invoked by the interface library.
  • After the call to DeviceIoControl, the output buffer is retrieved and returned to the application.