Apple AppleShare 3.0 File Server Controls User Manual
Page 42

of the parameter block, and lists the possible result codes. The calls are
presented in alphabetical order.
SCCancelShutDown
SCCancelShutDown cancels the shutdown or disconnect in progress. If a
shutdown was in progress, a shutdown-canceled attention message is sent to
all affected users.
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 SCCancelShutDown
($0003).
Result Codes noErr 0 No error.
paramErr -50 No shutdown or disconnect was in
progress.
SCClrCopyProtect
SCClrCopyProtect is called by the AppleShare Admin application or some other
program executing locally on the server computer when the program wants to
clear the copy-protect status of a file.
Note This call is not supported by Macintosh File Sharing.
Parameter (uses standardPB variant of SCParamBlockRec)
Block 16 ioResult word
18 scNamePtr long
22 scVRefNum word
26 scCode word
30 scDirID long
Fields ioResult Word result value: Result code.
scNamePtr Longword input pointer: Points to the
filename.
scVRefNum Word input value: The volume specification.
scCode Word input value: The server control code;
always SCClrCopyProtect ($0011).
scDirID Longword input value: The parent directory
ID.