home *** CD-ROM | disk | FTP | other *** search
- WORKSTATION SERVICES
- ====================
-
- --------------------------------------------------------------------------------
-
- DeleteFakeRoot (DriveLetter : CHAR)
-
- This procedure remove the fake root part of a mapped drive.
- ie. The drive still remains mapped but without a faked root.
-
- DriveLetter (Input) : drive of map root to remove
- if DriveLetter is * then work on
- default drive.
-
- --------------------------------------------------------------------------------
-
- EndOfJob (Process : WORD)
-
- This function generates an EndOfJob.
-
- Process (Input) : 00 = current process only.
- FFFF = all processes.
-
- --------------------------------------------------------------------------------
-
- GetConnectionID (FileServerName : ObjectNameType;
- VAR ConnectionID : WORD) : WORD;
-
- This function returns the connectionID of a file server.
-
- FileServerName (Input) : name of the file server for which the
- connectionID is to be returned.
-
- ConnectionID (Output) : the connectionID of the specified
- server.
-
- --------------------------------------------------------------------------------
-
- GetDefaultConnectionID : WORD;
-
- Returns the connectionID of the file server to which request packets are
- being sent.
-
- --------------------------------------------------------------------------------
-
- GetFileServerName (ConnectionID : WORD; VAR FileServerName : ObjectNameType);
-
- Returns the file server name of a connectionID.
-
- ConnectionID (Input) : connectionID for which a file server
- name is needed.
-
- FileServerName (Output) : name of the file server.
-
- --------------------------------------------------------------------------------
-
- GetNetwareShellVersion (VAR MajorVersion, MinorVersion,
- RevisionLevel, ShellType : BYTE) : WORD;
-
- Returns information about the workstation shell.
-
- MajorVersion (Output) : Netware shell major version.
-
- MinorVersion (Output) : Netware shell minor version.
-
- RevisionLevel (Output) : Netware shell revision level.
-
- ShellType (Output) : type of the shell loaded.
- (0 = conventional memory shell)
- (1 = expanded memory shell)
- (2 = extended memory shell)
-
- --------------------------------------------------------------------------------
-
- GetNumberOfLocalDrives : WORD;
-
- Returns the number of local drives at the workstation.
-
- --------------------------------------------------------------------------------
-
- GetPreferredConnectionID : WORD;
-
- Returns the connectionID of the preferred server. 0 if there is not one
- set.
-
- --------------------------------------------------------------------------------
-
- GetPrimaryConnectionID : WORD;
-
- Returns the connectionID of the primary server. 0 if there is not one
- set.
-
- --------------------------------------------------------------------------------
-
- GetTaskMode (var TaskMode : BYTE) : WORD;
-
- Returns the current task cleranup mode setting.
-
- TaskMode (Output) : receives the current task mode.
- 0 - 3 = reserved.
- 4 = no task cleanup done.
-
- --------------------------------------------------------------------------------
-
- GetWorkstationEnvironment (VAR OperatingSystemType, OperatingSystemVersion,
- HardwareType, ShortHardwareType : String40Type);
-
- This function returns information about the workstation's OS and hardware
- environment.
-
- OperatingSystemType (Output) : receives the OS type (eg. MS-DOS)
-
- OperatingSystemVersion (Output) : receives the OS version (eg. v3.30)
-
- HardwareType (Output) : receives the WS hardware (eg. IBM_PC)
-
- ShortHardwareType (Output) : receives the shortened WS hardware
- (eg. IBM)
-
- --------------------------------------------------------------------------------
-
- IsConnectionIDInUse (ConnectionID : WORD) : WORD;
-
- This function verifies whether a connectionID is currently in use.
-
- ConnectionID (Input) : connectionID to verify if in use.
-
- --------------------------------------------------------------------------------
-
- MapFakeRoot (DriveLetter : CHAR; DirectoryPath : PATHNAMETYPE) : WORD;
-
- This function maps a drive with a fake root.
-
- DriveLetter (Input) : drive to be mapped.
- if DriveLetter is * then work on
- default drive.
-
- DirectoryPath (Input) : path to map in format
- [server/][volume:][path]
-
- --------------------------------------------------------------------------------
-
-
- SetEndOfJobStatus (EndOfJobFlag : BYTE) : BYTE;
-
- This function enables or disables the EndOfJob generated by the shell when
- control returns to the root level COMMAND.COM.
-
- EndOfJobFlag (Input) : 0 = disabled.
- 1 = enabled.
-
- --------------------------------------------------------------------------------
-
- SetNetwareErrorMode (ErrorMode : BYTE) : BYTE;
-
- Sets the network error handling mode for the workstation.
-
- ErrorMode (Input) : 00h= Netware critical I/O errors for
- user intervention (DEFAULT)
- 01h= All extended Netware file I/O
- errors returned.
- 02h= Only extended Netware critical file
- I/O errors returned.
-
- --------------------------------------------------------------------------------
-
- SetPreferredConnectionID (ConnectionID : WORD);
-
- Sets the preferred file server.
-
- ConnectionID (Input) : connectionID of the preferred file
- server.
-
- --------------------------------------------------------------------------------
-
- SetPrimaryConnectionID (ConnectionID : WORD);
-
- Sets the primary file server.
-
- ConnectionID (Input) : connectionID of the primary file server.
-
- --------------------------------------------------------------------------------
-
- SetTaskMode (TaskMode : BYTE);
-
- Sets the task cleanup mode of the workstation.
-
- TaskMode (Input) : 0 - 3 = reserved.
- 4 = no task cleanup done.
-
- --------------------------------------------------------------------------------
-
- SetShowDots (ShowDots : BOOLEAN) : BOOLEAN;
-
- Sets whether '.' and '..' can be seen in directory listings.
- Returns previous setting.
-
- ShowDots (Input) : true = no dots listed.
- false = dots will be listed.
-
- --------------------------------------------------------------------------------
-