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

# SVolumes

  Routines for working with volumes.

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

## Quick Index

  DESCRIPTION

## Class Summary

class SVolumes
{
public:

  static ErrCode setVolumeColorCoding( long vRef, long newCoding );
  static ErrCode getVolumeFinderInfo( long vRef, long *creator, long *type, long *flags, long *attribs );
  static ErrCode setVolumeDate( long vRef, CDateBundle *dateBundle );
  static ErrCode verifyVolume( long vRef );
  static ErrCode getVolumeDate( long vRef, CDateBundle *dateBundle );
  static ErrCode renameVolume( long vRef, const CStr *csNewName );
  static ErrCode getVolumeCapacity( long vRef, UnsignedWide *capacity );
  static ErrCode getVolumeFreeSpace( long vRef, UnsignedWide *space );
  static ErrCode getVolumeName( long vRef, StringPtr volumeName );
  static ErrCode getAllVolumes( long *numReturned, long maxToReturn, long *refsP );
  static ErrCode moreFilesOnLine( long *refsP, long maxToReturn, long *numReturned );
  static ErrCode getAllVRefNums( long *vRefP, long maxNum, long *numReturned );

protected:

}; // SVolumes

Back to the top of SVolumes

### DESCRIPTION

Routines for working with volumes.

Back to the top of SVolumes

### ErrCode setVolumeColorCoding( long vRef, long newCoding );

Set the color coding of a volume

    	static	ErrCode setVolumeColorCoding( long vRef, long newCoding );

Back to the top of SVolumes

### ErrCode getVolumeFinderInfo( long vRef, long *creator, long *type, long *flags, long *attribs );

Call SFiles::getFinderInfo for a volume.

    	static	ErrCode getVolumeFinderInfo( long vRef, long *creator, long *type, long *flags, long *attribs );

Back to the top of SVolumes

### ErrCode setVolumeDate( long vRef, CDateBundle *dateBundle );

Set the date of a volume.

    	static	ErrCode setVolumeDate( long vRef, CDateBundle *dateBundle );

Back to the top of SVolumes

### ErrCode verifyVolume( long vRef );

Verify that a volume is still mounted.

    	static	ErrCode verifyVolume( long vRef );

Back to the top of SVolumes

### ErrCode getVolumeDate( long vRef, CDateBundle *dateBundle );

Get the date of a volume.

    	static	ErrCode getVolumeDate( long vRef, CDateBundle *dateBundle );

Back to the top of SVolumes

### ErrCode renameVolume( long vRef, const CStr *csNewName );

Rename a volume

    	static	ErrCode renameVolume( long vRef, const CStr *csNewName );

Back to the top of SVolumes

### ErrCode getVolumeCapacity( long vRef, UnsignedWide *capacity );

Get the maximum capacity of a volume.

    	static	ErrCode getVolumeCapacity( long vRef, UnsignedWide *capacity );

Back to the top of SVolumes

### ErrCode getVolumeFreeSpace( long vRef, UnsignedWide *space );

Get the free space of a volume.

    	static	ErrCode getVolumeFreeSpace( long vRef, UnsignedWide *space );

Back to the top of SVolumes

### ErrCode getVolumeName( long vRef, StringPtr volumeName );

Get the name of a volume.

    	static	ErrCode getVolumeName( long vRef, StringPtr volumeName );

Back to the top of SVolumes

### ErrCode getAllVolumes( long *numReturned, long maxToReturn, long *refsP );

Get a list of the mounted volumes.

    	static	ErrCode getAllVolumes( long *numReturned, long maxToReturn, long *refsP );

Back to the top of SVolumes

### ErrCode moreFilesOnLine( long *refsP, long maxToReturn, long *numReturned );

Wraps the MoreFiles OnLine routine.

    	static	ErrCode moreFilesOnLine( long *refsP, long maxToReturn, long *numReturned );

Back to the top of SVolumes

### ErrCode getAllVRefNums( long *vRefP, long maxNum, long *numReturned );

Get a list of the mounted volumes.

    	static	ErrCode getAllVRefNums( long *vRefP, long maxNum, long *numReturned );

Back to the top of SVolumes

## All Members

public:
  static ErrCode setVolumeColorCoding( long vRef, long newCoding );
  static ErrCode getVolumeFinderInfo( long vRef, long *creator, long *type, long *flags, long *attribs );
  static ErrCode setVolumeDate( long vRef, CDateBundle *dateBundle );
  static ErrCode verifyVolume( long vRef );
  static ErrCode getVolumeDate( long vRef, CDateBundle *dateBundle );
  static ErrCode renameVolume( long vRef, const CStr *csNewName );
  static ErrCode getVolumeCapacity( long vRef, UnsignedWide *capacity );
  static ErrCode getVolumeFreeSpace( long vRef, UnsignedWide *space );
  static ErrCode getVolumeName( long vRef, StringPtr volumeName );
  static ErrCode getAllVolumes( long *numReturned, long maxToReturn, long *refsP );
  static ErrCode moreFilesOnLine( long *refsP, long maxToReturn, long *numReturned );
  static ErrCode getAllVRefNums( long *vRefP, long maxNum, long *numReturned );
protected:

Back to the top of SVolumes

## Ancestors

Class does not inherit from any other class.

Back to the top of SVolumes

## Descendants

Class is not inherited by any others.

Back to the top of SVolumes

Generated from source by the Cocoon utilities on Mon May 28 10:11:11 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.