ini.ini
来自「Script C被设计成一种解释执行的、C语言风格的脚本语言。它用来完成bat批」· INI 代码 · 共 252 行
INI
252 行
;bowen,3/28/2000 9:07AM
;ATS ini file read/write interface
[dll]
dll=c:\ats\plugins\ini.dll
;int FileExists(LPSTR);
[File_Exists]
Name=File_Exists
ReturnType = 0
ParamCount = 1
Type1 = 2
CanDefault1 = 0
;int IniFile_Create(LPSTR IniFile);
[IniFile_Create]
Name=IniFile_Create
ReturnType = 0
ParamCount = 1
Type1 = 2
CanDefault1 = 0
;int IniFile_GetInt(LPSTR IniFile, LPSTR Section, LPSTR Value, int Data);
[IniFile_GetInt]
Name=IniFile_GetInt
ReturnType = 0
ParamCount = 4
Type1 = 2
CanDefault1 = 0
Type2 = 2
CanDefault2 = 0
Type3 = 2
CanDefault3 = 0
Type4 = 0
CanDefault4 = 0
;int IniFile_SetInt(LPSTR IniFile, LPSTR Section, LPSTR Value, int Data);
[IniFile_SetInt]
Name=IniFile_SetInt
ReturnType = 0
ParamCount = 4
Type1 = 2
CanDefault1 = 0
Type2 = 2
CanDefault2 = 0
Type3 = 2
CanDefault3 = 0
Type4 = 0
CanDefault4 = 0
;int IniFile_GetStr(LPSTR IniFile, LPSTR Section, LPSTR Value, LPSTR Data);
[IniFile_GetStr]
Name=IniFile_GetStr
ReturnType = 0
ParamCount = 4
Type1 = 2
CanDefault1 = 0
Type2 = 2
CanDefault2 = 0
Type3 = 2
CanDefault3 = 0
Type4 = 2
CanDefault4 = 0
;int IniFile_SetStr(LPSTR IniFile, LPSTR Section, LPSTR Value, LPSTR Data);
[IniFile_SetStr]
Name=IniFile_SetStr
ReturnType = 0
ParamCount = 4
Type1 = 2
CanDefault1 = 0
Type2 = 2
CanDefault2 = 0
Type3 = 2
CanDefault3 = 0
Type4 = 2
CanDefault4 = 0
;int IniFile_ValueExists(LPSTR IniFile, LPSTR Section, LPSTR Value);
[IniFile_ValueExists]
Name=IniFile_ValueExists
ReturnType = 0
ParamCount = 3
Type1 = 2
CanDefault1 = 0
Type2 = 2
CanDefault2 = 0
Type3 = 2
CanDefault3 = 0
;int IniFile_DeleteValue(LPSTR IniFile, LPSTR Section, LPSTR Value);
[IniFile_DeleteValue]
Name=IniFile_DeleteValue
ReturnType = 0
ParamCount = 3
Type1 = 2
CanDefault1 = 0
Type2 = 2
CanDefault2 = 0
Type3 = 2
CanDefault3 = 0
;int IniFile_SectionExists(LPSTR IniFile, LPSTR Section);
[IniFile_SectionExists]
Name=IniFile_SectionExists
ReturnType = 0
ParamCount = 2
Type1 = 2
CanDefault1 = 0
Type2 = 2
CanDefault2 = 0
;int IniFile_DeleteSection(LPSTR IniFile, LPSTR Section);
[IniFile_DeleteSection]
Name=IniFile_DeleteSection
ReturnType = 0
ParamCount = 2
Type1 = 2
CanDefault1 = 0
Type2 = 2
CanDefault2 = 0
;int Reg_KeyExists(HKEY RootKey, LPSTR Key);
[Reg_KeyExists]
Name=Reg_KeyExists
ReturnType = 0
ParamCount = 2
Type1 = 0
Type2 = 2
;int Reg_ValueExists(HKEY RootKey, LPSTR Key, LPSTR Value);
[Reg_ValueExists]
Name=Reg_ValueExists
ReturnType = 0
ParamCount = 3
Type1 = 0
Type2 = 2
Type3 = 2
;int Reg_LoadFromFile(HKEY RootKey, LPSTR Key, LPSTR filename);
[Reg_LoadFromFile]
Name=Reg_LoadFromFile
ReturnType = 0
ParamCount = 3
Type1 = 0
Type2 = 2
Type3 = 2
;int Reg_SaveToFile(HKEY RootKey, LPSTR Key, LPSTR filename);
[Reg_SaveToFile]
Name=Reg_SaveToFile
ReturnType = 0
ParamCount = 3
Type1 = 0
Type2 = 2
Type3 = 2
;int Reg_GetBin(HKEY RootKey, LPSTR Key, LPSTR Value, void *Buffer, int BufferSize);
[Reg_GetBin]
Name=Reg_GetBin
ReturnType = 0
ParamCount = 5
Type1 = 0
Type2 = 2
Type3 = 2
Type4 = 0
Type5 = 0
;int Reg_SetBin(HKEY RootKey, LPSTR Key, LPSTR Value, void *Buffer, int BufferSize);
[Reg_SetBin]
Name=Reg_SetBin
ReturnType = 0
ParamCount = 5
Type1 = 0
Type2 = 2
Type3 = 2
Type4 = 0
Type5 = 0
;int Reg_GetInt(HKEY RootKey, LPSTR Key, LPSTR Value);
[Reg_GetInt]
Name=Reg_GetInt
ReturnType = 0
ParamCount = 3
Type1 = 0
Type2 = 2
Type3 = 2
;int Reg_SetInt(HKEY RootKey, LPSTR Key, LPSTR Value, int Data);
[Reg_SetInt]
Name=Reg_SetInt
ReturnType = 0
ParamCount = 4
Type1 = 0
Type2 = 2
Type3 = 2
Type4 = 0
;int Reg_GetStr(HKEY RootKey, LPSTR Key, LPSTR Value, LPSTR Data);
[Reg_GetStr]
Name=Reg_GetStr
ReturnType = 0
ParamCount = 4
Type1 = 0
Type2 = 2
Type3 = 2
Type4 = 2
;int Reg_SetStr(HKEY RootKey, LPSTR Key, LPSTR Value, LPSTR Data);
[Reg_SetStr]
Name=Reg_SetStr
ReturnType = 0
ParamCount = 4
Type1 = 0
Type2 = 2
Type3 = 2
Type4 = 2
;int Reg_RenameValue(HKEY RootKey, LPSTR Key, LPSTR OldValue, LPSTR NewValue);
[Reg_RenameValue]
Name=Reg_RenameValue
ReturnType = 0
ParamCount = 4
Type1 = 0
Type2 = 2
Type3 = 2
Type4 = 2
;int Reg_DeleteValue(HKEY RootKey, LPSTR Key, LPSTR Value)
[Reg_DeleteValue]
Name=Reg_DeleteValue
ReturnType = 0
ParamCount = 3
Type1 = 0
Type2 = 2
Type3 = 2
;int Reg_DeleteKey(HKEY RootKey, LPSTR Key)
[Reg_DeleteKey]
Name=Reg_DeleteKey
ReturnType = 0
ParamCount = 2
Type1 = 0
Type2 = 2
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?