Carbon


PBCatalogSearchSync

Header: Files.h Carbon status: Supported

Searches for objects from a catalog iterator that match a given set of criteria.

OSErr PBCatalogSearchSync (
    FSCatalogBulkParam *paramBlock
);
Parameter descriptions
paramBlock

A pointer to a parameter block

function result

A result code.

DISCUSSION

The relevant fields of this parameter are:

A single search may span more than one call to PBCatalogSearchSync. Various information about each matching file or directory is returned.

You can get various information about all the matching files or directories. The whichInfo, catalogInfos, fsRefs, nameLengths, and names parameters are used in the same way as for the FSGetCatalogInfoBulk call.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 9, or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)