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

  • 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 25
Flags := UNRFSendMsgMask; { send a message }
Message := 'Moof!';
err := MySCSendMessage(DiscArrayPtr, ArrayCount,
Flags, @Message);
IF err = noErr THEN
{ the message was sent }
ELSE
BEGIN
{ handle any errors from SCSendMessage }
END
END
ELSE { there are no users connected }
; { do nothing }
DisposPtr(Ptr(DiscArrayPtr));
END
ELSE
BEGIN
{ handle memory manager error }
END;
END;
Setting or clearing the copy-protect status of files
This section describes the server control calls that let you set or clear the
copy-protect status of files on a file server.
SCSetCopyProtect
The following function calls SCSetCopyProtect to set the copy-protect status
of a file.
Note This call is not supported by Macintosh File Sharing.
FUNCTION MySCSetCopyProtect (NamePtr: StringPtr;
VRefNum: Integer;
DirID: LongInt): OSErr;
Vue de la page 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 78 79

Commentaires sur ces manuels

Pas de commentaire