With this interface you can perform the following operations:
See Listing 3.3 for an example of how to use some of the access path functionality
in a real script. You will want to call the ApplyChanges method to save your changes, as discussed in "Saving the Changes - ApplyChanges."
This allows you to get a collection of user access paths. Refer to the IDE User Guide for a discussion of access paths and their settings.
None ICodeWarriorAccessPathCollection** pval - the access path collection.
This allows you to get a collection of system access paths. Refer to the IDE User Guide for a discussion of access paths and their settings.
None ICodeWarriorAccessPathCollection** pval - the access path collection.
This allows you to determine if the user access paths are set to always be searched. Refer to the IDE User Guide for a discussion of access paths and their settings.
None VARIANT_BOOL* pval - true or false, whether the access path will always be
searched.
This allows you to determine if the user access paths are set to always be searched. Refer to the IDE User Guide for a discussion of access paths and their settings.
AlwaysSearchUserPaths takes the arguments shown in Table 3.4:
ICodeWarriorAccessPath.AlwaysSearchUserPaths Arguments:
This allows you to create an access path.
CreateAccessPath takes the arguments shown in Table 3.5. You should build a ICodeWarriorAccessPath to pass into this call.
Argument
Functionality
EAccessPathLocation inLocation
EAccessPathType inType
ICodeWarriorAccessPath** pval
ICodeWarriorAccessPath.CreateAccessPath Arguments:
This allows you to create an access path.
CreateAccessPathByFileSpec takes the arguments shown in Table 3.6. You should build a ICodeWarriorAccessPath to pass into this call.
Argument
Functionality
IFileSpec* path
EAccessPathLocation inLocation
EAccessPathType inType
ICodeWarriorAccessPath** pval
ICodeWarriorAccessPath.CreateAccessPathByFileSpecArguments:
Call this method to save changes you have made to access paths.