Cannot get IDeviceIoControl for DVD Drive RRS feed

  • Question

  • I have tried to get IDeviceIoControl ift for DVD Drive to communicate with MMC,

    but I have not yet succceeded.

    I succeeded to get ICreateDeviceAccessAsync itf by passing a device interface path (eg. \\?\ide#cdrom ...#{53f56308-..}")

    to CreateDeviceAccessInstance(), but ICreateDeviceAccessAsync::GetResult() returned E_ACCESSDENIED

    after Start()/Wait() method calls were success.


    I wrote Capabilities element in the appmanifest as following:

     <Capability Name="removableStorage" />
     <DeviceCapability Name="53f56308-b6bf-11d0-94f2-00a0c91efb8b" /> <!-- CDROM -->
     <DeviceCapability Name="2ACCFE60-C130-11D2-B082-00A0C91EFB8B" /> <!-- Storage port -->
     <DeviceCapability Name="53F5630D-B6BF-11D0-94F2-00A0C91EFB8B" /> <!-- Volume -->
     <DeviceCapability Name="53F56312-B6BF-11D0-94F2-00A0C91EFB8B" /> <!-- CD Changer -->
     <DeviceCapability Name="A5DCBF10-6530-11D2-901F-00C04FB951ED" /> <!-- USB Device -->
     <DeviceCapability Name="3ABF6F2D-71C4-462A-8A92-1E6861E6AF27" /> <!-- USB Host Controller -->
     <DeviceCapability Name="F18A0E88-C30C-11D0-8815-00A0C906BED8" /> <!-- USB Hub -->

    Should I do anymore to get IDeviceIoControl itf for DVD Drive ?


    Thursday, October 6, 2011 9:47 AM


  • I do not see another interface that could be used in place of the IOCTL interface.

    Tuesday, October 25, 2011 1:21 AM

All replies

  • I'm looking into this.



    Friday, October 7, 2011 12:29 AM
  • Hi Masaki,

    IDeviceIoControl can't be used with the DVD drive like that. 

    IDeviceIoControl is only supported for 3<sup>rd</sup> party drivers with interfaces that are marked as restricted (as illustrated in the MoFX2 and UMDF OSR FX2 driver sample(s))

    We will file a API reference documentation bug to update our reference docs for CreateDeviceAccessInstance and IDeviceIoControl to reflect that.



    Friday, October 7, 2011 12:50 AM
  • Hi Rob,

    Thank you for you reply and I understand IDeviceIoControl cannot be used with the DVD drive.

    But I would like to ask whether there is another way to pass MMC (multimedia commands) directly to the drive or not.

    (I want to implement not only DVD/BD video recording but also CPRM/AACS functionality

     on Metro style app by using the above way.)

    Friday, October 7, 2011 5:42 AM
  • I do not see another interface that could be used in place of the IOCTL interface.

    Tuesday, October 25, 2011 1:21 AM
  • Hi Eric,


    I'm sorry to be late to respond and thank you for your answer above.

    I understand that there is no IOCTL itf for Metro/WinRT, although it is a real disappointment for me...

    Tuesday, November 1, 2011 5:09 AM
  • Masaki,

    You are very welcome.  I will let the product group know your feedback.

    Best Wishes - Eric


    Tuesday, November 8, 2011 1:08 AM