User Manual

volumes supported by the server.
Note This value is not returned under Macintosh File Sharing. (The maximum
number of volumes supported under Macintosh File Sharing is 10.)
scMaxExpFolders Word result value: Returns the maximum
number of shared folders supported by the
server.
Note This value is not returned under Macintosh File Sharing. (The maximum
number of folders supported under Macintosh File Sharing is 10.)
scCode Word input value: The server control code;
always SCGetSetupInfo ($0007).
scCurMaxSessions Word result value: Returns the maximum number
of logins currently allowed.
Note This value is not returned under Macintosh File Sharing. Use
SIMaxLogins (equal to 11).
Result Codes noErr 0 No error.
paramErr -50 The server is not running.
SCGetUserMountInfo
SCGetUserMountInfo returns information about how a user is using a particular
volume. For a shared folder (that is, if the value of scVRefNum is positive),
these values are for that shared folder only. For a real volume (that is, if
the value of scVRefNum is negative), these values represent totals for all
shared folders on the volume.
Note This call is not supported by Macintosh File Sharing.
Parameter (uses volMountedPB variant of SCParamBlockRec)
Block 16 ioResult word
22 scVRefNum word
26 scCode word
28 scFilesOpen word
30 scWriteableFiles word
32 scUNRecID long
36 scMounted byte
37 scMountedAsOwner byte
Fields ioResult Word result value: Result code.
scVRefNum Word input value: The volume specification or
shared folder specification.