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

  • 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 42
Result Codes noErr 0 No error.
paramErr -50 The server is not running.
SCClrCopyProtect may also return errors returned by the PBGetCatInfo and
PBSetCatInfo routines.
SCDisconnect
SCDisconnect disconnects every user whose user name record ID (UNRecID) is
contained in the array pointed to by scDiscArrayPtr and sends a disconnect
attention message to all of these users.
Note Macintosh File Sharing does not support the disconnect attention
message.
Parameter (uses disconnectPB variant of SCParamBlockRec)
Block 16 ioResult word
18 scDiscArrayPtr long
22 scArrayCount word
26 scCode word
28 scNumMinutes word
30 scFlags word
32 scMessagePtr long
Fields ioResult Word result value: Result code.
scDiscArrayPtr Longword input pointer: Points to the array of
user name record IDs (UNRecID).
scArrayCount Word input value: The number of elements in the
array of user name record IDs (UNRecID).
scCode Word input value: The server control code;
always SCDisconnect ($0004).
scNumMinutes Word input value: The number of minutes until
the users are disconnected, in the range 0-
4094.
scFlags Word input value: Shutdown flags, as follows:
bUNRFSendMsg The message pointed to by scMessagePtr should
accompany the disconnect.
Note This feature is not supported by Macintosh File Sharing.
scMessagePtr Longword input value: A pointer to a Str199
containing the message sent to the workstations.
Note This feature is not supported by Macintosh File Sharing.
Vue de la page 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 78 79

Commentaires sur ces manuels

Pas de commentaire