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

  • 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 26
VAR
scPB: SCParamBlockRec;
BEGIN
scPB.standardPB.scNamePtr := NamePtr;
scPB.standardPB.scVRefNum := VRefNum;
scPB.standardPB.scCode := SCSetCopyProtect;
scPB.standardPB.scDirID := DirID;
MySCSetCopyProtect := SyncServerDispatch(@scPB);
END;
SCClrCopyProtect
The following function calls SCClrCoyProtect to clear the copy-protect status
of a file.
Note This call is not supported by Macintosh File Sharing.
FUNCTION MySCClrCopyProtect (NamePtr: StringPtr;
VRefNum: Integer;
DirID: LongInt): OSErr;
VAR
scPB: SCParamBlockRec;
BEGIN
scPB.standardPB.scNamePtr := NamePtr;
scPB.standardPB.scVRefNum := VRefNum;
scPB.standardPB.scCode := SCClrCopyProtect;
scPB.standardPB.scDirID := DirID;
MySCClrCopyProtect := SyncServerDispatch(@scPB);
END;
Using server event handlers
This section describes the server control calls that you use with server
event handlers. Server event handlers are discussed in Chapter 2.
SCInstallServerEventProc
The following function calls SCInstallServerEventProc to install a server
event handler.
Vue de la page 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 78 79

Commentaires sur ces manuels

Pas de commentaire