#ifndef __INCLUDE_OBJ_H__
#define __INCLUDE_OBJ_H__

#if !defined(__cplusplus)
#error C++ compiler required
#endif

#include <objbase.h>

class dmsoft
{
private:
    IDispatch * obj;

public:
    dmsoft();
    virtual ~dmsoft();

    virtual long SetRowGapNoDict(long row_gap);
    virtual long LeftUp();
    virtual long Delays(long min_s,long max_s);
    virtual long SetExportDict(long index,const TCHAR * dict_name);
    virtual CString GetWindowTitle(long hwnd);
    virtual CString FindDoubleEx(long hwnd,const TCHAR * addr_range,double double_value_min,double double_value_max,long steps,long multi_thread,long mode);
    virtual CString GetDiskReversion(long index);
    virtual CString FindMultiColorEx(long x1,long y1,long x2,long y2,const TCHAR * first_color,const TCHAR * offset_color,double sim,long dir);
    virtual CString FetchWord(long x1,long y1,long x2,long y2,const TCHAR * color,const TCHAR * word);
    virtual CString GetEnv(long index,const TCHAR * name);
    virtual CString FindPicMemE(long x1,long y1,long x2,long y2,const TCHAR * pic_info,const TCHAR * delta_color,double sim,long dir);
    virtual long IsSurrpotVt();
    virtual long SetMemoryFindResultToFile(const TCHAR * file_name);
    virtual long DelEnv(long index,const TCHAR * name);
    virtual long EnableFakeActive(long en);
    virtual long SetClientSize(long hwnd,long width,long height);
    virtual long DownloadFile(const TCHAR * url,const TCHAR * save_file,long timeout);
    virtual long SendCommand(const TCHAR * cmd);
    virtual long ForceUnBindWindow(long hwnd);
    virtual long FoobarLock(long hwnd);
    virtual long VirtualFreeEx(long hwnd,LONGLONG addr);
    virtual CString ReadData(long hwnd,const TCHAR * addr,long length);
    virtual LONGLONG ReadInt(long hwnd,const TCHAR * addr,long tpe);
    virtual long ExitOs(long tpe);
    virtual long FindMulColor(long x1,long y1,long x2,long y2,const TCHAR * color,double sim);
    virtual CString EnumIniSectionPwd(const TCHAR * file_name,const TCHAR * pwd);
    virtual long WriteData(long hwnd,const TCHAR * addr,const TCHAR * data);
    virtual long Int64ToInt32(LONGLONG v);
    virtual long MoveFile(const TCHAR * src_file,const TCHAR * dst_file);
    virtual long SetPicPwd(const TCHAR * pwd);
    virtual long SetMemoryHwndAsProcessId(long en);
    virtual CString AppendPicAddr(const TCHAR * pic_info,long addr,long size);
    virtual long ReadDataAddrToBin(long hwnd,LONGLONG addr,long length);
    virtual long SetDict(long index,const TCHAR * dict_name);
    virtual long CmpColor(long x,long y,const TCHAR * color,double sim);
    virtual long SetKeypadDelay(const TCHAR * tpe,long delay);
    virtual long GetClientSize(long hwnd,long * width,long * height);
    virtual long LeftDown();
    virtual CString GetNetTimeByIp(const TCHAR * ip);
    virtual long SendString(long hwnd,const TCHAR * str);
    virtual long AddDict(long index,const TCHAR * dict_info);
    virtual long SpeedNormalGraphic(long en);
    virtual CString Ocr(long x1,long y1,long x2,long y2,const TCHAR * color,double sim);
    virtual long GetColorNum(long x1,long y1,long x2,long y2,const TCHAR * color,double sim);
    virtual long BindWindowEx(long hwnd,const TCHAR * display,const TCHAR * mouse,const TCHAR * keypad,const TCHAR * public_desc,long mode);
    virtual CString GetColorBGR(long x,long y);
    virtual long RunApp(const TCHAR * path,long mode);
    virtual long DeleteFolder(const TCHAR * folder_name);
    virtual double ReadDoubleAddr(long hwnd,LONGLONG addr);
    virtual long CapturePng(long x1,long y1,long x2,long y2,const TCHAR * file_name);
    virtual long KeyUpChar(const TCHAR * key_str);
    virtual CString EnumWindowSuper(const TCHAR * spec1,long flag1,long type1,const TCHAR * spec2,long flag2,long type2,long sort);
    virtual long FindMultiColor(long x1,long y1,long x2,long y2,const TCHAR * first_color,const TCHAR * offset_color,double sim,long dir,long * x,long * y);
    virtual CString GetDisplayInfo();
    virtual long KeyDownChar(const TCHAR * key_str);
    virtual long MoveTo(long x,long y);
    virtual long FoobarTextLineGap(long hwnd,long gap);
    virtual long LoadPic(const TCHAR * pic_name);
    virtual CString OcrInFile(long x1,long y1,long x2,long y2,const TCHAR * pic_name,const TCHAR * color,double sim);
    virtual CString FindInt(long hwnd,const TCHAR * addr_range,LONGLONG int_value_min,LONGLONG int_value_max,long tpe);
    virtual long GetResultPos(const TCHAR * str,long index,long * x,long * y);
    virtual long SetExcludeRegion(long tpe,const TCHAR * info);
    virtual double ReadDouble(long hwnd,const TCHAR * addr);
    virtual long SaveDict(long index,const TCHAR * file_name);
    virtual long InitCri();
    virtual CString FindMultiColorE(long x1,long y1,long x2,long y2,const TCHAR * first_color,const TCHAR * offset_color,double sim,long dir);
    virtual long DisableCloseDisplayAndSleep();
    virtual CString StringToData(const TCHAR * string_value,long tpe);
    virtual long EncodeFile(const TCHAR * file_name,const TCHAR * pwd);
    virtual long StrStr(const TCHAR * s,const TCHAR * str);
    virtual CString GetMachineCodeNoMac();
    virtual long WriteDataAddrFromBin(long hwnd,LONGLONG addr,long data,long length);
    virtual long GetWindow(long hwnd,long flag);
    virtual long CaptureGif(long x1,long y1,long x2,long y2,const TCHAR * file_name,long delay,long time);
    virtual long WriteDouble(long hwnd,const TCHAR * addr,double v);
    virtual long GetFps();
    virtual long KeyUp(long vk);
    virtual long SetSimMode(long mode);
    virtual long EnterCri();
    virtual long EnableFindPicMultithread(long en);
    virtual long UnLoadDriver();
    virtual long Log(const TCHAR * info);
    virtual long FindPic(long x1,long y1,long x2,long y2,const TCHAR * pic_name,const TCHAR * delta_color,double sim,long dir,long * x,long * y);
    virtual CString FindPicMemEx(long x1,long y1,long x2,long y2,const TCHAR * pic_info,const TCHAR * delta_color,double sim,long dir);
    virtual long GetModuleSize(long hwnd,const TCHAR * module_name);
    virtual long GetTime();
    virtual long IsFileExist(const TCHAR * file_name);
    virtual long FaqPost(const TCHAR * server,long handle,long request_type,long time_out);
    virtual CString GetMac();
    virtual long MoveR(long rx,long ry);
    virtual long AsmClear();
    virtual long AsmAdd(const TCHAR * asm_ins);
    virtual CString GetPicSize(const TCHAR * pic_name);
    virtual CString FindShapeEx(long x1,long y1,long x2,long y2,const TCHAR * offset_color,double sim,long dir);
    virtual long AsmSetTimeout(long time_out,long param);
    virtual long GetSpecialWindow(long flag);
    virtual long GetScreenDataBmp(long x1,long y1,long x2,long y2,long * data,long * size);
    virtual long WriteDoubleAddr(long hwnd,LONGLONG addr,double v);
    virtual CString FindStrWithFontE(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim,const TCHAR * font_name,long font_size,long flag);
    virtual long DmGuard(long en,const TCHAR * tpe);
    virtual long SetPath(const TCHAR * path);
    virtual long FindInputMethod(const TCHAR * id);
    virtual long RegEx(const TCHAR * code,const TCHAR * Ver,const TCHAR * ip);
    virtual long FoobarDrawText(long hwnd,long x,long y,long w,long h,const TCHAR * text,const TCHAR * color,long align);
    virtual long FoobarFillRect(long hwnd,long x1,long y1,long x2,long y2,const TCHAR * color);
    virtual long LockInput(long locks);
    virtual long FaqRelease(long handle);
    virtual CString ReadStringAddr(long hwnd,LONGLONG addr,long tpe,long length);
    virtual long EnableSpeedDx(long en);
    virtual long DownCpu(long rate);
    virtual long FoobarUpdate(long hwnd);
    virtual long FoobarStopGif(long hwnd,long x,long y,const TCHAR * pic_name);
    virtual CString EnumIniSection(const TCHAR * file_name);
    virtual CString Hex32(long v);
    virtual long RegExNoMac(const TCHAR * code,const TCHAR * Ver,const TCHAR * ip);
    virtual LONGLONG AsmCall(long hwnd,long mode);
    virtual long IsBind(long hwnd);
    virtual long FindShape(long x1,long y1,long x2,long y2,const TCHAR * offset_color,double sim,long dir,long * x,long * y);
    virtual long ReleaseRef();
    virtual long FoobarTextPrintDir(long hwnd,long dir);
    virtual CString RGB2BGR(const TCHAR * rgb_color);
    virtual CString MatchPicName(const TCHAR * pic_name);
    virtual long CreateFolder(const TCHAR * folder_name);
    virtual CString GetCommandLine(long hwnd);
    virtual CString FaqFetch();
    virtual long SendString2(long hwnd,const TCHAR * str);
    virtual long IsDisplayDead(long x1,long y1,long x2,long y2,long t);
    virtual long SetDisplayDelay(long t);
    virtual long CopyFile(const TCHAR * src_file,const TCHAR * dst_file,long over);
    virtual long GetForegroundWindow();
    virtual long FindPicMem(long x1,long y1,long x2,long y2,const TCHAR * pic_info,const TCHAR * delta_color,double sim,long dir,long * x,long * y);
    virtual long FaqGetSize(long handle);
    virtual CString SelectDirectory();
    virtual long EnableMouseMsg(long en);
    virtual long GetWordResultCount(const TCHAR * str);
    virtual long SwitchBindWindow(long hwnd);
    virtual long GetCpuType();
    virtual long WriteDataFromBin(long hwnd,const TCHAR * addr,long data,long length);
    virtual long FoobarSetFont(long hwnd,const TCHAR * font_name,long size,long flag);
    virtual long SetWordLineHeightNoDict(long line_height);
    virtual CString Hex64(LONGLONG v);
    virtual long ShowScrMsg(long x1,long y1,long x2,long y2,const TCHAR * msg,const TCHAR * color);
    virtual long DeleteIniPwd(const TCHAR * section,const TCHAR * key,const TCHAR * file_name,const TCHAR * pwd);
    virtual CString FindColorEx(long x1,long y1,long x2,long y2,const TCHAR * color,double sim,long dir);
    virtual long SetLocale();
    virtual CString FindStrExS(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim);
    virtual CString ReadDataAddr(long hwnd,LONGLONG addr,long length);
    virtual CString GetPath();
    virtual long GetScreenHeight();
    virtual long SetClipboard(const TCHAR * data);
    virtual CString EnumWindowByProcess(const TCHAR * process_name,const TCHAR * title,const TCHAR * class_name,long filter);
    virtual long FindWindow(const TCHAR * class_name,const TCHAR * title_name);
    virtual long Capture(long x1,long y1,long x2,long y2,const TCHAR * file_name);
    virtual CString FindStrE(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim);
    virtual long CreateFoobarRect(long hwnd,long x,long y,long w,long h);
    virtual long SetWordLineHeight(long line_height);
    virtual CString FindStrFastS(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim,long * x,long * y);
    virtual long KeyPress(long vk);
    virtual long MiddleUp();
    virtual LONGLONG ReadIntAddr(long hwnd,LONGLONG addr,long tpe);
    virtual long IsFolderExist(const TCHAR * folder);
    virtual long SetScreen(long width,long height,long depth);
    virtual long GetWordResultPos(const TCHAR * str,long index,long * x,long * y);
    virtual long ReadDataToBin(long hwnd,const TCHAR * addr,long length);
    virtual long FindWindowSuper(const TCHAR * spec1,long flag1,long type1,const TCHAR * spec2,long flag2,long type2);
    virtual long GetScreenWidth();
    virtual long GetLocale();
    virtual long FoobarUnlock(long hwnd);
    virtual long FindWindowEx(long parent,const TCHAR * class_name,const TCHAR * title_name);
    virtual long CheckFontSmooth();
    virtual CString GetDiskSerial(long index);
    virtual long EnableGetColorByCapture(long en);
    virtual long LockDisplay(long locks);
    virtual long MoveWindow(long hwnd,long x,long y);
    virtual long SetWindowText(long hwnd,const TCHAR * text);
    virtual long WriteDataAddr(long hwnd,LONGLONG addr,const TCHAR * data);
    virtual long GetResultCount(const TCHAR * str);
    virtual CString GetWords(long x1,long y1,long x2,long y2,const TCHAR * color,double sim);
    virtual long TerminateProcess(long pid);
    virtual long FreeProcessMemory(long hwnd);
    virtual long WriteFloat(long hwnd,const TCHAR * addr,float v);
    virtual CString GetWindowProcessPath(long hwnd);
    virtual long FreeScreenData(long handle);
    virtual CString GetAveHSV(long x1,long y1,long x2,long y2);
    virtual long FoobarDrawPic(long hwnd,long x,long y,const TCHAR * pic,const TCHAR * trans_color);
    virtual long EnableIme(long en);
    virtual CString VirtualQueryEx(long hwnd,LONGLONG addr,long pmbi);
    virtual long EnableRealMouse(long en,long mousedelay,long mousestep);
    virtual CString DoubleToData(double double_value);
    virtual long FoobarPrintText(long hwnd,const TCHAR * text,const TCHAR * color);
    virtual long EnableKeypadPatch(long en);
    virtual long KeyPressStr(const TCHAR * key_str,long delay);
    virtual long BindWindow(long hwnd,const TCHAR * display,const TCHAR * mouse,const TCHAR * keypad,long mode);
    virtual long DecodeFile(const TCHAR * file_name,const TCHAR * pwd);
    virtual CString FindDataEx(long hwnd,const TCHAR * addr_range,const TCHAR * data,long steps,long multi_thread,long mode);
    virtual CString FloatToData(float float_value);
    virtual CString GetClipboard();
    virtual CString FindDouble(long hwnd,const TCHAR * addr_range,double double_value_min,double double_value_max);
    virtual CString FindColorBlockEx(long x1,long y1,long x2,long y2,const TCHAR * color,double sim,long count,long width,long height);
    virtual long SetAero(long en);
    virtual long OpenProcess(long pid);
    virtual long MiddleDown();
    virtual CString FindPicS(long x1,long y1,long x2,long y2,const TCHAR * pic_name,const TCHAR * delta_color,double sim,long dir,long * x,long * y);
    virtual CString GetCursorShapeEx(long tpe);
    virtual long MiddleClick();
    virtual CString FindStrEx(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim);
    virtual CString FindFloat(long hwnd,const TCHAR * addr_range,float float_value_min,float float_value_max);
    virtual long WriteIntAddr(long hwnd,LONGLONG addr,long tpe,LONGLONG v);
    virtual long DisableFontSmooth();
    virtual long UseDict(long index);
    virtual long FindStrWithFont(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim,const TCHAR * font_name,long font_size,long flag,long * x,long * y);
    virtual long SendStringIme(const TCHAR * str);
    virtual long FoobarSetSave(long hwnd,const TCHAR * file_name,long en,const TCHAR * header);
    virtual CString ReadIni(const TCHAR * section,const TCHAR * key,const TCHAR * file_name);
    virtual long GetFileLength(const TCHAR * file_name);
    virtual long FaqIsPosted();
    virtual CString GetWindowClass(long hwnd);
    virtual long DeleteFile(const TCHAR * file_name);
    virtual CString GetProcessInfo(long pid);
    virtual CString Md5(const TCHAR * str);
    virtual CString IntToData(LONGLONG int_value,long tpe);
    virtual long RegNoMac(const TCHAR * code,const TCHAR * Ver);
    virtual long EnableFontSmooth();
    virtual long SetMinColGap(long col_gap);
    virtual CString EnumIniKeyPwd(const TCHAR * section,const TCHAR * file_name,const TCHAR * pwd);
    virtual CString OcrEx(long x1,long y1,long x2,long y2,const TCHAR * color,double sim);
    virtual CString FindStrFastEx(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim);
    virtual float ReadFloatAddr(long hwnd,LONGLONG addr);
    virtual long SetMouseDelay(const TCHAR * tpe,long delay);
    virtual long CaptureJpg(long x1,long y1,long x2,long y2,const TCHAR * file_name,long quality);
    virtual long RightClick();
    virtual long SetExactOcr(long exact_ocr);
    virtual CString FaqSend(const TCHAR * server,long handle,long request_type,long time_out);
    virtual long UnBindWindow();
    virtual long LockMouseRect(long x1,long y1,long x2,long y2);
    virtual long EnableMouseSync(long en,long time_out);
    virtual CString Assemble(LONGLONG base_addr,long is_64bit);
    virtual long GetWindowState(long hwnd,long flag);
    virtual long LeftDoubleClick();
    virtual CString FindStrWithFontEx(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim,const TCHAR * font_name,long font_size,long flag);
    virtual CString FindPicEx(long x1,long y1,long x2,long y2,const TCHAR * pic_name,const TCHAR * delta_color,double sim,long dir);
    virtual long CreateFoobarRoundRect(long hwnd,long x,long y,long w,long h,long rw,long rh);
    virtual long ClearDict(long index);
    virtual long FindWindowByProcessId(long process_id,const TCHAR * class_name,const TCHAR * title_name);
    virtual long CheckInputMethod(long hwnd,const TCHAR * id);
    virtual long FindStrFast(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim,long * x,long * y);
    virtual long SetDictPwd(const TCHAR * pwd);
    virtual CString FindStrS(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim,long * x,long * y);
    virtual long GetOsType();
    virtual long MoveDD(long dx,long dy);
    virtual long EnableKeypadSync(long en,long time_out);
    virtual long CapturePre(const TCHAR * file_name);
    virtual CString EnumIniKey(const TCHAR * section,const TCHAR * file_name);
    virtual long FaqCaptureFromFile(long x1,long y1,long x2,long y2,const TCHAR * file_name,long quality);
    virtual CString FindPicE(long x1,long y1,long x2,long y2,const TCHAR * pic_name,const TCHAR * delta_color,double sim,long dir);
    virtual CString BGR2RGB(const TCHAR * bgr_color);
    virtual long SetDictMem(long index,long addr,long size);
    virtual long GetKeyState(long vk);
    virtual long FindColor(long x1,long y1,long x2,long y2,const TCHAR * color,double sim,long dir,long * x,long * y);
    virtual long FoobarSetTrans(long hwnd,long trans,const TCHAR * color,double sim);
    virtual CString FindColorE(long x1,long y1,long x2,long y2,const TCHAR * color,double sim,long dir);
    virtual long FaqCaptureString(const TCHAR * str);
    virtual long WriteInt(long hwnd,const TCHAR * addr,long tpe,LONGLONG v);
    virtual long CreateFoobarEllipse(long hwnd,long x,long y,long w,long h);
    virtual long Stop(long id);
    virtual CString GetNetTimeSafe();
    virtual long GetDPI();
    virtual long GetPointWindow(long x,long y);
    virtual LONGLONG VirtualAllocEx(long hwnd,LONGLONG addr,long size,long tpe);
    virtual long LoadPicByte(long addr,long size,const TCHAR * name);
    virtual long HackSpeed(double rate);
    virtual long GetCursorPos(long * x,long * y);
    virtual CString FindNearestPos(const TCHAR * all_pos,long tpe,long x,long y);
    virtual long ClientToScreen(long hwnd,long * x,long * y);
    virtual long DisablePowerSave();
    virtual CString FindData(long hwnd,const TCHAR * addr_range,const TCHAR * data);
    virtual long GetDmCount();
    virtual long SetWordGap(long word_gap);
    virtual CString GetDir(long tpe);
    virtual CString GetMachineCode();
    virtual CString GetDictInfo(const TCHAR * str,const TCHAR * font_name,long font_size,long flag);
    virtual CString GetCursorShape();
    virtual long EnableBind(long en);
    virtual long GetScreenData(long x1,long y1,long x2,long y2);
    virtual long SetEnv(long index,const TCHAR * name,const TCHAR * value);
    virtual long ActiveInputMethod(long hwnd,const TCHAR * id);
    virtual long SetShowErrorMsg(long show);
    virtual long RightDown();
    virtual CString GetAveRGB(long x1,long y1,long x2,long y2);
    virtual CString GetBasePath();
    virtual long GetMouseSpeed();
    virtual long GetForegroundFocus();
    virtual long SetWindowState(long hwnd,long flag);
    virtual long ShowTaskBarIcon(long hwnd,long is_show);
    virtual long RightUp();
    virtual CString GetWordResultStr(const TCHAR * str,long index);
    virtual long GetScreenDepth();
    virtual long WriteFile(const TCHAR * file_name,const TCHAR * content);
    virtual CString ReadString(long hwnd,const TCHAR * addr,long tpe,long length);
    virtual long SetParam64ToPointer();
    virtual long EnablePicCache(long en);
    virtual long FaqCapture(long x1,long y1,long x2,long y2,long quality,long delay,long time);
    virtual long WaitKey(long key_code,long time_out);
    virtual long SendStringIme2(long hwnd,const TCHAR * str,long mode);
    virtual CString FindShapeE(long x1,long y1,long x2,long y2,const TCHAR * offset_color,double sim,long dir);
    virtual long FindColorBlock(long x1,long y1,long x2,long y2,const TCHAR * color,double sim,long count,long width,long height,long * x,long * y);
    virtual long FoobarStartGif(long hwnd,long x,long y,const TCHAR * pic_name,long repeat_limit,long delay);
    virtual long Beep(long fre,long delay);
    virtual long CreateFoobarCustom(long hwnd,long x,long y,const TCHAR * pic,const TCHAR * trans_color,double sim);
    virtual long LeaveCri();
    virtual long FaqCancel();
    virtual long SetUAC(long uac);
    virtual long SetWindowTransparent(long hwnd,long v);
    virtual long FoobarTextRect(long hwnd,long x,long y,long w,long h);
    virtual long Is64Bit();
    virtual long WriteStringAddr(long hwnd,LONGLONG addr,long tpe,const TCHAR * v);
    virtual long WriteString(long hwnd,const TCHAR * addr,long tpe,const TCHAR * v);
    virtual long SetMouseSpeed(long speed);
    virtual long GetClientRect(long hwnd,long * x1,long * y1,long * x2,long * y2);
    virtual CString DmGuardParams(const TCHAR * cmd,const TCHAR * sub_cmd,const TCHAR * param);
    virtual long GetMemoryUsage();
    virtual CString FindString(long hwnd,const TCHAR * addr_range,const TCHAR * string_value,long tpe);
    virtual CString GetCursorSpot();
    virtual LONGLONG AsmCallEx(long hwnd,long mode,const TCHAR * base_addr);
    virtual long FindWindowByProcess(const TCHAR * process_name,const TCHAR * class_name,const TCHAR * title_name);
    virtual long FreePic(const TCHAR * pic_name);
    virtual long EnableDisplayDebug(long enable_debug);
    virtual long Play(const TCHAR * file_name);
    virtual long WheelDown();
    virtual long DisableScreenSave();
    virtual long SetWordGapNoDict(long word_gap);
    virtual long GetID();
    virtual CString ExecuteCmd(const TCHAR * cmd,const TCHAR * current_dir,long time_out);
    virtual CString GetRealPath(const TCHAR * path);
    virtual long GetDictCount(long index);
    virtual CString FindPicExS(long x1,long y1,long x2,long y2,const TCHAR * pic_name,const TCHAR * delta_color,double sim,long dir);
    virtual CString ExcludePos(const TCHAR * all_pos,long tpe,long x1,long y1,long x2,long y2);
    virtual long FindStr(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim,long * x,long * y);
    virtual CString GetNetTime();
    virtual CString ReadFile(const TCHAR * file_name);
    virtual CString FindFloatEx(long hwnd,const TCHAR * addr_range,float float_value_min,float float_value_max,long steps,long multi_thread,long mode);
    virtual float ReadFloat(long hwnd,const TCHAR * addr);
    virtual long GetBindWindow();
    virtual long EnableShareDict(long en);
    virtual long EnableKeypadMsg(long en);
    virtual long EnableRealKeypad(long en);
    virtual CString SelectFile();
    virtual CString EnumWindowByProcessId(long pid,const TCHAR * title,const TCHAR * class_name,long filter);
    virtual long EnableMouseAccuracy(long en);
    virtual long SendPaste(long hwnd);
    virtual CString FindIntEx(long hwnd,const TCHAR * addr_range,LONGLONG int_value_min,LONGLONG int_value_max,long tpe,long steps,long multi_thread,long mode);
    virtual long CheckUAC();
    virtual LONGLONG GetRemoteApiAddress(long hwnd,LONGLONG base_addr,const TCHAR * fun_name);
    virtual CString GetColor(long x,long y);
    virtual long KeyDown(long vk);
    virtual CString EnumWindow(long parent,const TCHAR * title,const TCHAR * class_name,long filter);
    virtual long WheelUp();
    virtual long ImageToBmp(const TCHAR * pic_name,const TCHAR * bmp_name);
    virtual long LeftClick();
    virtual LONGLONG GetModuleBaseAddr(long hwnd,const TCHAR * module_name);
    virtual CString EnumProcess(const TCHAR * name);
    virtual CString ReadFileData(const TCHAR * file_name,long start_pos,long end_pos);
    virtual long SetDisplayInput(const TCHAR * mode);
    virtual CString FindStrFastE(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim);
    virtual CString GetDiskModel(long index);
    virtual long GetNowDict();
    virtual CString DisAssemble(const TCHAR * asm_code,LONGLONG base_addr,long is_64bit);
    virtual long SetDisplayAcceler(long level);
    virtual long delay(long mis);
    virtual long WriteFloatAddr(long hwnd,LONGLONG addr,float v);
    virtual long FoobarClose(long hwnd);
    virtual long GetOsBuildNumber();
    virtual CString GetColorHSV(long x,long y);
    virtual long ScreenToClient(long hwnd,long * x,long * y);
    virtual long SetExitThread(long en);
    virtual long VirtualProtectEx(long hwnd,LONGLONG addr,long size,long tpe,long old_protect);
    virtual long SetColGapNoDict(long col_gap);
    virtual CString OcrExOne(long x1,long y1,long x2,long y2,const TCHAR * color,double sim);
    virtual long GetWindowProcessId(long hwnd);
    virtual CString ReadIniPwd(const TCHAR * section,const TCHAR * key,const TCHAR * file_name,const TCHAR * pwd);
    virtual long GetCpuUsage();
    virtual long FoobarDrawLine(long hwnd,long x1,long y1,long x2,long y2,const TCHAR * color,long style,long width);
    virtual CString GetDict(long index,long font_index);
    virtual CString Ver();
    virtual long DeleteIni(const TCHAR * section,const TCHAR * key,const TCHAR * file_name);
    virtual long GetWindowRect(long hwnd,long * x1,long * y1,long * x2,long * y2);
    virtual long Reg(const TCHAR * code,const TCHAR * Ver);
    virtual long FoobarClearText(long hwnd);
    virtual CString MoveToEx(long x,long y,long w,long h);
    virtual CString SortPosDistance(const TCHAR * all_pos,long tpe,long x,long y);
    virtual long WriteIniPwd(const TCHAR * section,const TCHAR * key,const TCHAR * v,const TCHAR * file_name,const TCHAR * pwd);
    virtual long GetMousePointWindow();
    virtual long SetWindowSize(long hwnd,long width,long height);
    virtual long SetDisplayRefreshDelay(long t);
    virtual CString GetWordsNoDict(long x1,long y1,long x2,long y2,const TCHAR * color);
    virtual long SetMinRowGap(long row_gap);
    virtual long SetEnumWindowDelay(long delay);
    virtual long KeyPressChar(const TCHAR * key_str);
    virtual CString FindStringEx(long hwnd,const TCHAR * addr_range,const TCHAR * string_value,long tpe,long steps,long multi_thread,long mode);
    virtual CString FindStrFastExS(long x1,long y1,long x2,long y2,const TCHAR * str,const TCHAR * color,double sim);
    virtual long WriteIni(const TCHAR * section,const TCHAR * key,const TCHAR * v,const TCHAR * file_name);
    virtual long GetLastError();
};

#endif
