Annotation of mstools/mssetup/include/msdetect.h, revision 1.1.1.1

1.1       root        1: //
                      2: // Imported functions from MSDETSTF.DLL
                      3: //
                      4: 
                      5: extern BOOL  APIENTRY FFileInUse(LPSTR szFile);
                      6: extern int   APIENTRY CbGetDateOfFile(LPSTR szFile, LPSTR szBuf, int cbBuf);
                      7: extern int   APIENTRY CbGetVersionOfFile(LPSTR szFile, LPSTR szBuf,
                      8:                                int cbBuf);
                      9: extern int   APIENTRY GetExistingFOTFileForTTF(LPSTR szFile, LPSTR szBuf,
                     10:                                int cbBuf);
                     11: extern int   APIENTRY FGetValidDrivesList(LPSTR szSymbol);
                     12: extern int   APIENTRY FGetLocalHardDrivesList(LPSTR szSymbol);
                     13: extern int   APIENTRY FGetNetworkDrivesList(LPSTR szSymbol);
                     14: extern LONG  APIENTRY LcbTotalDrive(int nDrive);
                     15: extern LONG  APIENTRY LcbFreeDrive(int nDrive);
                     16: extern LONG  APIENTRY LcbGetSizeOfFile(LPSTR szFile);
                     17: extern int   APIENTRY FIsValidDrive(int nDrive);
                     18: extern int   APIENTRY FIsLocalHardDrive(int nDrive);
                     19: extern int   APIENTRY FIsRemoveDrive(int nDrive);
                     20: extern int   APIENTRY FIsRemoteDrive(int nDrive);
                     21: extern int   APIENTRY FDirExists(LPSTR szDir);
                     22: extern int   APIENTRY FDoesFileExist(LPSTR szFileName, int mode);
                     23: extern int   APIENTRY FDoesIniKeyExist(LPSTR szFile, LPSTR szSect,
                     24:                                LPSTR szKey);
                     25: extern int   APIENTRY CbGetIniKeyString(LPSTR szFile, LPSTR szSect,
                     26:                                LPSTR szKey, LPSTR szBuf, int cbBuf);
                     27: #ifndef STF_LITE
                     28: extern int   APIENTRY FGetRemovableDrivesList(LPSTR szSymbol);
                     29: extern LONG  APIENTRY LGetVersionNthField(LPSTR szVersion, int nField);
                     30: extern int   APIENTRY FDoesIniSectionExist(LPSTR szFile, LPSTR szSect);
                     31: extern int   APIENTRY WGetDOSMajorVersion(void);
                     32: extern int   APIENTRY WGetDOSMinorVersion(void);
                     33: extern int   APIENTRY CbGetEnvVariableValue(LPSTR szEnvVar, LPSTR szBuf,
                     34:                                int cbBuf);
                     35: extern int   APIENTRY WGetNumWinApps(void);
                     36: extern int   APIENTRY FGetParallelPortsList(LPSTR szSymbol);
                     37: extern int   APIENTRY FGetSerialPortsList(LPSTR szSymbol);
                     38: extern int   APIENTRY FHas87MathChip(void);
                     39: extern int   APIENTRY FHasMonochromeDisplay(void);
                     40: extern int   APIENTRY FHasMouseInstalled(void);
                     41: extern int   APIENTRY FIsDriverInConfig(LPSTR szDrv);
                     42: extern int   APIENTRY WGetConfigSmartdrvSize(void);
                     43: extern int   APIENTRY WGetConfigRamdriveSize(void);
                     44: extern int   APIENTRY WGetConfigNumBuffers(void);
                     45: extern int   APIENTRY WGetConfigNumFiles(void);
                     46: extern int   APIENTRY WGetConfigLastDrive(void);
                     47: extern int   APIENTRY FGetProcessorType(LPSTR, USHORT, LPSTR, unsigned);
                     48: extern int   APIENTRY CbFindTargetOnEnvVar(LPSTR szFile, LPSTR szEnvVar,
                     49:                                LPSTR szBuf, int cbBuf);
                     50: extern int   APIENTRY CbFindFileInTree(LPSTR szFile, LPSTR szDir, LPSTR szBuf,
                     51:                                int cbBuf);
                     52: #endif
                     53: 
                     54: 
                     55: 
                     56: //
                     57: //  Configuration detection wrapper functions
                     58: //
                     59: extern BOOL  IsDriveValid(LPSTR szDrive);
                     60: extern BOOL  IsDriveLocalHard(LPSTR szDrive);
                     61: extern BOOL  IsDriveRemovable(LPSTR szDrive);
                     62: extern BOOL  IsDriveNetwork(LPSTR szDrive);
                     63: extern VOID  GetValidDrivesList(LPSTR szSymbol);
                     64: extern VOID  GetLocalHardDrivesList(LPSTR szSymbol);
                     65: extern VOID  GetNetworkDrivesList(LPSTR szSymbol);
                     66: extern LONG  GetTotalSpaceForDrive(LPSTR szDrive);
                     67: extern LONG  GetFreeSpaceForDrive(LPSTR szDrive);
                     68: extern BOOL  DoesFileExist(LPSTR szFile, int mode);
                     69: extern LONG  GetSizeOfFile(LPSTR szFile);
                     70: extern BOOL  DoesDirExist(LPSTR szDir);
                     71: extern BOOL  DoesIniKeyExist(LPSTR szFile, LPSTR szSect,
                     72:                                LPSTR szKey);
                     73: extern LPSTR GetIniKeyString(LPSTR szFile, LPSTR szSect, LPSTR szKey,
                     74:                                LPSTR szBuf, int cbBuf);
                     75: extern LPSTR GetDateOfFile(LPSTR szFile, LPSTR szBuf, int cbBuf);
                     76: extern INT   GetYearFromDate(LPSTR szDate);
                     77: extern INT   GetMonthFromDate(LPSTR szDate);
                     78: extern INT   GetDayFromDate(LPSTR szDate);
                     79: 
                     80: #ifndef STF_LITE
                     81: extern VOID  GetRemovableDrivesList(LPSTR szSymbol);
                     82: extern INT   GetTypeFaceNameFromTTF(LPSTR szFile, LPSTR szBuf,
                     83:                                int cbBuf);
                     84: 
                     85: extern LPSTR GetEnvVariableValue(LPSTR szEnvVar, LPSTR szBuf,
                     86:                                int cbBuf);
                     87: 
                     88: extern INT   GetHourFromDate(LPSTR szDate);
                     89: extern INT   GetMinuteFromDate(LPSTR szDate);
                     90: extern INT   GetSecondFromDate(LPSTR szDate);
                     91: extern LPSTR GetVersionOfFile(LPSTR szFile, LPSTR szBuf, int cbBuf);
                     92: extern LONG  GetVersionNthField(LPSTR szVersion, int nField);
                     93: extern LPSTR FindTargetOnEnvVar(LPSTR szFile, LPSTR szEnvVar,
                     94:                                LPSTR szBuf, int cbBuf);
                     95: extern LPSTR FindFileInTree(LPSTR szFile, LPSTR szDir, LPSTR szBuf,
                     96:                                int cbBuf);
                     97: extern BOOL  DoesIniSectionExist(LPSTR szFile, LPSTR szSect);
                     98: extern BOOL  IsDriverInConfig(LPSTR szDrv);
                     99: extern INT   GetProcessorType(void);
                    100: extern VOID  GetParallelPortsList(LPSTR szSymbol);
                    101: extern VOID  GetSerialPortsList(LPSTR szSymbol);
                    102: extern BOOL  Has87MathChip(void);
                    103: extern BOOL  HasFPPMathChip(void);
                    104: extern BOOL  HasMonochromeDisplay(void);
                    105: extern BOOL  HasMouseInstalled(void);
                    106: extern INT   GetDOSMajorVersion(void);
                    107: extern INT   GetDOSMinorVersion(void);
                    108: extern INT   GetNumWinApps(void);
                    109: extern INT   GetConfigSmartdrvSize(void);
                    110: extern INT   GetConfigRamdriveSize(void);
                    111: extern INT   GetConfigNumBuffers(void);
                    112: extern INT   GetConfigNumFiles(void);
                    113: extern LPSTR GetConfigLastDrive(LPSTR szBuf, int cbBuf);
                    114: #endif  /* !STF_LITE */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.