CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2009
    Posts
    9

    How the change the access properties odf a USB device

    Hi,

    I am trying to Implement one function that is like

    ChangePartitionAccess(DriveLetter) - switch USB partition to read-only or read-write

    i am passing the drive letter of the usb device partition to this method
    and it should change the access of the device partition to read only if it is in read - wirte mode
    and it should change the access to read - write mode if it is in read only mode.

    i would like to know which api i have to use to achieve this functionality

    i am using visual studio 2005.

    Thanks in Advance

  2. #2
    Join Date
    Nov 2003
    Posts
    1,902

    Re: How the change the access properties odf a USB device

    You can toggle read-only for all USB drives: http://technet.microsoft.com/en-us/l...7157.aspx#ECAA

    gg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured