Apple AppleShare 3.0 File Server Controls Manuel d'utilisateur Page 13

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 79
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 12
MySCCancelShutDown := SyncServerDispatch(@scPB);
END;
SCSleepServer
The following function calls SCSleepServer to temporarily shut down the file
server ("put it to sleep"). You might want to put a file server to sleep
before switching networks or temporarily turning off AppleTalk.
- Note This call is not supported by Macintosh File Sharing.
FUNCTION MySCSleepServer (NumMinutes: Integer;
Flags: Integer;
MessagePtr: StringPtr): OSErr;
VAR
scPB: SCParamBlockRec;
BEGIN
scPB.disconnectPB.scCode := SCSleepServer;
scPB.disconnectPB.scNumMinutes := NumMinutes;
scPB.disconnectPB.scFlags := Flags;
scPB.disconnectPB.scMessagePtr := MessagePtr;
MySCSleepServer := SyncServerDispatch(@scPB);
END;
SCWakeServer
The following function calls SCWakeServer to reactivate an AppleShare File
Server 3.0 that has been temporarily shut down (that is, a file server that
is "sleeping").
Note This call is not supported by Macintosh File Sharing.
FUNCTION MySCWakeServer: OSErr;
VAR
scPB: SCParamBlockRec;
BEGIN
scPB.startPB.scCode := SCWakeServer;
MySCWakeServer := SyncServerDispatch(@scPB);
END;
Vue de la page 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 78 79

Commentaires sur ces manuels

Pas de commentaire