Apple AppleShare 3.0 File Server Controls User Manual
Page 28
Note This call is not supported by Macintosh File Sharing.
FUNCTION mySCInstallServerEventProc
(theSEHandler: ProcPtr): OSErr;
VAR
scPB: SCParamBlockRec;
BEGIN
scPB.serverEventPB.scSEQEntryPtr := theSEHandler;
scPB.serverEventPB.scCode := SCInstallServerEventProc;
mySCInstallServerEventProc := SyncServerDispatch(@scPB);
END;
SCRemoveServerEventProc
The following function calls SCRemoveServerEventProc to remove a server event
handler.
Note This call is not supported by Macintosh File Sharing.
FUNCTION mySCRemoveServerEventProc (theSEHandler: ProcPtr):
OSErr;
VAR
scPB: SCParamBlockRec;
BEGIN
scPB.serverEventPB.scSEQEntryPtr := theSEHandler;
scPB.serverEventPB.scCode := SCRemoveServerEventProc;
mySCRemoveServerEventProc := SyncServerDispatch(@scPB);
END;
SCGetServerEventProc
The following function calls SCGetServerEventProc to get a pointer to the
head of the server event handler queue.
Note This call is not supported by Macintosh File Sharing.
FUNCTION MySCGetServerEventProc (VAR theSEQHdrPtr:
QHdrPtr): OSErr;
VAR