Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Please Vote! Binary Installation & Configuration [ Win · Mac · Nix ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix ] Distribution Issues

# SAppFinder

  Searches for applications.

[ Mac | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

## Quick Index

  DESCRIPTION

## Class Summary

class SAppFinder
{
public:

  static ErrCode findAPPLMultiple( long creator, long *vRefsP, long *parIDsP, StringPtr namesP, long maxToReturn, long flags, long *numWritten, long maxNameLen );
  static ErrCode findAPPLSingle( long creator, long *vRef, long *parID, StringPtr pName, long flags );

protected:

}; // SAppFinder

Back to the top of SAppFinder

### DESCRIPTION

Searches for applications.

Back to the top of SAppFinder

### ErrCode findAPPLMultiple( long creator, long *vRefsP, long *parIDsP, StringPtr namesP, long maxToReturn, long flags, long *numWritten, long maxNameLen );

Find a series of apps with the given creator. The FSSpec for each app will be stored unbundled in the 'vRefsP', 'parIDsP', and 'namesP' arrays 'vRefsP' and 'parIDsP' must have at least 'maxToReturn' elements, and 'namesP' must be (maxToReturn * maxNameLen) bytes long.

in creator
  The creator to search for
out vRefsP
  On exit, contains a series of vRefNums
out parIDsP
  On exit, contains a series of parIDs
out namesP
  On exit, contains a series of Pascal strings
in maxToReturn
  The max number to search for
in flags
  unused
out numWritten
  On exit, the number of apps found
in maxNameLen
  The size of each name in 'namesP'

    	static	ErrCode findAPPLMultiple( long creator, long *vRefsP, long *parIDsP,
    										StringPtr namesP, long maxToReturn, long flags,
    										long *numWritten, long maxNameLen );

Back to the top of SAppFinder

### ErrCode findAPPLSingle( long creator, long *vRef, long *parID, StringPtr pName, long flags );

Find one app with the given creator. If found, returns a FSSpec for the app, unbundled in the 'vRef', 'parID', and 'pName' arguments.

in creator
  The creator to search for
out vRef
  On exit, contains the vRefNums of the app
out parID
  On exit, contains the parIDs of the app
out pName
  On exit, contains the Pascal name of the app Must be a Str255
in flags
  if non-zero, a more comprehensive search will be performed

    	static	ErrCode findAPPLSingle( long creator, long *vRef, long *parID,
    									StringPtr pName, long flags );

Back to the top of SAppFinder

## All Members

public:
  static ErrCode findAPPLMultiple( long creator, long *vRefsP, long *parIDsP, StringPtr namesP, long maxToReturn, long flags, long *numWritten, long maxNameLen );
  static ErrCode findAPPLSingle( long creator, long *vRef, long *parID, StringPtr pName, long flags );
protected:

Back to the top of SAppFinder

## Ancestors

Class does not inherit from any other class.

Back to the top of SAppFinder

## Descendants

Class is not inherited by any others.

Back to the top of SAppFinder

Generated from source by the Cocoon utilities on Mon May 28 10:11:10 2001 .

Main Page · JConfig · ImageMeister · System Properties Repository · WordMeister · Free Samples · Java Freeware · Contact Us · FAQ · Links

Copyright (c) 1997,1998,1999,2000 Samizdat Productions. All Rights Reserved.
WarpMovie, TileMovie, JConfig, ImageMeister and MovieShredder are Trademarks of Samizdat Productions.