Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix · OSX ] 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 · OSX ] Distribution Issues

# SResFile

  Routines for working with resource forks.

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

## Quick Index

  DESCRIPTION

## Class Summary

class SResFile
{
public:

  static short openExistingResFile( const CFSpec *theSpec );
  static void closeResFile( long fileFD );
  static ErrCode getResourceSize( long fileFD, long resName, long resID, long *resSizeP );
  static ErrCode getResource( long fileFD, long resName, long resID, long bufLen, char *bufP );

protected:

}; // SResFile

Back to the top of SResFile

### DESCRIPTION

Routines for working with resource forks.

Back to the top of SResFile

### short openExistingResFile( const CFSpec *theSpec );

Open a resource fork.

    	static	short openExistingResFile( const CFSpec *theSpec );

Back to the top of SResFile

### void closeResFile( long fileFD );

Close a resource fork.

    	static	void closeResFile( long fileFD );

Back to the top of SResFile

### ErrCode getResourceSize( long fileFD, long resName, long resID, long *resSizeP );

Get the size of a resource.

    	static	ErrCode getResourceSize( long fileFD, long resName, long resID, long *resSizeP );

Back to the top of SResFile

### ErrCode getResource( long fileFD, long resName, long resID, long bufLen, char *bufP );

Get a resource into a buffer.

    	static	ErrCode getResource( long fileFD, long resName, long resID, long bufLen, char *bufP );

Back to the top of SResFile

## All Members

public:
  static short openExistingResFile( const CFSpec *theSpec );
  static void closeResFile( long fileFD );
  static ErrCode getResourceSize( long fileFD, long resName, long resID, long *resSizeP );
  static ErrCode getResource( long fileFD, long resName, long resID, long bufLen, char *bufP );
protected:

Back to the top of SResFile

## Ancestors

Class does not inherit from any other class.

Back to the top of SResFile

## Descendants

Class is not inherited by any others.

Back to the top of SResFile

Generated from source by the Cocoon utilities on Fri Aug 23 12:34:31 2002 .

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

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