DECLARE PUBLIC FUNCTION ProductReg123 (prodno%, network$, direction$) AS STRING
DECLARE PUBLIC FUNCTION DefaultUserReg123 (prodno%, network$, direction$) AS STRING
DECLARE PUBLIC FUNCTION Init123 (prodno%, network$, direction$, basedir$) AS STRING
DECLARE PUBLIC FUNCTION PrevVersions123 (prodno%, network$, direction$) AS STRING
DECLARE PUBLIC FUNCTION PathChange123 (prodno%, network$, direction$, destdirsym$, mainprodsonly%) AS STRING
DECLARE PUBLIC FUNCTION InitCopyList123 (prodno%, network$, direction$) AS STRING
DECLARE PUBLIC FUNCTION PreCopyConfig123 (prodno%, network$, direction$, lic%) AS STRING
DECLARE PUBLIC FUNCTION AddTheBillBoards123 (prodno%, network$, direction$, nbytes&) AS STRING
DECLARE PUBLIC FUNCTION PostCopyConfig123 (prodno%, network$, direction$, programgroup$) AS STRING
DECLARE PUBLIC FUNCTION AddIcons123 (prodno%, network$, direction$, programgroup$) AS STRING
DECLARE PUBLIC FUNCTION UI123 (prodno%, network$, direction$) AS STRING
DECLARE PUBLIC FUNCTION PostSuccessReg123 (prodno%, network$, direction$) AS STRING
DECLARE PUBLIC SUB AddRegistryKeys123 (prodno%, network$)
DECLARE PUBLIC FUNCTION InitLanguage123 (prodno%, network$, direction$) AS STRING
DECLARE FUNCTION DetectPreviousVersion (Productfound$) AS STRING
DECLARE SUB RemoveObsoleteFiles123 (hDlg&, CtrlId%, Classes$, LInst&)
DECLARE SUB SQLSERVERNAMECB (hDlg&, CtrlId%, Classes$, Inst&)
'** Product specific functions
'*****************************
DECLARE FUNCTION Get123PathfromLotusIni() AS STRING
DECLARE SUB RegisterSharedComponent(Key$, FileName$, Version$)
DECLARE FUNCTION Lot_WriteOLERegFor123(network$, prodno%) AS INTEGER
DECLARE FUNCTION Get_and_Set_Registry_Entries(FeatureKeyWord$, grgPath$, exePath$, winsysPath$, sectionName$) AS INTEGER
DECLARE FUNCTION FindWindowA LIB "user32" (ByVal lpClassName As Any, ByVal lpCaption As Any) AS LONG
DECLARE FUNCTION CopyFileA LIB "kernel32" ALIAS "CopyFileA" (Byval szSrc$, Byval szDest$, Byval cmo&) AS LONG
DECLARE FUNCTION SetFileAttributesA LIB "kernel32" ALIAS "SetFileAttributesA" (Byval szFile$, Byval dwFileAttributes&) AS LONG
DECLARE FUNCTION GetPrivateProfileString LIB "kernel32" ALIAS "GetPrivateProfileStringA" (ByVal szSect$, ByVal szKey$,_
ByVal szDefault$,ByVal szBuf$,ByVal cbBuf AS Long,ByVal szFile$) AS LONG
'*****************************WWEXE[[
DECLARE FUNCTION GetACP LIB "kernel32" ALIAS "GetACP" () AS LONG
'*****************************WWEXE]]
DECLARE FUNCTION Lot_GetPrivateProfileString LIB "kernel32" ALIAS "GetPrivateProfileStringA"_
(ByVal szSect$, ByVal szKey AS Long, ByVal szDefault$,ByVal szBuf$,ByVal cbBuf AS Long,ByVal szFile$) AS LONG
DECLARE FUNCTION WritePrivateProfileString LIB "kernel32" ALIAS "WritePrivateProfileStringA" (ByVal szSect$, ByVal szKey$,_
ByVal szString$,ByVal szFile$) AS LONG
DECLARE PUBLIC FUNCTION RegSetValueExM LIB "advapi32" ALIAS "RegSetValueExA" (ByVal hKey&, ByVal lpValueName$, ByVal Reserved&, ByVal dwType&, ByVal lpData$, ByVal cbData&) AS LONG
DECLARE PUBLIC FUNCTION RegDeleteKey LIB "advapi32" ALIAS "RegDeleteKeyA" (ByVal hKey&, ByVal szKey$) AS LONG
DECLARE PUBLIC FUNCTION RegDeleteValue LIB "advapi32" ALIAS "RegDeleteValueA" (ByVal hKey&, ByVal szKey$) AS LONG
DECLARE PUBLIC FUNCTION RegOpenKeyEx LIB "advapi32" ALIAS "RegOpenKeyExA" (ByVal hKey&, ByVal lpSubKey$, ByVal ulOptions&, ByVal samDesired&, phkResult&) AS LONG
DECLARE PUBLIC FUNCTION RegCloseKeyEx LIB "advapi32" ALIAS "RegCloseKey" (ByVal hKey&) AS LONG
DECLARE PUBLIC FUNCTION RegEnumKey LIB "advapi32" ALIAS "RegEnumKeyA" (ByVal hKey&, ByVal dwIndex&, lpName$, ByVal cbName&) AS LONG
'** This Three Functions are expoted from regspt.dll listed in install.lst **
DECLARE PUBLIC FUNCTION OpenGRG Lib "regspt.dll" Alias "_OpenGRGFile@8" (Byval filename As String, fileHandle As Long) AS LONG
DECLARE PUBLIC SUB CloseGRG Lib "regspt.dll" Alias "_CloseGRGFile@4" (Byval fileHandle As Long)
DECLARE PUBLIC FUNCTION ParseLine Lib "regspt.dll" Alias "_ParseNextLine@24" (Byval fileHandle As Long, Byval replacement As String, Byval replacement2 As String, components As RegComponents, Byval sectionName As String, sectionFound As LONG ) AS LONG
DECLARE FUNCTION DetectVersionPriorToDarwin (destination$) AS STRING
DECLARE FUNCTION Get123PathfromRegistry() AS STRING
DECLARE FUNCTION GetInstTypefromRegistry() AS LONG
DECLARE FUNCTION GetPreviousMastersDir() AS STRING
DECLARE FUNCTION GetPreviousMapsDir() AS STRING
DECLARE SUB MigrateUserPrefReg()
DECLARE SUB MigrateFillsPrefReg()
DECLARE SUB DoBackupSmartMasters()
DECLARE SUB DoBackupMaps()
DECLARE SUB Write_ODBC_Reg(prodno%, network$)
DECLARE SUB Write_BCF_FILE(prodno%, network$)
DECLARE SUB CleanRegistryKeys123(prodno%)
DECLARE FUNCTION Lot_WriteMapRegFor123(network$, prodno%) AS INTEGER
DECLARE FUNCTION Lot_WriteOCXRegFor123(network$, prodno%) AS INTEGER
DECLARE FUNCTION Lot_WriteImgRegFor123(network$, prodno%) AS INTEGER
DECLARE FUNCTION Lot_WriteHlpRegFor123(network$, prodno%) AS INTEGER
DECLARE FUNCTION Lot_RegUninstFilFor123(network$, prodno%) AS INTEGER
DECLARE FUNCTION GetNotesPath123(notespath$, notesdatapath$) AS INTEGER
DECLARE FUNCTION GetDestinationSymbolValue123(dirsym$, flang%) AS STRING
'** EXCEPTION FUNCTIONS (OPTIONAL: Regiseterd in the INF File)