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

  • 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 16
END;
END
ELSE IF err <> fnfErr THEN
{ fnfErr only means there is nothing at this }
{ Index position }
BEGIN
{ handle any unexpected errors }
END;
END;
END;
SCGetUserNameRec
The following function calls SCGetUserNameRec to get information about a user
connected to the file server.
Note This call is not supported by Macintosh File Sharing.
FUNCTION MySCGetUserNameRec (NamePtr: StringPtr;
VAR Position: LongInt;
VAR UNRecID: LongInt;
VAR UserID: LongInt;
VAR LoginTime: LongInt;
VAR LastUseTime: LongInt;
VAR SocketNum: AddrBlock):
OSErr;
VAR
scPB: SCParamBlockRec;
BEGIN
scPB.userInfoPB.scCode := SCGetUserNameRec;
scPB.userInfoPB.scNamePtr := NamePtr;
scPB.userInfoPB.scPosition := Position;
MySCGetUserNameRec := SyncServerDispatch(@scPB);
Position := scPB.userInfoPB.scPosition;
Vue de la page 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 78 79

Commentaires sur ces manuels

Pas de commentaire