home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / tool / various / t2w012 / time2win.bas < prev    next >
BASIC Source File  |  1995-02-27  |  45KB  |  631 lines

  1. Option Explicit
  2.  
  3. Global Const GET_TIME_SEPARATOR = 1
  4. Global Const GET_DATE_SEPARATOR = 2
  5. Global Const GET_TIME_FORMAT = 3
  6. Global Const GET_DATE_FORMAT = 4
  7. Global Const GET_CURRENCY = 5
  8. Global Const GET_LANGUAGE = 6
  9. Global Const GET_COUNTRY = 7
  10. Global Const GET_COUNTRY_CODE = 8
  11. Global Const GET_LIST_SEPARATOR = 9
  12. Global Const GET_DEFAULT_PRINTER = 10
  13.  
  14. Global Const DRIVE_UNKNOW = 0
  15. Global Const DRIVE_REMOVABLE = 2
  16. Global Const DRIVE_FIXED = 3
  17. Global Const DRIVE_REMOTE = 4
  18. Global Const DRIVE_CDROM = 20
  19.  
  20. Global Const A_NORMAL = &H0             'Normal file - No read/write restrictions
  21. Global Const A_RDONLY = &H1             'Read only file
  22. Global Const A_HIDDEN = &H2             'Hidden file
  23. Global Const A_SYSTEM = &H4             'System file
  24. Global Const A_VOLID = &H8              'Volume ID file
  25. Global Const A_SUBDIR = &H10            'Subdirectory
  26. Global Const A_ARCH = &H20              'Archive file
  27.  
  28. Global Const ENCRYPT_LEVEL_0 = 0
  29. Global Const ENCRYPT_LEVEL_1 = 1
  30. Global Const ENCRYPT_LEVEL_2 = 2
  31. Global Const ENCRYPT_LEVEL_3 = 3
  32.  
  33. Global Const OPEN_MODE_BINARY = 0
  34. Global Const OPEN_MODE_TEXT = 1
  35.  
  36. Global Const BIG_ADD = 0
  37. Global Const BIG_SUB = 1
  38. Global Const BIG_MUL = 2
  39.  
  40. Global Const VER_VERSION_PRODUCT = -1
  41. Global Const VER_VERSION_FILE = 0
  42. Global Const VER_COMPANY_NAME = 1
  43. Global Const VER_FILE_DESCRIPTION = 2
  44. Global Const VER_FILE_VERSION = 3
  45. Global Const VER_INTERNAL_NAME = 4
  46. Global Const VER_LEGAL_COPYRIGHT = 5
  47. Global Const VER_LEGAL_TRADEMARKS = 6
  48. Global Const VER_PRODUCT_NAME = 7
  49. Global Const VER_PRODUCT_VERSION = 8
  50.  
  51. Global Const LNG_FRENCH = 1
  52. Global Const LNG_DUTCH = 2
  53. Global Const LNG_GERMAN = 3
  54. Global Const LNG_ENGLISH = 4
  55. Global Const LNG_ITALIAN = 5
  56. Global Const LNG_SPANISH = 6
  57.  
  58. Global Const MB_MESSAGE_LEFT = 0
  59. Global Const MB_MESSAGE_CENTER = 8192
  60. Global Const MB_MESSAGE_RIGHT = 16384
  61.  
  62. Global Const MB_TIMEOUT_2 = 32768
  63. Global Const MB_TIMEOUT_4 = 2 * MB_TIMEOUT_2
  64. Global Const MB_TIMEOUT_8 = 2 * MB_TIMEOUT_4
  65. Global Const MB_TIMEOUT_16 = 2 * MB_TIMEOUT_8
  66.  
  67. Global Const MB_TIMEOUT_6 = MB_TIMEOUT_2 Or MB_TIMEOUT_4
  68. Global Const MB_TIMEOUT_10 = MB_TIMEOUT_2 Or MB_TIMEOUT_8
  69. Global Const MB_TIMEOUT_12 = MB_TIMEOUT_4 Or MB_TIMEOUT_8
  70. Global Const MB_TIMEOUT_14 = MB_TIMEOUT_2 Or MB_TIMEOUT_4 Or MB_TIMEOUT_8
  71. Global Const MB_TIMEOUT_18 = MB_TIMEOUT_2 Or MB_TIMEOUT_16
  72. Global Const MB_TIMEOUT_20 = MB_TIMEOUT_4 Or MB_TIMEOUT_16
  73. Global Const MB_TIMEOUT_22 = MB_TIMEOUT_2 Or MB_TIMEOUT_4 Or MB_TIMEOUT_16
  74. Global Const MB_TIMEOUT_24 = MB_TIMEOUT_8 Or MB_TIMEOUT_16
  75. Global Const MB_TIMEOUT_26 = MB_TIMEOUT_2 Or MB_TIMEOUT_8 Or MB_TIMEOUT_16
  76. Global Const MB_TIMEOUT_28 = MB_TIMEOUT_4 Or MB_TIMEOUT_8 Or MB_TIMEOUT_16
  77. Global Const MB_TIMEOUT_30 = MB_TIMEOUT_2 Or MB_TIMEOUT_4 Or MB_TIMEOUT_8 Or MB_TIMEOUT_16
  78.  
  79. Global Const MB_DISPLAY_TIMEOUT = 524288
  80.  
  81. Global Const RS_CAPTION = 1
  82. Global Const RS_TEXT = 2
  83. Global Const RS_DATAFIELD = 4
  84. Global Const RS_DATASOURCE = 8
  85.  
  86. Global Const MATCH_HEXA = 17
  87. Global Const MATCH_INTERNAL_ERROR = 16
  88. Global Const MATCH_PATTERN = 15
  89. Global Const MATCH_LITERAL = 14
  90. Global Const MATCH_RANGE = 13
  91. Global Const MATCH_ABORT = 12
  92. Global Const MATCH_END = 11
  93. Global Const MATCH_VALID = -1
  94.  
  95. Global Const PATTERN_VALID = 0
  96. Global Const PATTERN_INVALID = 1
  97. Global Const PATTERN_ESC = 2
  98. Global Const PATTERN_RANGE = 3
  99. Global Const PATTERN_CLOSE = 4
  100. Global Const PATTERN_EMPTY = 5
  101. Global Const PATTERN_INTERNAL_ERROR = 6
  102. Global Const PATTERN_HEXA = 7
  103.  
  104. Global Const IFV_ERROR = 0
  105. Global Const IFV_NAME_TOO_LONG = 1
  106. Global Const IFV_EXT_TOO_LONG = 2
  107. Global Const IFV_TOO_MANY_BACKSLASH = 3
  108. Global Const IFV_BAD_DRIVE_LETTER = 4
  109. Global Const IFV_BAD_COLON_POS = 5
  110. Global Const IFV_EXT_WITHOUT_NAME = 6
  111.  
  112. Global Const DA_BYTE = 1
  113. Global Const DA_INTEGER = -2
  114. Global Const DA_LONG = -3
  115. Global Const DA_SINGLE = -4
  116. Global Const DA_DOUBLE = -5
  117. Global Const DA_CURRENCY = -6
  118.  
  119. Global Const DA_NO_ERROR = True
  120. Global Const DA_EMPTY_FILENAME = 1
  121. Global Const DA_BAD_FILENAME = 2
  122. Global Const DA_CAN_KILL_FILE = 3
  123. Global Const DA_CAN_NOT_OPEN_FILE = 4
  124. Global Const DA_FILE_NOT_FOUND = 5
  125. Global Const DA_BAD_TYPE = 6
  126. Global Const DA_BAD_ROWS = 7
  127. Global Const DA_BAD_COLS = 8
  128. Global Const DA_BAD_SHEETS = 9
  129. Global Const DA_CAN_NOT_WRITE_HEADER = 10
  130. Global Const DA_CAN_NOT_WRITE_PART = 11
  131. Global Const DA_CAN_NOT_WRITE_REMAIN = 12
  132. Global Const DA_CAN_NOT_READ_HEADER = 13
  133. Global Const DA_HEADER_SIZE = 14
  134. Global Const DA_BAD_SIGNATURE = 15
  135. Global Const DA_FILE_SIZE_MISMATCH = 16
  136.  
  137. Type tagSPLITPATH
  138.    nDrive            As String
  139.    nDir              As String
  140.    nName             As String
  141.    nExt              As String
  142. End Type
  143.  
  144. Type tagFILEVERSIONINFO
  145.    VersionProduct    As String
  146.    VersionFile       As String
  147.    CompanyName       As String
  148.    FileDescription   As String
  149.    FileVersion       As String
  150.    InternalName      As String
  151.    LegalCopyright    As String
  152.    LegalTrademarks   As String
  153.    Comments          As String
  154.    ProductName       As String
  155.    ProductVersion    As String
  156. End Type
  157.  
  158. Type FileAttributeType
  159.    ErrNo             As Integer
  160.    Archive           As Integer
  161.    Hidden            As Integer
  162.    Normal            As Integer
  163.    ReadOnly          As Integer
  164.    SubDir            As Integer
  165.    System            As Integer
  166.    VolId             As Integer
  167. End Type
  168.  
  169. Type ArrayType
  170.    Bounds            As Long
  171.    LBound            As Integer
  172.    UBound            As Integer
  173.    ElemSize          As Integer
  174.    IndexCount        As Integer
  175.    TotalElem         As Integer
  176. End Type
  177.  
  178. Type tagMODULEENTRY
  179.    dwSize            As Long
  180.    szModule          As String * 10
  181.    hModule           As Integer
  182.    wcUsage           As Integer
  183.    szExePath         As String * 256
  184.    wNext             As Integer
  185. End Type
  186.  
  187. Type tagTASKENTRY
  188.    dwSize            As Long
  189.    hTask             As Integer
  190.    hTaskParent       As Integer
  191.    hInst             As Integer
  192.    hModule           As Integer
  193.    wSS               As Integer
  194.    wSP               As Integer
  195.    wStackTop         As Integer
  196.    wStackMinimum     As Integer
  197.    wStackBottom      As Integer
  198.    wcEvents          As Integer
  199.    hQueue            As Integer
  200.    szModule          As String * 10
  201.    wPSPOffset        As Integer
  202.    hNext             As Integer
  203. End Type
  204.  
  205. Type tagDISKARRAY
  206.    daSize            As Integer           'size of the type'd
  207.    Signature         As String * 7        'signature
  208.    nFilename         As String * 64       'name of the file
  209.    nType             As Integer           'variable type
  210.    nRows             As Long              'number of rows
  211.    nCols             As Long              'number of cols
  212.    nSheets           As Long              'number of sheets
  213.    rHandle           As Integer           'returned handle for use with other functions
  214.    rElementSize      As Integer           'returned size of a element
  215.    rFileSize         As Long              'returned size of the file
  216.    rParts            As Long              'returned total part
  217.    rRemain           As Long              'returned size of the remain part
  218.    rSheetSize        As Long              'size of a sheet
  219.    rOffset1          As Long              'returned offset 1
  220.    rOffset2          As Long              'returned offset 2
  221.    rTime             As Long              'time for the last correct transaction
  222.    dummy             As String * 9        'reserved for future use
  223. End Type
  224.  
  225. Rem Don't Remove It
  226. Declare Function cAddD Lib "time2win.dll" (array() As Double, ByVal nValue As Double) As Integer
  227. Declare Function cAddDigit Lib "time2win.dll" (Txt As String) As Integer
  228. Declare Function cAddI Lib "time2win.dll" (array() As Integer, ByVal nValue As Integer) As Integer
  229. Declare Function cAddL Lib "time2win.dll" (array() As Long, ByVal nValue As Long) As Integer
  230. Declare Function cAddS Lib "time2win.dll" (array() As Single, ByVal nValue As Single) As Integer
  231. Declare Function cAddTime Lib "time2win.dll" (ByVal Hr As Integer) As Integer
  232. Declare Function cAllSubDirectories Lib "time2win.dll" (ByVal lpBaseDirectory As String, nDir As Integer) As String
  233. Declare Function cArabicToRoman Lib "time2win.dll" (Var As Variant) As String
  234. Declare Function cArrayPrm Lib "time2win.dll" (array() As Any, nArray As Any) As Integer
  235. Declare Function cBaseConversion Lib "time2win.dll" (ByVal Num As String, ByVal RadixIn As Integer, ByVal RadixOut As Integer) As String
  236. Declare Function cBetween Lib "time2win.dll" (Var As Variant, Var1 As Variant, Var2 As Variant) As Integer
  237. Declare Function cBigNum Lib "time2win.dll" (ByVal n1 As String, ByVal op As Integer, ByVal n2 As String) As String
  238. Declare Function cBigAdd Lib "time2win.dll" (Num1 As String, Num2 As String) As String
  239. Declare Function cBigDiv Lib "time2win.dll" (Num1 As String, Num2 As String) As String
  240. Declare Function cBigMul Lib "time2win.dll" (Num1 As String, Num2 As String) As String
  241. Declare Function cBigNum Lib "time2win.dll" (ByVal n1 As String, ByVal op As Integer, ByVal n2 As String) As String
  242. Declare Function cBigSub Lib "time2win.dll" (Num1 As String, Num2 As String) As String
  243. Declare Function cBigFmt Lib "time2win.dll" (Num As String, ByVal Length As Integer) As String
  244. Declare Function cBlockCharFromLeft Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  245. Declare Function cBlockCharFromRight Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  246. Declare Sub cChangeChars Lib "time2win.dll" (Txt As String, charSet As String, newCharSet As String)
  247. Declare Sub cChangeCharsUntil Lib "time2win.dll" (Txt As String, charSet As String, newCharSet As String, nUntil As String)
  248. Declare Sub cChangeTaskName Lib "time2win.dll" (ByVal hWnd As Integer, ByVal text As String)
  249. Declare Function cChDir Lib "time2win.dll" (ByVal lpDir As String) As Integer
  250. Declare Function cChDrive Lib "time2win.dll" (ByVal lpDrive As String) As Integer
  251. Declare Function cCheckChars Lib "time2win.dll" (Txt As String, charSet As String) As Integer
  252. Declare Function cCheckLocking Lib "time2win.dll" () As Integer
  253. Declare Function cCheckMinuteChange Lib "time2win.dll" () As Integer
  254. Declare Function cCheckNumericity Lib "time2win.dll" (Txt As String) As Integer
  255. Declare Function cCheckSecondChange Lib "time2win.dll" () As Integer
  256. Declare Function cCheckStatus Lib "time2win.dll" (Ctl As Control) As Integer
  257. Declare Function cCheckTime Lib "time2win.dll" (ByVal Hr As Integer, ByVal Hr1 As Integer, ByVal Hr2 As Integer) As Integer
  258. Declare Function cCheckWait Lib "time2win.dll" (ByVal nTimer As Integer) As Integer
  259. Declare Function cCmpFileAttribute Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Integer
  260. Declare Function cCmpFileContents Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, ByVal sensitivity As Integer) As Integer
  261. Declare Function cCmpFileSize Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Integer
  262. Declare Function cCmpFileTime Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Integer
  263. Declare Function cCompact Lib "time2win.dll" (Txt As String) As String
  264. Declare Function cCompareTypeString Lib "time2win.dll" Alias "cTypesCompare" (TypeSrc As Any, ByVal Dst As String, ByVal lenTypeSrc As Integer) As Integer
  265. Declare Function cCompareStringType Lib "time2win.dll" Alias "cTypesCompare" (ByVal Src As String, TypeDst As Any, ByVal lenTypeSrc As Integer) As Integer
  266. Declare Function cCompress Lib "time2win.dll" (Txt As String) As String
  267. Declare Function cCompressTab Lib "time2win.dll" (Txt As String, ByVal nTab As Integer) As String
  268. Declare Function cConvert Lib "time2win.dll" (Value As String, ByVal MaskFrom As String, ByVal MaskTo As String, ByVal Size As Integer) As String
  269. Declare Function cCount Lib "time2win.dll" (Txt As String, Separator As String) As Integer
  270. Declare Function cCountDirectories Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  271. Declare Function cCountFiles Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  272. Declare Function cCplAlpha Lib "time2win.dll" (Txt As String) As String
  273. Declare Function cCplDigit Lib "time2win.dll" (Txt As String) As String
  274. Declare Function cCreateAndFill Lib "time2win.dll" (ByVal Length As Integer, Txt As String) As String
  275. Declare Function cCreateBits Lib "time2win.dll" (ByVal nBits As Integer) As String
  276. Declare Function cCurrentTime Lib "time2win.dll" () As Integer
  277. Declare Function cCVB Lib "time2win.dll" (Value As String) As Integer
  278. Declare Function cCVC Lib "time2win.dll" (Value As String) As Currency
  279. Declare Function cCVD Lib "time2win.dll" (Value As String) As Double
  280. Declare Function cCVI Lib "time2win.dll" (Value As String) As Integer
  281. Declare Function cCVL Lib "time2win.dll" (Value As String) As Long
  282. Declare Function cCVS Lib "time2win.dll" (Value As String) As Single
  283. Declare Function cDAClear Lib "time2win.dll" (DISKARRAY As tagDISKARRAY) As Integer
  284. Declare Sub cDAClose Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal DeleteFile As Integer)
  285. Declare Function cDACreate Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal CreateOrUse As Integer) As Integer
  286. Declare Function cDAGet Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal Sheet As Long) As Variant
  287. Declare Sub cDAGetType Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal Sheet As Long, nType As Any)
  288. Declare Sub cDAPut Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal Sheet As Long, Var As Variant)
  289. Declare Sub cDAPutType Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal Sheet As Long, nType As Any)
  290. Declare Function cDaysInMonth Lib "time2win.dll" (ByVal nYear As Integer, ByVal nMonth As Integer) As Integer
  291. Declare Function cDecrypt Lib "time2win.dll" (Txt As String, password As String, ByVal level As Integer) As String
  292. Declare Function cDeviationD Lib "time2win.dll" (array() As Double) As Double
  293. Declare Function cDeviationI Lib "time2win.dll" (array() As Integer) As Double
  294. Declare Function cDeviationL Lib "time2win.dll" (array() As Long) As Double
  295. Declare Function cDeviationS Lib "time2win.dll" (array() As Single) As Double
  296. Declare Sub cDisableCtlRedraw Lib "time2win.dll" (Ctl As Control)
  297. Declare Sub cDisableFI Lib "time2win.dll" (Ctl As Control)
  298. Declare Sub cDisableForm Lib "time2win.dll" (ByVal hWnd As Integer)
  299. Declare Sub cDisableRedraw Lib "time2win.dll" (ByVal hWnd As Integer)
  300. Declare Sub cEnableCtlRedraw Lib "time2win.dll" (Ctl As Control)
  301. Declare Sub cEnableFI Lib "time2win.dll" (Ctl As Control)
  302. Declare Sub cEnableForm Lib "time2win.dll" (ByVal hWnd As Integer)
  303. Declare Sub cEnableRedraw Lib "time2win.dll" (ByVal hWnd As Integer)
  304. Declare Function cEncrypt Lib "time2win.dll" (Txt As String, password As String, ByVal level As Integer) As String
  305. Declare Function cExitWindowsAndExecute Lib "time2win.dll" (ByVal lpszExe As String, ByVal lpszParams As String) As Integer
  306. Declare Function cExpandTab Lib "time2win.dll" (Txt As String, ByVal nTab As Integer) As String
  307. Declare Function cEXEnameActiveWindow Lib "time2win.dll" () As String
  308. Declare Function cEXEnameWindow Lib "time2win.dll" (ByVal hModule As Integer) As String
  309. Declare Function cEXENameTask Lib "time2win.dll" (ByVal nFilename As String) As String
  310. Declare Function cFileCompressTab Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, ByVal nTab As Integer) As Long
  311. Declare Function cFileCopy Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Long
  312. Declare Function cFileCRC32 Lib "time2win.dll" (ByVal lpFilename As String, ByVal mode As Integer) As Long
  313. Declare Function cFileDateCreated Lib "time2win.dll" (ByVal lpFilename As String) As String
  314. Declare Function cFileDecrypt Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, password As String, ByVal level As Integer) As Long
  315. Declare Function cFileDrive Lib "time2win.dll" (ByVal lpFilename As String) As String
  316. Declare Function cFileEncrypt Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, password As String, ByVal level As Integer) As Long
  317. Declare Function cFileExpandTab Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, ByVal nTab As Integer) As Long
  318. Declare Function cFileFilter Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, Filter As String) As Long
  319. Declare Function cFileFilterNot Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, Filter As String) As Long
  320. Declare Function cFileGetAttrib Lib "time2win.dll" (ByVal nFilename As String, nFileAttribute As Any) As Integer
  321. Declare Function cFileLastDateAccess Lib "time2win.dll" (ByVal lpFilename As String) As String
  322. Declare Function cFileLastDateModified Lib "time2win.dll" (ByVal lpFilename As String) As String
  323. Declare Function cFileLastTimeAccess Lib "time2win.dll" (ByVal lpFilename As String) As String
  324. Declare Function cFileLastTimeModified Lib "time2win.dll" (ByVal lpFilename As String) As String
  325. Declare Function cFileLineCount Lib "time2win.dll" (ByVal lpFilename As String) As Long
  326. Declare Function cFileMerge Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, ByVal fileTo As String) As Long
  327. Declare Function cFilePathExists Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  328. Declare Function cFileResetAllAttrib Lib "time2win.dll" (ByVal nFilename As String) As Integer
  329. Declare Function cFileResetArchive Lib "time2win.dll" (ByVal nFilename As String) As Integer
  330. Declare Function cFileResetFlag Lib "time2win.dll" (ByVal nFilename As String, ByVal nStatus As Integer) As Integer
  331. Declare Function cFileResetHidden Lib "time2win.dll" (ByVal nFilename As String) As Integer
  332. Declare Function cFileResetReadOnly Lib "time2win.dll" (ByVal nFilename As String) As Integer
  333. Declare Function cFileResetSystem Lib "time2win.dll" (ByVal nFilename As String) As Integer
  334. Declare Function cFileSearch Lib "time2win.dll" (ByVal nFilename As String, ByVal Search As String, ByVal sensitivity As Integer) As Long
  335. Declare Function cFileSearchAndReplace Lib "time2win.dll" (ByVal nFilename As String, ByVal Search As String, ByVal Replace As String, ByVal nFileTemp As String, ByVal sensitivity As Integer) As Long
  336. Declare Function cFileSearchCount Lib "time2win.dll" (ByVal nFilename As String, ByVal Search As String, ByVal sensitivity As Integer) As Long
  337. Declare Function cFileSetAllAttrib Lib "time2win.dll" (ByVal nFilename As String) As Integer
  338. Declare Function cFileSetArchive Lib "time2win.dll" (ByVal nFilename As String) As Integer
  339. Declare Function cFileSetAttrib Lib "time2win.dll" (ByVal nFilename As String, nFileAttribute As Any) As Integer
  340. Declare Function cFileSetFlag Lib "time2win.dll" (ByVal nFilename As String, ByVal nStatus As Integer) As Integer
  341. Declare Function cFileSetHidden Lib "time2win.dll" (ByVal nFilename As String) As Integer
  342. Declare Function cFileSetReadOnly Lib "time2win.dll" (ByVal nFilename As String) As Integer
  343. Declare Function cFileSetSystem Lib "time2win.dll" (ByVal nFilename As String) As Integer
  344. Declare Function cFilesInDirectory Lib "time2win.dll" (ByVal nFilename As String, ByVal firstnext As Integer) As String
  345. Declare Function cFileSize Lib "time2win.dll" (ByVal lpFilename As String) As Long
  346. Declare Function cFilesSize Lib "time2win.dll" (ByVal nFilename As String) As Long
  347. Declare Function cFilesSizeOnDisk Lib "time2win.dll" (ByVal nFilename As String) As Long
  348. Declare Function cFilesSlack Lib "time2win.dll" (ByVal nFilename As String, Size1 As Long, Size2 As Long) As Integer
  349. Declare Function cFileStatistics Lib "time2win.dll" (ByVal nFilename As String, nLines As Long, nWords As Long, nChars As Long) As Long
  350. Declare Function cFileTimeCreated Lib "time2win.dll" (ByVal lpFilename As String) As String
  351. Declare Function cFileToUpper Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Long
  352. Declare Function cFileToLower Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Long
  353. Declare Sub cFill Lib "time2win.dll" (Txt As String, Fill As String)
  354. Declare Function cFillD Lib "time2win.dll" (array() As Double, ByVal nValue As Double) As Integer
  355. Declare Function cFillI Lib "time2win.dll" (array() As Integer, ByVal nValue As Integer) As Integer
  356. Declare Function cFillL Lib "time2win.dll" (array() As Long, ByVal nValue As Long) As Integer
  357. Declare Function cFillS Lib "time2win.dll" (array() As Single, ByVal nValue As Single) As Integer
  358. Declare Function cFilterBlocks Lib "time2win.dll" (Txt As String, Delimitor As String) As String
  359. Declare Function cFilterChars Lib "time2win.dll" (Txt As String, charSet As String) As String
  360. Declare Function cFilterFirstChars Lib "time2win.dll" (Txt As String, charSet As String) As String
  361. Declare Function cFilterNotChars Lib "time2win.dll" (Txt As String, charSet As String) As String
  362. Declare Function cFindBitReset Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As Integer
  363. Declare Function cFindBitSet Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As Integer
  364. Declare Function cFindFileInEnv Lib "time2win.dll" (ByVal lpFilename As String, ByVal lpEnv As String) As Integer
  365. Declare Function cFindFileInPath Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  366. Declare Function cFromBinary Lib "time2win.dll" (text As String) As String
  367. Declare Function cFromBinary2 Lib "time2win.dll" (text As String, Bin As String) As String
  368. Declare Function cFromHexa Lib "time2win.dll" (text As String) As String
  369. Declare Function cFullPath Lib "time2win.dll" (ByVal nFilename As String) As String
  370. Declare Function cGet Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  371. Declare Function cGetAscTime Lib "time2win.dll" (ByVal nLanguage As Integer) As String
  372. Declare Function cGetBit Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As Integer
  373. Declare Function cGetBlock Lib "time2win.dll" (Txt As String, ByVal Position As Integer, ByVal Length As Integer) As String
  374. Declare Function cGetCaption Lib "time2win.dll" (ByVal hWnd As Integer) As String
  375. Declare Function cGetChangeTaskName Lib "time2win.dll" (ByVal hWnd As Integer, ByVal text As String) As String
  376. Declare Function cGetClass Lib "time2win.dll" (ByVal hWnd As Integer) As String
  377. Declare Function cGetClassName Lib "time2win.dll" (ByVal hWnd As Integer) As String
  378. Declare Function cGetContainer Lib "time2win.dll" (ByVal hWnd As Integer) As String
  379. Declare Function cGetCountry Lib "time2win.dll" () As String
  380. Declare Function cGetCountryCode Lib "time2win.dll" () As String
  381. Declare Function cGetCtlCaption Lib "time2win.dll" (Ctl As Control) As String
  382. Declare Function cGetCtlClass Lib "time2win.dll" (Ctl As Control) As String
  383. Declare Function cGetCtlContainer Lib "time2win.dll" (Ctl As Control) As String
  384. Declare Function cGetCtlDataField Lib "time2win.dll" (Ctl As Control) As String
  385. Declare Function cGetCtlForm Lib "time2win.dll" (Ctl As Control) As String
  386. Declare Function cGetCtlIndex Lib "time2win.dll" (Ctl As Control) As Integer
  387. Declare Function cGetCtlName Lib "time2win.dll" (Ctl As Control) As String
  388. Declare Function cGetCtlNameIndex Lib "time2win.dll" (Ctl As Control) As String
  389. Declare Function cGetCtlPropCaption Lib "time2win.dll" (Ctl As Control) As Integer
  390. Declare Function cGetCtlPropDataField Lib "time2win.dll" (Ctl As Control) As Integer
  391. Declare Function cGetCtlPropText Lib "time2win.dll" (Ctl As Control) As Integer
  392. Declare Function cGetCtlTag Lib "time2win.dll" (Ctl As Control) As String
  393. Declare Function cGetCtlTagSized Lib "time2win.dll" (Ctl As Control) As String
  394. Declare Function cGetCtlText Lib "time2win.dll" (Ctl As Control) As String
  395. Declare Function cGetCurrency Lib "time2win.dll" () As String
  396. Declare Function cGetCurrentDrive Lib "time2win.dll" () As String
  397. Declare Function cGetDataField Lib "time2win.dll" (ByVal hWnd As Integer) As String
  398. Declare Function cGetDateFormat Lib "time2win.dll" () As String
  399. Declare Function cGetDateSeparator Lib "time2win.dll" () As String
  400. Declare Function cGetDefaultCurrentDir Lib "time2win.dll" () As String
  401. Declare Function cGetDefaultPrinter Lib "time2win.dll" () As String
  402. Declare Function cGetDevices Lib "time2win.dll" () As String
  403. Declare Function cGetDiskClusterSize Lib "time2win.dll" (ByVal lpDrive As String) As Long
  404. Declare Function cGetDiskFree Lib "time2win.dll" (ByVal lpDrive As String) As Long
  405. Declare Function cGetDiskSpace Lib "time2win.dll" (ByVal lpDrive As String) As Long
  406. Declare Function cGetDiskUsed Lib "time2win.dll" (ByVal lpDrive As String) As Long
  407. Declare Function cGetDriveCurrentDir Lib "time2win.dll" (ByVal lpDrive As String) As String
  408. Declare Function cGetDriveType Lib "time2win.dll" (ByVal lpDrive As String) As Integer
  409. Declare Function cGetFileVersion Lib "time2win.dll" (ByVal FileName As String, ByVal nFonction As Integer) As String
  410. Declare Function cGetFileVersionInfo Lib "time2win.dll" (ByVal FileName As String, FILEVERSIONINFO As Any) As Integer
  411. Declare Function cGetForm Lib "time2win.dll" (ByVal hWnd As Integer) As String
  412. Declare Function cGetFullNameInEnv Lib "time2win.dll" (ByVal lpFilename As String, ByVal lpEnv As String) As String
  413. Declare Function cGetFullNameInPath Lib "time2win.dll" (ByVal lpFilename As String) As String
  414. Declare Function cGetHourFormat Lib "time2win.dll" () As String
  415. Declare Function cGetHwnd Lib "time2win.dll" (Ctl As Control) As Integer
  416. Declare Function cGetIn Lib "time2win.dll" (Txt As String, Separator As String, ByVal Position As Integer) As String
  417. Declare Function cGetIndex Lib "time2win.dll" (ByVal hWnd As Integer) As Integer
  418. Declare Function cGetIni Lib "time2win.dll" (ByVal AppName As String, ByVal szItem As String, ByVal szDefault As String, ByVal InitFile As String) As String
  419. Declare Function cGetLanguage Lib "time2win.dll" () As String
  420. Declare Function cGetListSeparator Lib "time2win.dll" () As String
  421. Declare Function cGetLongDay Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nDay As Integer) As String
  422. Declare Function cGetLongMonth Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nMonth As Integer) As String
  423. Declare Function cGetName Lib "time2win.dll" (ByVal hWnd As Integer) As String
  424. Declare Function cGetNameIndex Lib "time2win.dll" (ByVal hWnd As Integer) As String
  425. Declare Function cGetNetConnection Lib "time2win.dll" (ByVal lpDrive As String, ErrCode As Integer) As String
  426. Declare Function cGetPid Lib "time2win.dll" () As Integer
  427. Declare Function cGetPrinterPorts Lib "time2win.dll" () As String
  428. Declare Function cGetSectionItems Lib "time2win.dll" (ByVal Section As String, ByVal InitFile As String, nItems As Integer) As String
  429. Declare Function cGetShortDay Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nDay As Integer) As String
  430. Declare Function cGetShortMonth Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nMonth As Integer) As String
  431. Declare Function cGetSmallDay Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nDay As Integer) As String
  432. Declare Function cGetSystemDirectory Lib "time2win.dll" () As String
  433. Declare Function cGetTaskName Lib "time2win.dll" (ByVal hWnd As Integer) As String
  434. Declare Function cGetText Lib "time2win.dll" (ByVal hWnd As Integer) As String
  435. Declare Function cGetTimeSeparator Lib "time2win.dll" () As String
  436. Declare Function cGetTinyDay Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nDay As Integer) As String
  437. Declare Function cGetTinyMonth Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nMonth As Integer) As String
  438. Declare Function cGetWindowsDirectory Lib "time2win.dll" () As String
  439. Declare Function cGetWinINI Lib "time2win.dll" (ByVal Info As Integer) As String
  440. Declare Function cGetWinSection Lib "time2win.dll" (ByVal Section As String) As String
  441. Declare Function cGiveBitPalindrome Lib "time2win.dll" () As String
  442. Declare Function cHourTo Lib "time2win.dll" (Txt As String) As Variant
  443. Declare Function cIfInStr Lib "time2win.dll" (Txt As String, Operator As String) As String
  444. Declare Function cInsertBlocks Lib "time2win.dll" (Txt As String, Insert As String) As String
  445. Declare Function cInsertBlocksBy Lib "time2win.dll" (Txt As String, Insert As String, Delimitor As String) As String
  446. Declare Function cInsertByMask Lib "time2win.dll" (Txt As String, Mask As String, Insert As String) As String
  447. Declare Function cInsertChars Lib "time2win.dll" (Txt As String, ByVal Position As Integer, Insert As String) As String
  448. Declare Function cIntoBalance Lib "time2win.dll" (Var As Variant) As String
  449. Declare Function cIntoBalanceFill Lib "time2win.dll" (Var As Variant) As String
  450. Declare Function cIntoDate Lib "time2win.dll" (ByVal nDate As Long) As String
  451. Declare Function cIntoDateFill Lib "time2win.dll" (ByVal nDate As Long) As String
  452. Declare Function cIntoDateNull Lib "time2win.dll" (ByVal nDate As Long) As String
  453. Declare Function cIntoFixHour Lib "time2win.dll" (Var As Variant, ByVal Length As Integer, ByVal fillZero As Integer, ByVal CentiΦme As Integer) As String
  454. Declare Function cIntoHour Lib "time2win.dll" (Var As Variant) As String
  455. Declare Function cIntoVarHour Lib "time2win.dll" (Var As Variant) As String
  456. Declare Function cIsAlnum Lib "time2win.dll" (Txt As String) As Integer
  457. Declare Function cIsAlpha Lib "time2win.dll" (Txt As String) As Integer
  458. Declare Function cIsAscii Lib "time2win.dll" (Txt As String) As Integer
  459. Declare Function cIsBalance Lib "time2win.dll" (ByVal nHour As Long, ByVal nMinute As Integer, ByVal nSecond As Integer) As Integer
  460. Declare Function cIsBitPalindrome Lib "time2win.dll" (Txt As String) As Integer
  461. Declare Function cIsCsym Lib "time2win.dll" (Txt As String) As Integer
  462. Declare Function cIsCsymf Lib "time2win.dll" (Txt As String) As Integer
  463. Declare Function cIsDate Lib "time2win.dll" (ByVal nYear As Integer, ByVal nMonth As Integer, ByVal nDay As Integer) As Integer
  464. Declare Function cIsDigit Lib "time2win.dll" (Txt As String) As Integer
  465. Declare Function cIsFileArchive Lib "time2win.dll" (ByVal nFilename As String) As Integer
  466. Declare Function cIsFileFlag Lib "time2win.dll" (ByVal nFilename As String, ByVal nStatus As Integer) As Integer
  467. Declare Function cIsFileHidden Lib "time2win.dll" (ByVal nFilename As String) As Integer
  468. Declare Function cIsFileNormal Lib "time2win.dll" (ByVal nFilename As String) As Integer
  469. Declare Function cIsFilenameValid Lib "time2win.dll" (ByVal nFilename As String) As Integer
  470. Declare Function cIsFileReadOnly Lib "time2win.dll" (ByVal nFilename As String) As Integer
  471. Declare Function cIsFileSubDir Lib "time2win.dll" (ByVal nFilename As String) As Integer
  472. Declare Function cIsFileSystem Lib "time2win.dll" (ByVal nFilename As String) As Integer
  473. Declare Function cIsFileVolId Lib "time2win.dll" (ByVal nFilename As String) As Integer
  474. Declare Function cIsFormEnabled Lib "time2win.dll" (ByVal hWnd As Integer) As Integer
  475. Declare Function cIsHour Lib "time2win.dll" (ByVal nHour As Integer, ByVal nMinute As Integer, ByVal nSecond As Integer) As Integer
  476. Declare Function cIsISBN Lib "time2win.dll" (Txt As String) As Integer
  477. Declare Function cIsLeapYear Lib "time2win.dll" (ByVal nYear As Integer) As Integer
  478. Declare Function cIsLower Lib "time2win.dll" (Txt As String) As Integer
  479. Declare Function cIsPalindrome Lib "time2win.dll" (Txt As String) As Integer
  480. Declare Function cIsPunct Lib "time2win.dll" (Txt As String) As Integer
  481. Declare Function cIsSpace Lib "time2win.dll" (Txt As String) As Integer
  482. Declare Function cIsUpper Lib "time2win.dll" (Txt As String) As Integer
  483. Declare Function cIsXDigit Lib "time2win.dll" (Txt As String) As Integer
  484. Declare Function cKillDir Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  485. Declare Function cKillDirFilesAll Lib "time2win.dll" (ByVal lpDir As String, ByVal lpMask As String) As Integer
  486. Declare Function cKillDirs Lib "time2win.dll" (ByVal lpDir As String, ByVal HeaderDirectory As Integer) As Integer
  487. Declare Function cKillFile Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  488. Declare Function cKillFileAll Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  489. Declare Function cKillFiles Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  490. Declare Function cKillFilesAll Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  491. Declare Sub cKillFocus Lib "time2win.dll" (ByVal hWnd As Integer)
  492. Declare Function cLngMsgBox Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal Message As String, ByVal Button As Long, ByVal Title As String) As Integer
  493. Declare Sub cLngBoxMsg Lib "time2win.dll" Alias "cLngMsgBox" (ByVal nLanguage As Integer, ByVal Message As String, ByVal Button As Long, ByVal Title As String)
  494. Declare Function cLngInpBox Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal Message As String, ByVal Title As String, ByVal Default As String) As String
  495. Declare Sub cLngSysMenu Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal hWnd As Integer)
  496. Declare Function cLockEventI Lib "time2win.dll" (Ctl As Control) As Integer
  497. Declare Function cLrc Lib "time2win.dll" (Txt As String) As String
  498. Declare Function cMakeDir Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  499. Declare Function cMakePath Lib "time2win.dll" (ByVal nDrive As String, ByVal nDir As String, ByVal nFilename As String, ByVal Ext As String) As String
  500. Declare Function cMax Lib "time2win.dll" (Var1 As Variant, Var2 As Variant) As Variant
  501. Declare Function cMaxD Lib "time2win.dll" (array() As Double) As Double
  502. Declare Function cMaxI Lib "time2win.dll" (array() As Integer) As Integer
  503. Declare Function cMaxL Lib "time2win.dll" (array() As Long) As Long
  504. Declare Function cMaxS Lib "time2win.dll" (array() As Single) As Single
  505. Declare Function cMeanD Lib "time2win.dll" (array() As Double) As Double
  506. Declare Function cMeanI Lib "time2win.dll" (array() As Integer) As Double
  507. Declare Function cMeanL Lib "time2win.dll" (array() As Long) As Double
  508. Declare Function cMeanS Lib "time2win.dll" (array() As Single) As Double
  509. Declare Function cMin Lib "time2win.dll" (Var1 As Variant, Var2 As Variant) As Variant
  510. Declare Function cMinD Lib "time2win.dll" (array() As Double) As Double
  511. Declare Function cMinI Lib "time2win.dll" (array() As Integer) As Integer
  512. Declare Function cMinL Lib "time2win.dll" (array() As Long) As Long
  513. Declare Function cMinS Lib "time2win.dll" (array() As Single) As Single
  514. Declare Function cMixChars Lib "time2win.dll" (Txt As String) As String
  515. Declare Function cMKB Lib "time2win.dll" (ByVal Value As Integer) As String
  516. Declare Function cMKC Lib "time2win.dll" (ByVal Value As Currency) As String
  517. Declare Function cMKD Lib "time2win.dll" (ByVal Value As Double) As String
  518. Declare Function cMKI Lib "time2win.dll" (ByVal Value As Integer) As String
  519. Declare Function cMKL Lib "time2win.dll" (ByVal Value As Long) As String
  520. Declare Function cMKN Lib "time2win.dll" (ByVal Value As String) As String
  521. Declare Function cMKS Lib "time2win.dll" (ByVal Value As Single) As String
  522. Declare Function cModuleFind Lib "time2win.dll" (MODULEENTRY As Any, ByVal ModuleName As String) As Integer
  523. Declare Function cModules Lib "time2win.dll" (MODULEENTRY As Any, ByVal firstnext As Integer) As Integer
  524. Declare Function cMorse Lib "time2win.dll" (ByVal morse As String) As String
  525. Declare Function cNexthWnd Lib "time2win.dll" (ByVal hWnd As Integer) As Integer
  526. Declare Function cNumDigit Lib "time2win.dll" (Txt As String) As Integer
  527. Declare Function cOneCharFromLeft Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  528. Declare Function cOneCharFromRight Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  529. Declare Function cPatternMatch Lib "time2win.dll" (ByVal Txt As String, ByVal pattern As String) As Integer
  530. Declare Function cPatternExtMatch Lib "time2win.dll" (ByVal Txt As String, ByVal pattern As String) As Integer
  531. Declare Sub cPutIni Lib "time2win.dll" (ByVal AppName As String, ByVal szItem As String, ByVal szDefault As String, ByVal InitFile As String)
  532. Declare Function cReadBasisTimer Lib "time2win.dll" () As Long
  533. Declare Function cReadCtlLanguage Lib "time2win.dll" (Ctl As Control, ByVal Property As Integer, ByVal FileLanguage As String) As Integer
  534. Declare Function cReadTimer Lib "time2win.dll" (ByVal nTimer As Integer) As Long
  535. Declare Function cRebootSystem Lib "time2win.dll" () As Integer
  536. Declare Function cRemoveBlockChar Lib "time2win.dll" (Txt As String, ByVal Position As Integer, ByVal Length As Integer) As String
  537. Declare Function cRemoveOneChar Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  538. Declare Function cRenameFile Lib "time2win.dll" (ByVal lpFilename1 As String, ByVal lpFilename2 As String) As Integer
  539. Declare Sub cResetCapture Lib "time2win.dll" ()
  540. Declare Sub cResetFocus Lib "time2win.dll" (ByVal hWnd1 As Integer, ByVal hWnd2 As Integer)
  541. Declare Function cResizeString Lib "time2win.dll" (Txt As String, ByVal newLength As Integer) As String
  542. Declare Function cResizeStringAndFill Lib "time2win.dll" (Txt As String, ByVal newLength As Integer, Fill As String) As String
  543. Declare Function cRestartWindows Lib "time2win.dll" () As Integer
  544. Declare Function cReverse Lib "time2win.dll" (Txt As String) As String
  545. Declare Sub cReverseAllBits Lib "time2win.dll" (Txt As String)
  546. Declare Sub cReverseAllBitsByChar Lib "time2win.dll" (Txt As String)
  547. Declare Function cReverseSortD Lib "time2win.dll" (array() As Double) As Integer
  548. Declare Function cReverseSortI Lib "time2win.dll" (array() As Integer) As Integer
  549. Declare Function cReverseSortL Lib "time2win.dll" (array() As Long) As Integer
  550. Declare Function cReverseSortS Lib "time2win.dll" (array() As Single) As Integer
  551. Declare Function cReverseSortStr Lib "time2win.dll" (Txt As String, ByVal nItem As Integer, ByVal ItemLength As Integer) As Integer
  552. Declare Function cRomanToArabic Lib "time2win.dll" (Txt As String) As Variant
  553. Declare Function cSaveCtlLanguage Lib "time2win.dll" (Ctl As Control, ByVal Property As Integer, ByVal FileLanguage As String) As Integer
  554. Declare Function cScrollL Lib "time2win.dll" (Txt As String) As String
  555. Declare Function cScrollR Lib "time2win.dll" (Txt As String) As String
  556. Declare Sub cSetAllBits Lib "time2win.dll" (Txt As String, ByVal Value As Integer)
  557. Declare Sub cSetBit Lib "time2win.dll" (Txt As String, ByVal Position As Integer, ByVal Value As Integer)
  558. Declare Sub cSetBitToFalse Lib "time2win.dll" (Txt As String, ByVal Position As Integer)
  559. Declare Sub cSetBitToTrue Lib "time2win.dll" (Txt As String, ByVal Position As Integer)
  560. Declare Sub cSetCaption Lib "time2win.dll" (ByVal hWnd As Integer, ByVal text As String)
  561. Declare Sub cSetCapture Lib "time2win.dll" (ByVal hWnd As Integer)
  562. Declare Sub cSetCtlCaption Lib "time2win.dll" (Ctl As Control, ByVal text As String)
  563. Declare Sub cSetCtlDataField Lib "time2win.dll" (Ctl As Control, ByVal text As String)
  564. Declare Sub cSetCtlFocus Lib "time2win.dll" (Ctl As Control)
  565. Declare Sub cSetCtlPropString Lib "time2win.dll" (Ctl As Control, ByVal PropIndex As Integer, ByVal text As String)
  566. Declare Sub cSetCtlTag Lib "time2win.dll" (Ctl As Control, ByVal text As String)
  567. Declare Sub cSetCtlText Lib "time2win.dll" (Ctl As Control, ByVal text As String)
  568. Declare Function cSetD Lib "time2win.dll" (array() As Double, ByVal nValue As Double) As Integer
  569. Declare Sub cSetDataField Lib "time2win.dll" (ByVal hWnd As Integer, ByVal text As String)
  570. Declare Sub cSetDefaultSeparator Lib "time2win.dll" (Separator As String)
  571. Declare Sub cSetFocus Lib "time2win.dll" (ByVal hWnd As Integer)
  572. Declare Function cSetHandleCount Lib "time2win.dll" (ByVal nHandle As Integer) As Integer
  573. Declare Function cSetI Lib "time2win.dll" (array() As Integer, ByVal nValue As Integer) As Integer
  574. Declare Function cSetL Lib "time2win.dll" (array() As Long, ByVal nValue As Long) As Integer
  575. Declare Sub cSetLocking Lib "time2win.dll" (ByVal nValue As Integer)
  576. Declare Function cSetS Lib "time2win.dll" (array() As Single, ByVal nValue As Single) As Integer
  577. Declare Sub cSetTag Lib "time2win.dll" (ByVal hWnd As Integer, ByVal text As String)
  578. Declare Sub cSetText Lib "time2win.dll" (ByVal hWnd As Integer, ByVal text As String)
  579. Declare Sub cSetWait Lib "time2win.dll" (ByVal nTimer As Integer, ByVal nValue As Long)
  580. Declare Function cSleep Lib "time2win.dll" (ByVal Delay As Long) As Integer
  581. Declare Function cSortD Lib "time2win.dll" (array() As Double) As Integer
  582. Declare Function cSortI Lib "time2win.dll" (array() As Integer) As Integer
  583. Declare Function cSortL Lib "time2win.dll" (array() As Long) As Integer
  584. Declare Function cSortS Lib "time2win.dll" (array() As Single) As Integer
  585. Declare Function cSortStr Lib "time2win.dll" (Txt As String, ByVal nItem As Integer, ByVal ItemLength As Integer) As Integer
  586. Declare Function cSplitPath Lib "time2win.dll" (ByVal nFilename As String, SPLITPATH As Any) As Integer
  587. Declare Sub cStartBasisTimer Lib "time2win.dll" ()
  588. Declare Sub cStartTimer Lib "time2win.dll" (ByVal nTimer As Integer)
  589. Declare Sub cStartWait Lib "time2win.dll" (ByVal nTimer As Integer)
  590. Declare Sub cStopBasisTimer Lib "time2win.dll" ()
  591. Declare Function cStopTimer Lib "time2win.dll" (ByVal nTimer As Integer) As Long
  592. Declare Function cStringCRC32 Lib "time2win.dll" (Txt As String) As Long
  593. Declare Sub cStringToType Lib "time2win.dll" Alias "cTypesCopy" (ByVal Src As String, TypeDst As Any, ByVal lenTypeSrc As Integer)
  594. Declare Function cSubDirectory Lib "time2win.dll" (ByVal nFilename As String, ByVal firstnext As Integer) As String
  595. Declare Function cSumD Lib "time2win.dll" (array() As Double) As Double
  596. Declare Function cSumI Lib "time2win.dll" (array() As Integer) As Double
  597. Declare Function cSumL Lib "time2win.dll" (array() As Long) As Double
  598. Declare Function cSumS Lib "time2win.dll" (array() As Single) As Double
  599. Declare Sub cSysMenuChange Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Position As Integer, ByVal NewMessage As String)
  600. Declare Sub cSwapD Lib "time2win.dll" (swap1 As Double, swap2 As Double)
  601. Declare Sub cSwapI Lib "time2win.dll" (swap1 As Integer, swap2 As Integer)
  602. Declare Sub cSwapL Lib "time2win.dll" (swap1 As Long, swap2 As Long)
  603. Declare Sub cSwapS Lib "time2win.dll" (swap1 As Single, swap2 As Single)
  604. Declare Sub cSwapStr Lib "time2win.dll" (swap1 As String, swap2 As String)
  605. Declare Function cTaskFind Lib "time2win.dll" (TASKENTRY As Any, ByVal hTask As Integer) As Integer
  606. Declare Function cTasks Lib "time2win.dll" (TASKENTRY As Any, ByVal firstnext As Integer) As Integer
  607. Declare Function cTest Lib "time2win.dll" () As Long
  608. Declare Function cTimeBetween Lib "time2win.dll" (ByVal Hr1 As Integer, ByVal Hr2 As Integer) As Integer
  609. Declare Function cToBinary Lib "time2win.dll" (text As String) As String
  610. Declare Function cToBinary2 Lib "time2win.dll" (text As String, Bin As String) As String
  611. Declare Sub cToggleAllBits Lib "time2win.dll" (Txt As String)
  612. Declare Sub cToggleBit Lib "time2win.dll" (Txt As String, ByVal Position As Integer)
  613. Declare Function cToHexa Lib "time2win.dll" (text As String) As String
  614. Declare Function cTrueBetween Lib "time2win.dll" (Var As Variant, Var1 As Variant, Var2 As Variant) As Integer
  615. Declare Sub cTypeClear Lib "time2win.dll" (TypeSrc As Any, ByVal lenTypeSrc As Integer)
  616. Declare Function cTypeMid Lib "time2win.dll" (TypeSrc As Any, ByVal Offset As Integer, ByVal Length As Integer) As String
  617. Declare Function cTypesCompare Lib "time2win.dll" (Type1 As Any, Type2 As Any, ByVal lenType1 As Integer) As Integer
  618. Declare Sub cTypesCopy Lib "time2win.dll" (TypeSrc As Any, TypeDst As Any, ByVal lenTypeSrc As Integer)
  619. Declare Function cTypeTransfert Lib "time2win.dll" (TypeSrc As Any, ByVal lenTypeSrc As Integer) As String
  620. Declare Sub cTypeToString Lib "time2win.dll" Alias "cTypesCopy" (TypeSrc As Any, ByVal Dst As String, ByVal lenTypeSrc As Integer)
  621. Declare Function cUncompact Lib "time2win.dll" (Txt As String) As String
  622. Declare Function cUniqueFileName Lib "time2win.dll" (Txt As String) As String
  623. Declare Sub cUnloadDLL Lib "time2win.dll" (ByVal hMod As Integer)
  624. Declare Sub cUnlockEventI Lib "time2win.dll" (Ctl As Control)
  625. Declare Sub cPushID Lib "time2win.dll" (IDArray As Integer, ByVal nID As Integer)
  626. Declare Sub cPopID Lib "time2win.dll" (IDArray As Integer, ByVal nID As Integer)
  627. Declare Sub cPopLastID Lib "time2win.dll" (IDArray As Integer)
  628. Declare Function cGetID Lib "time2win.dll" (IDArray As Integer, ByVal nPosition As Integer) As Integer
  629. Declare Sub cClearID Lib "time2win.dll" (IDArray As Integer)
  630.  
  631.