how to reject Virtual disk when device unplugging from usb port

Discussion in 'Mac Programming' started by MayPeng, Jan 17, 2011.

  1. MayPeng macrumors member

    Joined:
    Nov 21, 2010
    #1
    I have a usb device , when it plug into the mac , it will appear a virtual disk .I want to reject it when unpluging device from the mac. How to reject Virtual disk when device unplugging from usb port by programming.

    Thank you!
     
  2. lloyddean macrumors 6502a

    Joined:
    May 10, 2009
    Location:
    Des Moines, WA
  3. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #3
    What is a virtual disk? What do you mean by "reject"? If you mean eject (a totally different word with different meaning) then what you want is impossible: you cannot eject the device once it's been removed: you must eject before removal.
     

Share This Page