home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
t
/
tpapi.zip
/
NWWRKSTN.PA1
< prev
next >
Wrap
Text File
|
1992-03-02
|
4KB
|
90 lines
{!R! FONT 15; FTMD 15; EXIT;}
{***************************************************************************}
{** Program : NWWRKSTN **}
{***************************************************************************}
{** Version : 1.3 ** Started : 11/11/91 ** Ended : / / **}
{***************************************************************************}
{******************************** Description ******************************}
{***************************************************************************}
{** OOP library for Netware API **}
{** **}
{** This unit forms the second level object : WORKSTAT **}
{** This object is a descandent of : NETWARE **}
{** **}
{** **}
{** **}
{** **}
{***************************************************************************}
{******************************** Information ******************************}
{***************************************************************************}
{** Provides Netware Workstation Services **}
{** **}
{** **}
{** **}
{** This code is (c) 1991,1992 Tony Covelli **}
{** Portions (c) Novell Inc, **}
{** **}
{** **}
{***************************************************************************}
{$I NETWARE.INC}
UNIT NWWRKSTN;
INTERFACE
USES
netware, nwvar;
TYPE
pWorkStatOBJ = ^WorkStatOBJ;
WorkStatOBJ = object (NetwareOBJ)
CONSTRUCTOR Init;
PROCEDURE EndOfJob (Process : WORD);
FUNCTION GetConnectionID (FileServerName : ObjectNameType; VAR ConnectionID : WORD) : WORD;
FUNCTION GetDefaultConnectionID : WORD;
PROCEDURE GetFileServerName (ConnectionID : WORD; VAR FileServerName : ObjectNameType);
FUNCTION GetNetwareShellVersion (VAR MajorVersion, MinorVersion, RevisionLevel : BYTE) : WORD;
FUNCTION GetNumberOfLocalDrives : WORD;
FUNCTION GetPreferredConnectionID : WORD;
FUNCTION GetPrimaryConnectionID : WORD;
PROCEDURE GetWorkstationEnvironment (VAR OperatingSystemType, OperatingSystemVersion,
HardwareType, ShortHardwareType : String40Type);
FUNCTION IsConnectionIDInUse (ConnectionID : WORD) : WORD;
FUNCTION SetEndOfJobStatus (EndOfJobFlag : BYTE) : BYTE;
FUNCTION SetNetwareErrorMode (ErrorMode : BYTE) : BYTE;
PROCEDURE SetPreferredConnectionID (ConnectionID : WORD);
PROCEDURE SetPrimaryConnectionID (ConnectionID : WORD);
DESTRUCTOR Done; VIRTUAL;
PRIVATE
FUNCTION ReadPropertyValue (BinderyObjectName : ObjectNameType; BinderyObjectType : OT_BinderyType;
PropertyName : PropertyNameType; SegmentNumber : WORD;
VAR PropertyValue : PropertyValueType; VAR MoreSegments,
PropertyFlags : BYTE) : WORD;
END;