beautypg.com

Apple AppleShare 3.0 File Server Controls User Manual

Page 48

background image

bJBSEnabled Set if Apple II boot service is enabled.

All other bits are reserved.

scNumSessions Word result value: The number of

currently opened sessions.

scUserListModDate Longword result value: The last date and

time (DateTime) that the user list was

modified. (This value is helpful in

minimizing the amount of updating needed

by a monitoring application that updates

some user list.)

scActivity Word result value: The server activity,

in percent (5%-100%).

scVolListModDate Longword result value: The last time

(TickCount) that the volume list was

modified. (This value is helpful in

minimizing the amount of updating needed

by a monitoring application that updates

some volume list.)

Result Codes noErr 0 No error.

paramErr -50 The server is not running.

SCGetSetupInfo

SCGetSetupInfo returns server setup information. The setup information record

(SetupInfoRec) is defined in the server control calls interface file. (See

Appendix B for a listing of the interface file. SetupInfoRec appears in the

"Server Control Data Types" section.)

Parameter (uses setupPB variant of SCParamBlockRec)

Block 16 ioResult word

18 scSetupPtr long

22 scMaxVolumes word

24 scMaxExpFolders word

26 scCode word

28 scCurMaxSessions word

Fields ioResult Word result value: Result code.

scSetupPtr Longword input pointer: Points to the setup

information record (SetupInfoRec) where the server

setup information will be returned, or must

contain NIL.

scMaxVolumes Word result value: Returns the maximum number of