Apple AppleShare 3.0 File Server Controls User Manual
Page 62

The SCDisconnect call does not send disconnect attention messages under
Macintosh File Sharing.
SCGetExpFldr
With Macintosh File Sharing, your program should call SCGetExpFldr as shown
in the sample function in the section "SCGetExpFldr" in Chapter 1.
SCNamePtr must be NIL when scIndex is negative. Otherwise, Macintosh File
Sharing writes garbage into memory. See the comments in the sample function
code listed in the section "SCGetExpFldr" in Chapter 1.
Macintosh File Sharing does not return fnfErr when there is no shared volume
or folder at a particular index position. Instead, it returns noErr and takes
no other action. To determine if a particular location is in use, set
scVRefNum to zero before calling SCGetExpFldr. If scVRefNum is still zero
after SCGetExpFldr is called, then there is no shared volume or folder at
that particular index position.
The SCGetExpFldr call does not return scLogins under Macintosh File Sharing.
SCGetSetupInfo
The SCGetSetupInfo call does not return the following results under Macintosh
File Sharing:
- scMaxVolumes (Use the value 10.)
- scMaxExpFolders (Use the value 10.)
- scCurMaxSession (Use SIMaxLogins, which is equal to 11.)
The SCGetSetupInfo call also does not use the following fields of the setup
information record (SetupInfoRec):
- SIVolInfoVisible
- SIUserInfoLocation
- SIUserInfoVisible
- SIShutDownMins
- SISpare
- SILoginMsg
SCPollServer
The SCPollServer call does not return the following values under Macintosh
File Sharing:
- the SCPSSleeping value of the scServerState result
- scSecondsLeft
SCServerVersion