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

# SAliases

  Used to work with aliases

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

## Quick Index

  DESCRIPTION

## Class Summary

class SAliases
{
public:

  typedef enum tageResolveFlags eResolveFlags;
  typedef enum tageCreateFlags eCreateFlags;
  static ErrCode iResolveLinkFile( const CStr *linkFilePath, CStr *resolvedFile, eResolveFlags flags );
  static ErrCode iCreateVolumeAlias( const CStr *driveName, const CStr *newAliasPath, const CStr *description, eCreateFlags flags );
  static ErrCode iCreateFileAlias( const CStr *targetPath, const CStr *newAliasPath, const CStr *description, eCreateFlags flags );

protected:

}; // SAliases

Back to the top of SAliases

### DESCRIPTION

Creates and resolves aliases.

Back to the top of SAliases

### typedef enum tageResolveFlags eResolveFlags;

Flags used with iResolveLinkFile()

    	typedef enum tageResolveFlags {
    		kResolveLinkFileNoUI = 1,
    		kResolveLinkFileUI = 2
    	} eResolveFlags;

Back to the top of SAliases

### typedef enum tageCreateFlags eCreateFlags;

Flags used with iCreateVolumeAlias() and iCreateFileAlias()

    	typedef enum tageCreateFlags {
    		kIgnored = 0
    	} eCreateFlags;

Back to the top of SAliases

### ErrCode iResolveLinkFile( const CStr *linkFilePath, CStr *resolvedFile, eResolveFlags flags );

Resolves an alias

in linkFilePath
  The alias to be resolved.
out resolvedFile
  On exit, contains the full path of the target file
in flags
  If kResolveLinkFileUI, interaction with the user is possible, such as showing a dialog box if the file can't be found. Otherwise, no interaction is allowed.

    	static	ErrCode iResolveLinkFile( const CStr *linkFilePath, CStr *resolvedFile, eResolveFlags flags );

Back to the top of SAliases

### ErrCode iCreateVolumeAlias( const CStr *driveName, const CStr *newAliasPath, const CStr *description, eCreateFlags flags );

Creates an alias to a volume.

in driveName
  The target of the alias
in newAliasPath
  The location of the new alias
in description
  The description
in flags
  Ignored

    	static	ErrCode iCreateVolumeAlias( const CStr *driveName, const CStr *newAliasPath,
    										const CStr *description, eCreateFlags flags );

Back to the top of SAliases

### ErrCode iCreateFileAlias( const CStr *targetPath, const CStr *newAliasPath, const CStr *description, eCreateFlags flags );

Creates an alias to a file.

in targetPath
  The target of the alias
in newAliasPath
  The location of the new alias
in description
  The description
in flags
  Ignored.

    	static	ErrCode iCreateFileAlias( const CStr *targetPath, const CStr *newAliasPath,
    										const CStr *description, eCreateFlags flags );

Back to the top of SAliases

## All Members

public:
  typedef enum tageResolveFlags eResolveFlags;
  typedef enum tageCreateFlags eCreateFlags;
  static ErrCode iResolveLinkFile( const CStr *linkFilePath, CStr *resolvedFile, eResolveFlags flags );
  static ErrCode iCreateVolumeAlias( const CStr *driveName, const CStr *newAliasPath, const CStr *description, eCreateFlags flags );
  static ErrCode iCreateFileAlias( const CStr *targetPath, const CStr *newAliasPath, const CStr *description, eCreateFlags flags );
protected:

Back to the top of SAliases

## Ancestors

Class does not inherit from any other class.

Back to the top of SAliases

## Descendants

Class is not inherited by any others.

Back to the top of SAliases

Generated from source by the Cocoon utilities on Fri Aug 23 12:34:06 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.