-
Routines for finding applications.
[
Windows |
Source |
Keywords |
Summary | Ancestors | All Members | Descendants ]
- DESCRIPTION
Class Summary
class SAppFinder
{
public:
- static ErrCode iNativeFindVerbs( const CStr *fullPath, const CStr *fileName, CStringVector *vatVec, long maxToReturn, long *numReturned );
- static ErrCode iNativeFindAppsByName( const CStr *appName, const CStr *defaultDir, long maxToReturn, long flags, CStringVector *pRetTable );
- static ErrCode iNativeFindAppsByExtension( const CStr *fileExt, const CStr *tempDir, long maxToReturn, long flags, CStringVector *pRetTable );
protected:
}; // SAppFinder
Back to the top of SAppFinder
DESCRIPTION
Routines for finding applications.
Back to the top of SAppFinder
ErrCode iNativeFindVerbs( const CStr *fullPath, const CStr *fileName, CStringVector *vatVec, long maxToReturn, long *numReturned );
Searches the Registry for entries which mention of an application, and returns the registry entries in
'VAT' format.
A 'VAT' consists of a set of four strings: an extension, a Registry key, a verb, and a command line.
Ex. { ".txt", "txtfile\\shell\\open\\command", "open", "c:\windows\notepad %1" }
- in fullPath
- The full path of the application.
- in fileName
- The name of the application.
- out vatVec
- On exit, contains the returned strings.
- in maxToReturn
- The full path of the application.
- out numReturned
- On exit, contains the number of entries
static ErrCode iNativeFindVerbs( const CStr *fullPath, const CStr *fileName, CStringVector *vatVec,
long maxToReturn, long *numReturned );
Back to the top of SAppFinder
ErrCode iNativeFindAppsByName( const CStr *appName, const CStr *defaultDir, long maxToReturn, long flags, CStringVector *pRetTable );
Finds apps by name.
- in appName
- The application name.
- in defaultDir
- the default directory
- in maxToReturn
- The maximum number of apps to return
- in flags
- The lower 2 bits indicate the search level,
with 0 being the fastest and 3 being the most extensive
- out pRetTable
- On exit, contains the found applications.
static ErrCode iNativeFindAppsByName( const CStr *appName, const CStr *defaultDir, long maxToReturn,
long flags, CStringVector *pRetTable );
Back to the top of SAppFinder
ErrCode iNativeFindAppsByExtension( const CStr *fileExt, const CStr *tempDir, long maxToReturn, long flags, CStringVector *pRetTable );
Finds apps by extension.
- in fileExt
- The extension.
- in tempDir
- The path to a writable temporary directory.
- in maxToReturn
- The maximum number of apps to return
- in flags
- Various flags
- out pRetTable
- On exit, contains the found applications.
static ErrCode iNativeFindAppsByExtension( const CStr *fileExt, const CStr *tempDir, long maxToReturn,
long flags, CStringVector *pRetTable );
Back to the top of SAppFinder
All Members
- public:
- static ErrCode iNativeFindVerbs( const CStr *fullPath, const CStr *fileName, CStringVector *vatVec, long maxToReturn, long *numReturned );
- static ErrCode iNativeFindAppsByName( const CStr *appName, const CStr *defaultDir, long maxToReturn, long flags, CStringVector *pRetTable );
- static ErrCode iNativeFindAppsByExtension( const CStr *fileExt, const CStr *tempDir, long maxToReturn, long flags, CStringVector *pRetTable );
- 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 Fri Aug 11 01:17:38 2000
.
Report problems to jkotula@stratasys.com