Important: The information in this document is obsolete and should not be used for new development.
Shared Environment Routines
The File Manager provides a number of routines that allow you to control access to files, directories, and volumes in a shared environment. The routines described in this section allow you to
Before using the routines described in this section, call the
- provide multiple users with read/write access to files
- lock and unlock portions of files opened with shared read/write permission
- manipulate share points on local shared volumes
- get and change the access privileges for directories
- mount remote volumes
- control login access
- access a list of users and groups on the local file server
PBHGetVolParms
function to see if the volume supports them. (ThePBGetVolMountInfoSize
,PBGetVolMountInfo
, andPBVolumeMount
routines are exceptions: you'll just
have to make these calls and check the result code.)
Subtopics
- Opening Files While Denying Access
- Locking and Unlocking File Ranges
- Manipulating Share Points
- Controlling Directory Access
- Mounting Volumes
- Controlling Login Access
- Copying and Moving Files