Apple AppleShare 3.0 File Server Controls Manual do Utilizador Página 17

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 79
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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;
Vista de página 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 78 79

Comentários a estes Manuais

Sem comentários