home *** CD-ROM | disk | FTP | other *** search
- 'NW4XTTS.BAS - Novell Netware 4.X Interface for Visual Basic for Windows
- ' Contains Functions and Structure Definations for Transaction
- 'tracking capabilites.
- 'Requirements - NONE
-
- Type CONN_TASK_TYPE
- connNumber As String * 1
- taskNumber As String * 1
- End Type
-
- Type TTS_STATS
- systemElapsedTime As Long
- TTS_Supported As String * 1
- TTS_Enabled As String * 1
- TTS_VolumeNumber As Integer
- TTS_MaxOpenTransactions As Integer
- TTS_MaxTransactionsOpened As Integer
- TTS_CurrTransactionsOpen As Integer
- TTS_TotalTransactions As Long
- TTS_TotalWrites As Long
- TTS_TotalBackouts As Long
- TTS_UnfilledBackouts As Integer
- TTS_DiskBlocksInUse As Integer
- TTS_FATAllocations As Long
- TTS_FileSizeChanges As Long
- TTS_FilesTruncated As Long
- numberOfTransactions As String * 1
- connTask(235) As CONN_TASK_TYPE
- End Type
-
- Declare Function NWTTSAbortTransaction Lib "NWCALLS.DLL" (ByVal conn%) As Integer
- Declare Function NWTTSBeginTransaction Lib "NWCALLS.DLL" (ByVal conn%) As Integer
- Declare Function NWTTSIsAvailable Lib "NWCALLS.DLL" (ByVal conn%) As Integer
- 'controlFlags need to init to String * 1
- Declare Function NWTTSGetControlFlags Lib "NWCALLS.DLL" (ByVal conn%, ByVal controlFlags$) As Integer
- Declare Function NWTTSSetControlFlags Lib "NWCALLS.DLL" (ByVal conn%, ByVal controlFlags$) As Integer
- Declare Function NWTTSEndTransaction Lib "NWCALLS.DLL" (ByVal conn%, transactionNum&) As Integer
- Declare Function NWTTSTransactionStatus Lib "NWCALLS.DLL" (ByVal conn%, ByVal transactionNum&) As Integer
-
- 'logincalLockLevel and physicalLockLevel need to init as String * 1
- Declare Function NWTTSGetProcessThresholds Lib "NWCALLS.DLL" (ByVal conn%, ByVal logicalLockLevel$, ByVal physicalLockLevel$) As Integer
- Declare Function NWTTSSetProcessThresholds Lib "NWCALLS.DLL" (ByVal conn%, ByVal logicalLockLevel$, ByVal physicalLockLevel$) As Integer
- Declare Function NWTTSGetConnectionThresholds Lib "NWCALLS.DLL" (ByVal conn%, ByVal logicalLockLevel$, ByVal physicalLockLevel$) As Integer
- Declare Function NWTTSSetConnectionThresholds Lib "NWCALLS.DLL" (ByVal conn%, ByVal logicalLockLevel$, ByVal physicalLockLevel$) As Integer
-
- Declare Function NWEnableTTS Lib "NWCALLS.DLL" (ByVal conn) As Integer
- Declare Function NWDisableTTS Lib "NWCALLS.DLL" (ByVal conn) As Integer
-
- Declare Function NWGetTTSStats Lib "NWCALLS.DLL" (ByVal conn, ttsStats As TTS_STATS) As Integer
-
-