root/daqLib/trunk/daqLib/daqLib.h
Revision 18 (checked in by haines, 17 years ago) |
---|
Line | |
---|---|
1 | /* |
2 | * DAQLIB_DLL.dll |
3 | * |
4 | * PURPOSE: This DLL exports functions to perform simple system functions |
5 | * not available in embedded Visual Basic. |
6 | * |
7 | */ |
8 | |
9 | // The following ifdef block is the standard way of creating macros which make exporting |
10 | // from a DLL simpler. All files within this DLL are compiled with the DAQLIB_EXPORTS |
11 | // symbol defined on the command line. this symbol should not be defined on any project |
12 | // that uses this DLL. This way any other project whose source files include this file see |
13 | // DAQLIB_API functions as being imported from a DLL, wheras this DLL sees symbols |
14 | // defined with this macro as being exported. |
15 | |
16 | #ifdef DAQLIB_EXPORTS |
17 | #define DAQLIB_API __declspec(dllexport) |
18 | #else |
19 | |
20 | #define DAQLIB_API __declspec(dllimport) |
21 | #endif |
22 | |
23 | |
24 | /* |
25 | * Constants |
26 | */ |
27 | #define MAXIMUM_RETURN_INFO_LEN 512 |
28 | |
29 | /* |
30 | * Prototypes |
31 | */ |
32 | |
33 | DAQLIB_API BOOL storageStatus(TCHAR* localFilePath, |
34 | TCHAR* returnInfo); |
35 | DAQLIB_API BOOL storagePercentage(TCHAR* localFilePath, |
36 | TCHAR* returnInfo); |
37 | |
38 | DAQLIB_API int getDirNumFiles(TCHAR* FileMask); |
39 | /*int or unsigned short*/ |
40 | |
41 | DAQLIB_API BOOL memoryStatus(TCHAR* returnInfo); |
42 | DAQLIB_API BOOL memoryPhysPercentage(TCHAR* returnInfo); |
43 | DAQLIB_API BOOL memoryVirtualPercentage(TCHAR* returnInfo); |
44 | |
45 | |
46 | /* |
47 | DAQLIB_API BOOL systemInfo(TCHAR* returnInfo); |
48 | */ |
49 |
Note: See TracBrowser for help on using the browser.