On 11/30/05 7:00 PM, Ben Zhu didst favor us with:
> Whenever a kEventVolumeMounted occurs, how I can know the mounted volume
> info such as its reference number? How I can know if the mounted device
> is a USB flash mem stick?
You didn't read about these events in CarbonEvents.h like I suggested, did
you?
Larry
>
>
> -----Original Message-----
> From: Laurence Harris [mailto:email@hidden]
> Sent: Wednesday, November 30, 2005 3:42 PM
> To: Ben Zhu; carbon-dev
> Subject: Re: FSGetVolumeInfo problem
>
> On 11/30/05 6:11 PM, Ben Zhu didst favor us with:
>
>> Larry,
>>
>> Can you point out where I can get some sample code to show how to use
>> the kEventVolumeMounted and
>> kEventVolumeUnmounted events?
>
> Just install a handler on the application for the events that interest you and
> it will be called when a volume is mounted or unmounted. Read about them in
> CarbonEvents.h. If you've done anything with CarbonEvents then you shouldn't
> need any sample code for these. I install my handler on the application. I
> don't remember off the top of my head if these events are sent to windows or
> not.
>
> Larry
>>
>> Thanks,
>>
>> Ben
>>
>>
>>
>> -----Original Message-----
>> From: Laurence Harris [mailto:email@hidden]
>> Sent: Wednesday, November 30, 2005 2:16 PM
_______________________________________________
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