beautypg.com

Apple AppleShare 3.0 File Server Controls User Manual

Page 61

background image

Note This call is not supported by Macintosh File Sharing.

Parameter (uses standardPB variant of SCParamBlockRec)

Block 16 ioResult word

26 scCode word

Fields ioResult Word result value: Result code.

scCode Word input value: The server control code; always

SCWakeServer ($0015).

Result Codes noErr 0 No error.

paramErr -50 The server is not sleeping.

Other errors from the launching of the server -- such as fnfErr and

memFullErr -- may also be returned.

_____________________________________________________________________________

APPENDIX A

_____________________________________________________________________________

MACINTOSH FILE SHARING SERVER CONTROL CALLS

Macintosh File Sharing supports a subset of the AppleShare File Server 3.0

server control calls. This appendix lists the calls available with Macintosh

File Sharing and discusses the differences between using server control calls

with the AppleShare File Server 3.0 and using them with Macintosh File

Sharing.

Macintosh File Sharing supports the following server control calls:

- SCCancelShutDown

- SCDisconnect

- SCGetExpFldr

- SCGetSetupInfo

- SCPollServer

- SCServerVersion

- SCSetSetupInfo

- SCShutDown

- SCStartServer

Of the server control calls that are supported, some of these calls behave

differently under Macintosh File Sharing than they do under the AppleShare

File Server 3.0. The sections that follow explain those differences.

SCDisconnect