ATAPI device handling in storport miniport RRS feed

  • Question

  • Hi,

    I need to handle ATAPI device (CD/DVD) in storport miniport driver .

    As per msdn documentation and sample driver storahci , miniport driver needs to register attributes of the device after first inquiry.

    storportSetUnitAttributes() function does it and it is available only on WDK10.

    But I need to build my driver on WDK7 .

    if attributes are not set using that API , driver keeps on getting SRB_FUNCTION_RESET_LOGICAL_UNIT and system never boots.

    Please suggest anything to get around this problem.

    Any pointer would be useful.

    Thanks & Regards,

    Mohit Gahlyan

    Tuesday, February 19, 2019 4:14 PM

All replies

  • Win7 was a long time ago, and I don't remember the details. Download the Win7 WDK and look at the sample


    Azius Developer Training Windows device driver, internals, security, & forensics training and consulting. Blog at

    Thursday, February 21, 2019 6:45 PM