Uses API from external DLL

WIN32API

DECLARE INTEGER GetClassName IN win32api AS XFRX_GetClassName  INTEGER, STRING @, INTEGER
DECLARE INTEGER FindWindow IN WIN32API AS XFRX_FindWindow STRING cnull, STRING cwinname
DECLARE INTEGER GetCurrentProcessId IN WIN32API AS XFRX_GetCurrentProcessId
DECLARE INTEGER GetActiveWindow IN win32api AS XFRX_GetActiveWindow
DECLARE INTEGER GetDC IN WIN32API AS XFRX_GetDC INTEGER iHWND
DECLARE INTEGER ReleaseDC IN WIN32API AS XFRX_ReleaseDC  INTEGER ihwnd,INTEGER iHDC
DECLARE INTEGER GetDeviceCaps IN WIN32API AS XFRX_GetDeviceCaps  INTEGER iHDC, INTEGER iIndex
DECLARE ScreenToClient IN WIN32API  AS XFRX_ScreenToClient INTEGER hWnd, STRING @ lpPoint
DECLARE INTEGER GetSystemMetrics IN WIN32API AS XFRX_GetSystemMetrics INTEGER
DECLARE LONG FindFirstFile IN Win32API AS XFRX_FindFirstFile STRING @lpFileName, STRING @lpFindData
DECLARE INTEGER FindNextFile IN Win32API AS XFRX_FindNextFile LONG hFindFile, STRING @lpFindData
DECLARE INTEGER FindClose IN Win32API AS XFRX_FindClose LONG hFindFile
DECLARE INTEGER MonitorFromRect IN WIN32API AS XFRX_MonitorFromRect STRING @, INTEGER
DECLARE INTEGER GetMonitorInfo IN WIN32API AS XFRX_GetMonitorInfo INTEGER, STRING @

kernel32.dll

DECLARE INTEGER CopyFile IN KERNEL32.dll AS XFRX_CopyFile STRING @lpExistingFileName, STRING @lpNewFileName, INTEGER
DECLARE INTEGER GetLocaleInfo IN kernel32.dll AS XFRX_GetLocaleInfo INTEGER, INTEGER, STRING @, INTEGER
DECLARE INTEGER GetUserDefaultLangID IN kernel32.dll AS XFRX_GetUserDefaultLangID
DECLARE INTEGER GetTimeZoneInformation IN kernel32.dll AS XFRX_GetTimeZoneInformation STRING @
DECLARE INTEGER GetEnvironmentVariable IN kernel32.dll AS XFRX_GetEnvironmentVariable STRING lpName, STRING @ lpBuffer, INTEGER nSize
DECLARE LONG CreateToolhelp32Snapshot IN kernel32.dll AS XFRX_CreateToolhelp32Snapshot INTEGER dwFlags, INTEGER th32ProcessID
DECLARE LONG Module32First IN kernel32.dll AS XFRX_Module32First LONG hSnapshot, STRING @lpme && LPMODULEENTRY32
DECLARE LONG Module32Next IN kernel32.dll AS XFRX_Module32Next LONG hSnapshot, STRING @lpme && LPMODULEENTRY32
DECLARE INTEGER WideCharToMultiByte IN kernel32.dll AS XFRX_WideCharToMultiByte INTEGER, INTEGER, STRING @, INTEGER, STRING @, INTEGER,STRING @, STRING @
DECLARE INTEGER MultiByteToWideChar IN kernel32.dll AS XFRX_MultiByteToWideChar INTEGER, INTEGER, STRING @, INTEGER, STRING @, INTEGER
DECLARE INTEGER OpenProcess IN kernel32 AS XFRX_OpenProcess INTEGER dwDesiredAccessas, INTEGER bInheritHandle, INTEGER dwProcId - XFRX 19.0
DECLARE INTEGER SetFileTime IN kernel32 AS XFRX_SetFileTime INTEGER, STRING @, STRING @, STRING @
DECLARE INTEGER SystemTimeToFileTime IN kernel32 AS XFRX_SystemTimeToFileTime STRING @ lpSystemTime, STRING @ lpFileTime
DECLARE INTEGER CreateFile IN kernel32.dll AS XFRX_CreateFile STRING @, INTEGER, INTEGER, INTEGER, INTEGER, INTEGER, INTEGER
DECLARE INTEGER CloseHandle IN kernel32.dll AS XFRX_CloseHandle INTEGER
DECLARE INTEGER TzSpecificLocalTimeToSystemTime IN KERNEL32.dll AS XFRX_TzSpecificLocalTimeToSystemTime  STRING @lpTimeZone, STRING @lpLocalTime, STRING @lpUniversalTime
DECLARE INTEGER LocalFileTimeToFileTime IN kernel32 AS XFRX_LocalFileTimeToFileTime STRING @ lpLocalTime, STRING @ lpFileTime
DECLARE INTEGER FileTimeToSystemTime IN kernel32.dll AS XFRX_FileTimeToSystemTime STRING @lpFileTime, STRING @lpSystemTime
DECLARE INTEGER SystemTimeToTzSpecificLocalTime IN kernel32.dll AS XFRX_SystemTimeToTzSpecificLocalTime STRING @lpTimeZoneInformation, STRING @lpUniversalTime, STRING @lpLocalTime
DECLARE INTEGER ExpandEnvironmentStrings IN KERNEL32.DLL AS XFRX_ExpandEnvironmentStrings STRING @ ,STRING @, INTEGER 
DECLARE INTEGER SetProcessWorkingSetSize IN kernel32 AS XFRX_SetProcessWorkingSetSize INTEGER hProcess, INTEGER dwMinimumWorkingSetSize, INTEGER dwMaximumWorkingSetSize
DECLARE LONG GetCurrentProcess IN kernel32 AS XFRX_GetCurrentProcess
DECLARE INTEGER GetUserDefaultLCID IN kernel32 AS XFRX_GetUserDefaultLCID
DECLARE INTEGER GetStringTypeW IN kernel32.dll AS XFRX_GetStringTypeW INTEGER, STRING@, INTEGER , STRING@
DECLARE INTEGER GetACP IN kernel32.dll AS XFRX_GetACP
DECLARE INTEGER GetCPInfo IN kernel32.dll AS XFRX_GetCPInfo INTEGER, STRING @

zlib.dll

DECLARE INTEGER compress2 IN zlib AS  XFRX_cxx STRING @, STRING @, STRING @, INTEGER liSOURCELEN, INTEGER liLEVEL
DECLARE INTEGER compress IN zlib.dll AS XFRX_compress STRING @, INTEGER @, STRING @, INTEGER
DECLARE INTEGER uncompress IN ZLIB.DLL AS XFRX_uncompress STRING @, INTEGER @, STRING @, INTEGER
DECLARE LONG crc32 IN Zlib AS _eqz_crc32 LONG crc32, STRING Buffer, LONG BuffLen
DECLARE STRING zlibVersion IN zlib.dll AS _eqz_zlibVersion
DECLARE INTEGER zipOpen IN zlib.dll AS _eqz_zipOpen STRING @, INTEGER
DECLARE INTEGER zipClose IN zlib.dll AS _eqz_zipClose INTEGER, STRING
DECLARE INTEGER zipOpenNewFileInZip IN zlib.dll AS _eqz_zipOpenNewFileInZip INTEGER, STRING, STRING, STRING, INTEGER, STRING, INTEGER, STRING, INTEGER, INTEGER
DECLARE INTEGER zipWriteInFileInZip IN zlib.dll AS _eqz_zipWriteInFileInZip INTEGER, STRING, INTEGER
DECLARE INTEGER zipCloseFileInZip IN zlib.dll AS _eqz_zipCloseFileInZip INTEGER
DECLARE INTEGER unzOpen IN zlib.dll AS _eqz_unzOpen STRING @
DECLARE INTEGER unzClose IN zlib.dll AS _eqz_unzClose INTEGER
DECLARE INTEGER unzGetGlobalInfo IN zlib.dll AS _eqz_unzGetGlobalInfo INTEGER, STRING @
DECLARE INTEGER unzGetCurrentFileInfo IN zlib.dll AS _eqz_unzGetCurrentFileInfo INTEGER, STRING @, STRING @, INTEGER, STRING @, INTEGER, STRING @, INTEGER
DECLARE INTEGER unzOpenCurrentFile IN zlib.dll AS _eqz_unzOpenCurrentFile INTEGER
DECLARE INTEGER unzReadCurrentFile IN zlib.dll AS _eqz_unzReadCurrentFile INTEGER, STRING @, INTEGER
DECLARE INTEGER unzCloseCurrentFile IN zlib.dll AS _eqz_unzCloseCurrentFile INTEGER
DECLARE INTEGER unzGoToNextFile IN zlib.dll AS _eqz_unzGoToNextFile INTEGER

gdi32.dll

DECLARE INTEGER TranslateCharsetInfo IN gdi32 AS XFRX_TranslateCharsetInfo INTEGER, STRING @, INTEGER
DECLARE LONG CreateDC IN gdi32 AS XFRX_CreateDC STRING lpszDriver, STRING lpszDevice, LONG lpszOutput, LONG lpInitData
DECLARE LONG DeleteDC IN gdi32 AS XFRX_DeleteDC LONG hDC
DECLARE LONG DeleteEnhMetaFile IN gdi32.dll AS XFRX_DeleteEnhMetaFile INTEGER
DECLARE LONG SetWinMetaFileBits IN gdi32.dll AS XFRX_SetWinMetaFileBits INTEGER, STRING @, INTEGER, STRING @
DECLARE LONG CopyEnhMetaFile IN gdi32.dll AS XFRX_CopyEnhMetaFile INTEGER, STRING @

OLE32.DLL
DECLARE INTEGER CLSIDFromString IN ole32 AS XFRX_CLSIDFromString STRING,STRING @
DECLARE INTEGER CoCreateGuid IN OLE32.DLL AS XFRX_CoCreateGuid STRING @lcBuffer
DECLARE INTEGER StringFromGUID2 IN Ole32.dll AS XFRX_StringFromGUID2 STRING cGUIDStruc, STRING @cGUID, LONG nSize
psapi
DECLARE INTEGER GetModuleFileNameEx IN psapi AS XFRX_GetModuleFileNameEx INTEGER hProcess, INTEGER hModule, STRING ModuleName, INTEGER nSize - XFRX 19.0
DECLARE INTEGER EnumProcessModules IN psapi AS XFRX_EnumProcessModules INTEGER hProcess,  STRING @lphModule, INTEGER cb, INTEGER @lpcbNeeded - XFRX 19.0
 shell32.Dll
DECLARE INTEGER ShellExecute IN shell32.Dll AS XFRX_ShellExecute INTEGER nWinHandle, STRING cOperation, STRING cFilename, STRING cParameters, STRING cDirectory, INTEGER nShowWindow
 ADVAPI32.DLL
DECLARE INTEGER RegQueryValueEx IN ADVAPI32.DLL AS XFRX_RegQueryValueEx INTEGER,STRING @,INTEGER ,INTEGER @,STRING @,INTEGER @
DECLARE INTEGER RegOpenKeyEx IN ADVAPI32.DLL AS XFRX_RegOpenKeyEx INTEGER, STRING @,INTEGER,INTEGER,INTEGER @nKeyHandle
DECLARE INTEGER RegCloseKey IN ADVAPI32.DLL AS XFRX_RegCloseKey INTEGER
DECLARE INTEGER RegEnumValue IN ADVAPI32.DLL AS _XFRX_RegEnumValue INTEGER, INTEGER ,STRING @, INTEGER @, INTEGER, INTEGER @, STRING @, INTEGER @
 winspool.drv
DECLARE LONG DeviceCapabilities IN winspool.drv AS XFRX_DeviceCapabilities STRING @pDevice, STRING @pPort, LONG fwCapability, STRING @pOutput, STRING @pDevMode
urlmon.dll
DECLARE integer URLDownloadToFile IN urlmon AS XFRX_URLDownloadToFile INTEGER pcaller, STRING szurl, STRING szfilename, INTEGER dwreserved, INTEGER lpfncb
msvcrt.dll or msvcr80.dll or msvcr90.dll or msvcr100.dll or msvcr110.dll or msvcr120.dll or msvcr140.dll
DECLARE LONG _create_locale IN msvcrt.dll AS XFRX_create_locale INTEGER, STRING @
DECLARE INTEGER _free_locale IN msvcrt.dll AS XFRX_free_locale LONG