CONST CASE_SENSITIVE = 1
CONST NO_DUPLICATES = 2
CONST NO_COMPRESSION = 4
CONST BINARY_KEY = 8
CONST KEY_ONLY = 4096
CONST REBUILD_IDS = 2
DECLARE FUNCTION trm_udt LIB "TRM.DLL" ALIAS "trm_udt" (CmdTsu AS LONG) AS LONG
TYPE TRMtype
op AS LONG
file AS LONG
dataptr AS LONG
datalen AS LONG
keyptr AS LONG
keylen AS LONG
keyno AS LONG
END TYPE
TYPE TRMdKey
FDef AS STRING * 93
PageSize AS BYTE
Compress AS BYTE
Segments AS BYTE
SegName AS STRING * 25
KeyNo AS BYTE
KeyPos AS WORD
KeyLen AS BYTE
KeyFlags AS BYTE
END TYPE
CONST Tsu_Accelerate = 32
CONST Tsu_Close = 1
CONST Tsu_CloseAll = 28
CONST Tsu_Count = 17
CONST Tsu_Create = 14
CONST Tsu_CurrKeyPos = 45
CONST Tsu_Delete = 4
CONST Tsu_FileIsOpen = 16
CONST Tsu_FileSize = 18
CONST Tsu_Flush = 29
CONST Tsu_GetByKeyPos = 44
CONST Tsu_GetDirect = 23
CONST Tsu_GetEqual = 5
CONST Tsu_GetEqualOrGreater = 9
CONST Tsu_GetEqualOrLess = 11
CONST Tsu_GetFileDef = 36
CONST Tsu_GetFileVer = 25
CONST Tsu_GetFirst = 12
CONST Tsu_GetGreater = 8
CONST Tsu_GetLast = 13
CONST Tsu_GetLess = 10
CONST Tsu_GetNext = 6
CONST Tsu_GetPosition = 22
CONST Tsu_GetPrev = 7
CONST Tsu_Insert = 2
CONST Tsu_Integrity = 37
CONST Tsu_Open = 0
CONST Tsu_Rebuild = 38
CONST Tsu_Recover = 39
CONST Tsu_SetKeyPath = 30
CONST Tsu_StepFirst = 33
CONST Tsu_StepLast = 34
CONST Tsu_StepNext = 24
CONST Tsu_StepPrev = 35
CONST Tsu_TimeOut = 31
CONST Tsu_Update = 3
CONST Tsu_Version = 26
|