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

CLinkFileUtils

Uses COM to create and resolve link files.

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

Quick Index

DESCRIPTION

Class Summary

class CLinkFileUtils
{

public:
static HRESULT createLink( const CStr *csTargetFile, const CStr *csLinkFile, const CStr *csDesc );
static HRESULT resolveLink( HWND hwnd, const CStr *csLinkFile, CStr *csTargetFile, BOOL bUseUI );
protected:
}; // CLinkFileUtils

Back to the top of CLinkFileUtils


DESCRIPTION

Contains two static methods to create and resolve link files.

Back to the top of CLinkFileUtils


HRESULT createLink( const CStr *csTargetFile, const CStr *csLinkFile, const CStr *csDesc );

Creates a link file (.lnk) to the given file. Use the SUCCEEDED(), etc. macros to determine whether the function has succeeded or not.

in csTargetFile
Full path of the link target.
in csLinkFile
Full path of the new link file.
in csDesc
A description which will be stored with the link file.

	static	HRESULT		createLink( const CStr *csTargetFile, const CStr *csLinkFile, const CStr *csDesc );

Back to the top of CLinkFileUtils


HRESULT resolveLink( HWND hwnd, const CStr *csLinkFile, CStr *csTargetFile, BOOL bUseUI );

Resolves the given link file. Use the SUCCEEDED(), etc. macros to determine whether the function has succeeded or not.

in hwnd
Used if any dialogs need to be shown to the user.
in csLinkFile
Full path to the link file to be resolved.
out csTargetFile
Set to the full path of the link file's target.
in bUseUI
If TRUE, 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	HRESULT		resolveLink( HWND hwnd, const CStr *csLinkFile, CStr *csTargetFile, BOOL bUseUI );

Back to the top of CLinkFileUtils


All Members

public:
static HRESULT createLink( const CStr *csTargetFile, const CStr *csLinkFile, const CStr *csDesc );
static HRESULT resolveLink( HWND hwnd, const CStr *csLinkFile, CStr *csTargetFile, BOOL bUseUI );
protected:

Back to the top of CLinkFileUtils


Ancestors

Class does not inherit from any other class.

Back to the top of CLinkFileUtils


Descendants

Class is not inherited by any others.

Back to the top of CLinkFileUtils


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

Report problems to jkotula@stratasys.com


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.