Apple AppleShare 3.0 File Server Controls Instrukcja Użytkownika Strona 20

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 79
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 19
procedure, you must
initialize gMaxVolumes and gMaxExpFolders with the values returned by
the SCGetGetupInfo control call.
PROCEDURE GetAllUserMountInfo (UNRecID: LongInt);
VAR
err: OSErr;
Index: Integer;
VRefNum: Integer;
FilesOpen: Integer;
WriteableFiles: Integer;
Mounted: Boolean;
MountedAsOwner: Boolean;
BEGIN
FOR Index := -gMaxVolumes TO gMaxExpFolders DO
IF Index <> 0 THEN { index 0 is undefined }
BEGIN
err := MySCGetUserMountInfo(VRefNum, FilesOpen,
WriteableFiles, UNRecID,
Mounted, MountedAsOwner);
IF (err = noErr) AND Mounted THEN
BEGIN
{ do something with the information returned }
END;
END;
END;
Disconnecting users
This section describes the server control calls that you use to disconnect
users from file servers and from file server volumes.
SCDisconnect
The following function calls SCDisconnect to disconnect specified users from
Przeglądanie stron 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 78 79

Komentarze do niniejszej Instrukcji

Brak uwag