beautypg.com

Apple AppleShare 3.0 File Server Controls User Manual

Page 77

background image

{ bCSEHAFPInSendResponse: the first }

{ BufferMax bytes of the AFP packet }

{ if theEventNumber = bCSEHServerControlCall: }

{ the first BufferMax bytes of the }

{ SCParamBlockRec }

{ if theEventNumber = bCSEHShare, }

{ bCSEHUnShare, bCSEHSetDirAccess, }

{ bCSEHVolumePrep, or bCSEHVolumeUnmount: }

{ the first BufferMax bytes of the }

{ HParamBlockRec }

{ if theEventNumber = bCSEHServerNameChange: }

{ the new server name (in a Pascal string) }

{ all other values of theEventNumber return a }

{ zero length buffer }

theNameStr: Str31;

{the name of the file, if any; not always }

{ defined }

theAFPCommand: Integer;

{ if theEventNumber = bCSEHAFPInDoRequest or }

{ bCSEHAFPInSendResponse, the AFP call}

{Note: If theEventNumber is bCSEHAFPInDoRequest, }

{ bCSEHAFPInSendResponse, bCSEHSessionTornDown, }

{ bCSEHOutOfSequence, bCSEHWksClosedSession, }

{ bCSEHSessionTimedOut, or bCSEHSrvrClosedSession,}

{ then theUNRecID theUNSUserID, theUserName, and }

{ theSocketAddress of the user that made the call }

{ are returned.}

theUNRecID: LongInt;

{the UNRecID of the user that made the call}