Is possible to run some API before calling FSGetVolumeInfo to fresh the
system volume info list?
Ben
-----Original Message-----
From: Laurence Harris [mailto:email@hidden]
Sent: Wednesday, November 30, 2005 2:16 PM
To: Ben Zhu; carbon-dev
Subject: Re: FSGetVolumeInfo problem
On 11/30/05 4:33 PM, Ben Zhu didst favor us with:
>
> I guess this is not the first message about FSGetVolumeInfo problem.
>
> I have a loop to find out the specific volume name among the mounted
> volumes.
>
> First I insert a USB device, then go through a loop to call the API
> FSGetVolumeInfo to get the mounted volume. It is fine.
>
> Secondly I insert another USB device, then go through the loop and
call
> the same API, but the FSGetVolumeInfo return error code -35.
>
> What's wrong and how to fix this problem?
I'm not sure exactly what you're doing, but can you not use a
kEventVolumeMounted handler instead?
Larry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden