⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msdetect.h

📁 希望我上传的这些东西可以对搞编程的程序员有点小小的帮助!谢谢!
💻 H
字号:
#pragma option push -b -a8 -pc -A- /*P_O_Push*/
//
// Imported functions from MSDETSTF.DLL
//

extern BOOL  APIENTRY FFileInUse(LPSTR szFile);
extern int   APIENTRY CbGetDateOfFile(LPSTR szFile, LPSTR szBuf, int cbBuf);
extern int   APIENTRY CbGetVersionOfFile(LPSTR szFile, LPSTR szBuf,
				int cbBuf);
extern int   APIENTRY GetExistingFOTFileForTTF(LPSTR szFile, LPSTR szBuf,
				int cbBuf);
extern int   APIENTRY FGetValidDrivesList(LPSTR szSymbol);
extern int   APIENTRY FGetLocalHardDrivesList(LPSTR szSymbol);
extern int   APIENTRY FGetNetworkDrivesList(LPSTR szSymbol);
#ifdef WIN16
extern DWORD APIENTRY LcbTotalDrive(int nDrive);
extern DWORD APIENTRY LcbFreeDrive(int nDrive);
#endif
#ifdef WIN32
extern DWORDLONG  APIENTRY LcbTotalDrive(int nDrive);
extern DWORDLONG  APIENTRY LcbFreeDrive(int nDrive);
#endif
extern DWORD APIENTRY LcbGetSizeOfFile(LPSTR szFile);
extern int   APIENTRY FIsValidDrive(int nDrive);
extern int   APIENTRY FIsLocalHardDrive(int nDrive);
extern int   APIENTRY FIsRemoveDrive(int nDrive);
extern int   APIENTRY FIsRemoteDrive(int nDrive);
extern int   APIENTRY FDirExists(LPSTR szDir);
extern int   APIENTRY FDoesFileExist(LPSTR szFileName, int mode);
extern int   APIENTRY FDoesIniKeyExist(LPSTR szFile, LPSTR szSect,
				LPSTR szKey);
extern int   APIENTRY CbGetIniKeyString(LPSTR szFile, LPSTR szSect,
				LPSTR szKey, LPSTR szBuf, int cbBuf);
#ifndef STF_LITE
extern int   APIENTRY FGetRemovableDrivesList(LPSTR szSymbol);
extern LONG  APIENTRY LGetVersionNthField(LPSTR szVersion, int nField);
extern int   APIENTRY FDoesIniSectionExist(LPSTR szFile, LPSTR szSect);
extern int   APIENTRY WGetDOSMajorVersion(void);
extern int   APIENTRY WGetDOSMinorVersion(void);
extern int   APIENTRY CbGetEnvVariableValue(LPSTR szEnvVar, LPSTR szBuf,
				int cbBuf);
extern int   APIENTRY WGetNumWinApps(void);
extern int   APIENTRY FGetParallelPortsList(LPSTR szSymbol);
extern int   APIENTRY FGetSerialPortsList(LPSTR szSymbol);
extern int   APIENTRY FHas87MathChip(void);
extern int   APIENTRY FHasMonochromeDisplay(void);
extern int   APIENTRY FHasMouseInstalled(void);
extern int   APIENTRY FIsDriverInConfig(LPSTR szDrv);
extern int   APIENTRY WGetConfigSmartdrvSize(void);
extern int   APIENTRY WGetConfigRamdriveSize(void);
extern int   APIENTRY WGetConfigNumBuffers(void);
extern int   APIENTRY WGetConfigNumFiles(void);
extern int   APIENTRY WGetConfigLastDrive(void);
extern int   APIENTRY FGetProcessorType(LPSTR, USHORT, LPSTR, unsigned);
extern int   APIENTRY CbFindTargetOnEnvVar(LPSTR szFile, LPSTR szEnvVar,
				LPSTR szBuf, int cbBuf);
extern int   APIENTRY CbFindFileInTree(LPSTR szFile, LPSTR szDir, LPSTR szBuf,
				int cbBuf);
#endif



//
//  Configuration detection wrapper functions
//
extern BOOL  IsDriveValid(LPSTR szDrive);
extern BOOL  IsDriveLocalHard(LPSTR szDrive);
extern BOOL  IsDriveRemovable(LPSTR szDrive);
extern BOOL  IsDriveNetwork(LPSTR szDrive);
extern VOID  GetValidDrivesList(LPSTR szSymbol);
extern VOID  GetLocalHardDrivesList(LPSTR szSymbol);
extern VOID  GetNetworkDrivesList(LPSTR szSymbol);
#ifdef WIN16
extern DWORD GetTotalSpaceForDrive(LPSTR szDrive);
extern DWORD GetFreeSpaceForDrive(LPSTR szDrive);
#endif
#ifdef WIN32
extern DWORDLONG GetTotalSpaceForDrive(LPSTR szDrive);
extern DWORDLONG GetFreeSpaceForDrive(LPSTR szDrive);
#endif
extern BOOL  DoesFileExist(LPSTR szFile, int mode);
extern DWORD GetSizeOfFile(LPSTR szFile);
extern BOOL  DoesDirExist(LPSTR szDir);
extern BOOL  DoesIniKeyExist(LPSTR szFile, LPSTR szSect,
				LPSTR szKey);
extern LPSTR GetIniKeyString(LPSTR szFile, LPSTR szSect, LPSTR szKey,
				LPSTR szBuf, int cbBuf);
extern LPSTR GetDateOfFile(LPSTR szFile, LPSTR szBuf, int cbBuf);
extern INT   GetYearFromDate(LPSTR szDate);
extern INT   GetMonthFromDate(LPSTR szDate);
extern INT   GetDayFromDate(LPSTR szDate);

#ifndef STF_LITE
extern VOID  GetRemovableDrivesList(LPSTR szSymbol);
extern INT   GetTypeFaceNameFromTTF(LPSTR szFile, LPSTR szBuf,
				int cbBuf);

extern LPSTR GetEnvVariableValue(LPSTR szEnvVar, LPSTR szBuf,
				int cbBuf);

extern INT   GetHourFromDate(LPSTR szDate);
extern INT   GetMinuteFromDate(LPSTR szDate);
extern INT   GetSecondFromDate(LPSTR szDate);
extern LPSTR GetVersionOfFile(LPSTR szFile, LPSTR szBuf, int cbBuf);
extern LONG  GetVersionNthField(LPSTR szVersion, int nField);
extern LPSTR FindTargetOnEnvVar(LPSTR szFile, LPSTR szEnvVar,
				LPSTR szBuf, int cbBuf);
extern LPSTR FindFileInTree(LPSTR szFile, LPSTR szDir, LPSTR szBuf,
				int cbBuf);
extern BOOL  DoesIniSectionExist(LPSTR szFile, LPSTR szSect);
extern BOOL  IsDriverInConfig(LPSTR szDrv);
extern INT   GetProcessorType(void);
extern VOID  GetParallelPortsList(LPSTR szSymbol);
extern VOID  GetSerialPortsList(LPSTR szSymbol);
extern BOOL  Has87MathChip(void);
extern BOOL  HasFPPMathChip(void);
extern BOOL  HasMonochromeDisplay(void);
extern BOOL  HasMouseInstalled(void);
extern INT   GetDOSMajorVersion(void);
extern INT   GetDOSMinorVersion(void);
extern INT   GetNumWinApps(void);
extern INT   GetConfigSmartdrvSize(void);
extern INT   GetConfigRamdriveSize(void);
extern INT   GetConfigNumBuffers(void);
extern INT   GetConfigNumFiles(void);
extern LPSTR GetConfigLastDrive(LPSTR szBuf, int cbBuf);
#endif  /* !STF_LITE */
#pragma option pop /*P_O_Pop*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -