Re: How to display items in trash
Re: How to display items in trash
- Subject: Re: How to display items in trash
- From: Gregory Weston <email@hidden>
- Date: Wed, 26 Apr 2006 12:09:19 -0400
Dirk Musfeldt wrote:
what is the reight way to detect items in the trash?
For each mounted volume, call
FSFindFolder(theInfo.volume, kTrashFolderType, kDontCreateFolder,
&theFile);
One way to get the volume reference number is to call
FSGetCatalogInfo(&theFile, kFSCatInfoVolume, &theInfo, 0, 0, 0);
where theFile is an FSRef for the volume's mount-point.
Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden