Function int ATMAllowUpdates(Int hwnd ) Library "ATMAPI.DLL" 
Function int ATMBlockUpdates(Int hwnd ) Library "ATMAPI.DLL" 
Function int ATMCloseConfiguration(Int hwnd ) Library "ATMAPI.DLL" 
Function int ATMConnectSession(Int hwnd , String session$) Library "ATMAPI.DLL" 
Function int ATMDisconnectSession(Int hwnd ) Library "ATMAPI.DLL" 
Function int ATMFileTransferStatus(String status$, Int length ) Library "ATMAPI.DLL" 
Function int ATMGetATMAPIVersion(ref String buffer$, Int length ) Library "ATMAPI.DLL" 
Function int ATMGetConfiguration(Int hwnd , ref String config$, Int length ) Library "ATMAPI.DLL" 
Function int ATMGetCursorLocation(Int hwnd ) Library "ATMAPI.DLL" 
Function int ATMGetError(Int hwnd , ref String errstring$, Int length ) Library "ATMAPI.DLL"  
Function int ATMGetEXTRAPath(Int hwnd , ref String Path$, Int length ) Library "ATMAPI.DLL"
Function int ATMGetEXTRAVersion(Int hwnd ,ref String buffer$, Int length ) Library "ATMAPI.DLL"
Function int ATMGetFieldLength(Int hwnd , Int Row , Int Column , Int Field ) Library "ATMAPI.DLL" 
Function int ATMGetFieldPosition(Int hwnd , Int Row , Int Column , Int Field ) Library "ATMAPI.DLL" 
Function int ATMGetLayoutName(Int hwnd , ref String layout$, Int length ) Library "ATMAPI.DLL" 
Function int ATMGetParameter(Int hwnd , Int Index ) Library "ATMAPI.DLL" 
Function int ATMGetSessionHandle(Int hwnd , String session$) Library "ATMAPI.DLL" 
Function int ATMGetSessions(Int hwnd , ref String SessionList$, Int length , Int state ) Library "ATMAPI.DLL"  
Function int ATMGetSessionSize(Int hwnd) Library "ATMAPI.DLL" 
Function int ATMGetSessionStatus(Int hwnd , String session$, Int status ) Library "ATMAPI.DLL" 
Function int ATMGetString(Int hwnd , Int Row , Int Column , ref String GetString$, Int length ) Library "ATMAPI.DLL" 
Function int ATMGetStringFromField(Int hwnd , Int Row , Int Column , String GetString$, Int length ) Library "ATMAPI.DLL" 
Function int ATMListSessions(Int hwnd , ref String session$, Int length , String title$, Int status ) Library "ATMAPI.DLL" 
Function int ATMLockKeyboard(Int hwnd ) Library "ATMAPI.DLL" 
Function int ATMOpenConfiguration(Int hwnd , String config$) Library "ATMAPI.DLL" 
Function int ATMOpenLayout(Int hwnd , String layout$) Library "ATMAPI.DLL" 
Function int ATMPause(Int hwnd , Int Pause ) Library "ATMAPI.DLL" 
Function int ATMReceiveFile(Int hwnd , String receive$, Int length ) Library "ATMAPI.DLL" 
Function int ATMResetSystem(Int hwnd ) Library "ATMAPI.DLL" 
Function int ATMRowColumn(Int hwnd , Int Position , Int Toggle ) Library "ATMAPI.DLL" 
Function int ATMRunEXTRAMacro(Int hwnd , String session$, String Macro$) Library "ATMAPI.DLL" 
Function int ATMSearchField(Int hwnd , Int Row , Int Column , String SearchString$) Library "ATMAPI.DLL" 
Function int ATMSearchSession(Int hwnd , Int Row , Int Column , String SearchString$, Int SearchOption ) Library "ATMAPI.DLL" 
Function int ATMSendFile(Int hwnd , String Send$, Int length ) Library "ATMAPI.DLL" 
Function int ATMSendKey(Int hwnd , String Key$) Library "ATMAPI.DLL" 
Function int ATMSendString(Int hwnd , Int Row , Int Column , String SendString$) Library "ATMAPI.DLL" 
Function int ATMSendStringToField(Int hwnd , Int Row , Int Column , String SendString$) Library "ATMAPI.DLL" 
Function int ATMSessionOff(Int hwnd ) Library "ATMAPI.DLL" 
Function int ATMSessionOn(Int hwnd ) Library "ATMAPI.DLL" 
Function int ATMSetCursorLocation(Int hwnd , Int Row , Int Column ) Library "ATMAPI.DLL" 
Function int ATMSetParameter(Int hwnd , Int Index , Int Setting , String Escape$) Library "ATMAPI.DLL" 
Function int ATMShowLastError(Int hwnd ) Library "ATMAPI.DLL" 
Function int ATMStartSession(Int hwnd , String session$, String Visible$) Library "ATMAPI.DLL" 
Function int ATMStopSession(Int hwnd ) Library "ATMAPI.DLL" 
Function int ATMUnlockKeyboard(Int hwnd ) Library "ATMAPI.DLL" 
Function int ATMWait(Int hwnd ) Library "ATMAPI.DLL" 
Function int ATMWaitForString(Int hwnd ,Int nRow,Int nColumn, String WaitString, Int nTimeout) Library "ATMAPI.DLL" 
Function int ATMStartHostNotify(Int hwnd ,String lpSession, Int nNotify) Library "ATMAPI.DLL" 
Function int ATMStopHostNotify(Int hwnd ,String lpSession) Library "ATMAPI.DLL" 
Function int GetInterceptedKey(Int hwnd ,ref String keyBuffer, Int nBuffLength) Library "MESSENGR.DLL" 
Function int CommOpenDlg(Int hwnd, String szTitle, String szPath,String szType, ref String szFileName, Int nFileNameLen, Int nWhat) Library "HAGUTILS.DLL" 
Function int RegisterWindowMessage(String szMsg) Library "USER.EXE" 
Function uint FindWindow(String szClassName,String TitleName) Library "user.exe" 
Function int MSGMessageHandler  (uint hwnd, uint Entry, uint uID, uint uFilter) Library "MSGHNDLR.DLL"
Function int MSGAddNotifyID (uint hwnd, uint cPSID, String szID, uint uStringLen) Library "MSGHNDLR.DLL"
Function int MSGAddKeystrokeID  (uint hwnd, uint cPSID, String szID, uint uStringLen) Library "MSGHNDLR.DLL"