1

My application needs to access a portable device's contents directly without using the WPD API. Can someone provide some pointers regarding this?

I am using dbcc_name as my device interface path. When I tried to call GetFileAttributes(dbcc_name) I got an "Access denied" error. How do I appropriately set the ACLs for the portable device?

Do I need to use SetupDiSetDeviceRegistryProperty()to set SPDRP_SECURITY property?

Thanks.

reuben
  • 3,360
  • 23
  • 28
ext.dev
  • 121
  • 6

0 Answers0