Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Searching files in a folder !



on Mon, 15 Nov 2004 17:44:58, Sandeep Kanwal <email@hidden> wrote:

> I am looking for some help searching files on Mac OS X !!
> First question is which function should I use out of the following:
> 
> FSCatalogSearch() or
> PBCatalogSearchSync() or
> PBCatalogSearchAsync()
> 
> What is the difference I could not understand from the Apple
> documentation maybe I have limited understanding.
> I tried to play around with PBCatalogSearchSync() function and tried to
> search for the files in a folder but the confusing part was this
> documentation...

I'd use one of these:

FSGetCatalogInfoBulk
PBGetCatalogInfoBulkSync
PBGetCatalogInfoBulkAsync

Unless I want to use async call, I'd use FSGetCatalogInfoBulk.
If you need recursive search it is a bit more work than just
finding all childs of a specific folder.

Mike

 _______________________________________________
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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.