Apple AppleShare 3.0 File Server Controls Uživatelský manuál Strana 32

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 79
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 31
qLink: QElemPtr;
qType: Integer;
theSERec: ServerEventRecord;
END;
{ Extend the tSEQEntry with a few items we need access }
{ to within the server event handler. }
ExtendedSEQEntryPtr = ^ExtendedSEQEntry;
ExtendedSEQEntry = RECORD
theSEQEntry: tSEQEntry; { A server event queue entry. }
freeQ, usedQ: QHdr; { Queue headers for server }
{ event record queues. }
seRecArrayPtr: Ptr; { Pointer to allocated array }
{ of SERecQElem. }
ourPSN: ProcessSerialNumber; { The application's PSN. }
END;
VAR
{ The global extended tSEQEntry record. }
gExtendedSEQEntry: ExtendedSEQEntry;
FUNCTION InstallServerEventHandler: OSErr;
FUNCTION RemoveServerEventHandler: OSErr;
PROCEDURE ProcessServerEvents;
{==========================================================}
IMPLEMENTATION
{ This function calls SCInstallServerEventProc to install }
{ a server event handler. }
FUNCTION mySCInstallServerEventProc
(theSEHandler: ProcPtr): OSErr;
VAR
scPB: SCParamBlockRec;
Zobrazit stránku 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 78 79

Komentáře k této Příručce

Žádné komentáře