Apple AppleShare 3.0 File Server Controls Manuale Utente Pagina 27

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 79
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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.
Vedere la pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 78 79

Commenti su questo manuale

Nessun commento