TSPlug.idl 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. // TSPlug.idl : TSPlug 的 IDL 源
  2. //
  3. // 此文件将由 MIDL 工具处理以
  4. // 产生类型库(TSPlug.tlb)和封送处理代码。
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(F3E95C10-606A-474E-BB4A-B9CCBF7DB559),
  10. dual,
  11. nonextensible,
  12. helpstring("ITSPlugInterFace 接口"),
  13. pointer_default(unique)
  14. ]
  15. interface ITSPlugInterFace : IDispatch{
  16. [id(1), helpstring("方法BindWindow")] HRESULT BindWindow([in] LONG hwnd, [in] BSTR display, [in] BSTR mouse, [in] BSTR keypad, [in] LONG mode, [out,retval] LONG* nret);
  17. [id(2), helpstring("方法BindWindowEx")] HRESULT BindWindowEx([in] LONG hwnd, [in] BSTR display, [in] BSTR mouse, [in] BSTR keypad, [in] BSTR publics, [in] LONG mode, [out,retval] LONG* nret);
  18. [id(3), helpstring("方法UnBindWindow")] HRESULT UnBindWindow([out,retval] LONG* nret);
  19. [id(4), helpstring("方法KeyDown")] HRESULT KeyDown([in] LONG vk_code, [out,retval] LONG* nret);
  20. [id(5), helpstring("方法KeyUp")] HRESULT KeyUp([in] LONG vk_code, [out,retval] LONG* nret);
  21. [id(6), helpstring("方法KeyPress")] HRESULT KeyPress([in] LONG vk_code, [out,retval] LONG* nret);
  22. [id(7), helpstring("方法LeftDown")] HRESULT LeftDown([out,retval] LONG* nret);
  23. [id(8), helpstring("方法LeftUp")] HRESULT LeftUp([out,retval] LONG* nret);
  24. [id(9), helpstring("方法LeftClick")] HRESULT LeftClick([out,retval] LONG* nret);
  25. [id(10), helpstring("方法MoveTo")] HRESULT MoveTo([in] LONG x, [in] LONG y, [out,retval] LONG* nret);
  26. [id(11), helpstring("方法FindPic")] HRESULT FindPic([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR pic_name, [in] BSTR delta_color, [in] DOUBLE sim, [in] LONG dir, [out]VARIANT* intX, [out] VARIANT* intY, [out,retval] LONG* nret);
  27. [id(12), helpstring("方法RightClick")] HRESULT RightClick([out,retval] LONG* nret);
  28. [id(13), helpstring("方法RightDown")] HRESULT RightDown([out,retval] LONG* nret);
  29. [id(16), helpstring("方法FindColor")] HRESULT FindColor([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR color, [in] DOUBLE sim, [in] LONG dir, [out] VARIANT* intX, [out] VARIANT* intY, [out,retval] LONG* nret);
  30. [id(17), helpstring("方法RightUp")] HRESULT RightUp([out,retval] LONG* nret);
  31. [id(18), helpstring("方法GetColor")] HRESULT GetColor([in] LONG x, [in] LONG y, [out,retval] BSTR* RetStrColor);
  32. [id(19), helpstring("方法GetCursorShape")] HRESULT GetCursorShape([out,retval] BSTR* RetCursorShape);
  33. [id(20), helpstring("方法SetPath")] HRESULT SetPath([in] BSTR path, [out,retval] LONG* nret);
  34. [id(21), helpstring("方法TSGuardProtect")] HRESULT TSGuardProtect([in] LONG enable, [in] BSTR type,[out,retval] LONG* nret);
  35. [id(22), helpstring("方法KeyPressStr")] HRESULT KeyPressStr([in] BSTR key_str, [in] LONG delay, [out,retval] LONG* nret);
  36. [id(23), helpstring("方法SendString")] HRESULT SendString([in] LONG hwnd, [in] BSTR str, [out,retval] LONG* nret);
  37. [id(24), helpstring("方法SendString2")] HRESULT SendString2([in] LONG hwnd, [in] BSTR str, [out,retval] LONG* nret);
  38. [id(25), helpstring("方法KeyPressChar")] HRESULT KeyPressChar([in] BSTR key_str, [out,retval] LONG* nret);
  39. [id(26), helpstring("方法KeyDownChar")] HRESULT KeyDownChar([in] BSTR key_str, [out,retval] LONG* nret);
  40. [id(27), helpstring("方法KeyUpChar")] HRESULT KeyUpChar([in] BSTR key_str, [out,retval] LONG* nret);
  41. [id(28), helpstring("方法GetCursorPos")] HRESULT GetCursorPos([out] VARIANT* x, [out] VARIANT* y, [out,retval] LONG* nret);
  42. [id(29), helpstring("方法MoveR")] HRESULT MoveR([in] LONG rx, [in] LONG ry, [out,retval] LONG* rnet);
  43. [id(30), helpstring("方法Ver")] HRESULT Ver([out,retval] BSTR* retver);
  44. [id(31), helpstring("方法GetPath")] HRESULT GetPath([out,retval] BSTR* retpath);
  45. [id(32), helpstring("方法MiddleClick")] HRESULT MiddleClick([out,retval] LONG* nret);
  46. [id(33), helpstring("方法WheelDown")] HRESULT WheelDown([out,retval] LONG* nret);
  47. [id(34), helpstring("方法WheelUp")] HRESULT WheelUp([out,retval] LONG* nret);
  48. [id(35), helpstring("方法Capture")] HRESULT Capture([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR file, [out,retval] LONG* nret);
  49. [id(36), helpstring("方法CaptureJpg")] HRESULT CaptureJpg([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2,[in] BSTR file, [out,retval] LONG* nret);
  50. [id(37), helpstring("方法CapturePng")] HRESULT CapturePng([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR file, [out,retval] LONG* nret);
  51. [id(38), helpstring("方法LockInput")] HRESULT LockInput([in] LONG lock, [out,retval] LONG* nret);
  52. [id(39), helpstring("方法Ocr")] HRESULT Ocr([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR color_format, [in] FLOAT sim, [out,retval] BSTR* retstr);
  53. [id(40), helpstring("方法SetDict")] HRESULT SetDict([in] LONG index, [in] BSTR file, [out,retval] LONG* nret);
  54. [id(41), helpstring("方法UseDict")] HRESULT UseDict([in] LONG index, [out,retval] LONG* nret);
  55. [id(42), helpstring("方法ClearDict")] HRESULT ClearDict([in] LONG index, [out,retval] LONG* nret);
  56. [id(43), helpstring("方法FindStr")] HRESULT FindStr([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR string, [in] BSTR color_format, [in] FLOAT sim, [out] VARIANT* intX, [out] VARIANT* intY, [out,retval] LONG* nret);
  57. [id(44), helpstring("方法FindStrFast")] HRESULT FindStrFast([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR string, [in] BSTR color_format, [in] FLOAT sim, [out] VARIANT* intX, [out] VARIANT* intY, [out,retval] LONG* nret);
  58. [id(45), helpstring("方法GetNowDict")] HRESULT GetNowDict([out,retval] LONG* nret);
  59. [id(46), helpstring("方法GetBasePath")] HRESULT GetBasePath([out,retval] BSTR* retpath);
  60. [id(47), helpstring("方法IsDisplayDead")] HRESULT IsDisplayDead([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] LONG t, [out,retval] LONG* bret);
  61. [id(48), helpstring("方法FindPicEx")] HRESULT FindPicEx([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR pic_name, [in] BSTR delta_color, [in] DOUBLE sim, [in] LONG dir, [out,retval] BSTR* retstring);
  62. [id(49), helpstring("方法FindStrEx")] HRESULT FindStrEx([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR string, [in] BSTR color_format, [in] DOUBLE sim, [out,retval] BSTR* retstring);
  63. [id(50), helpstring("方法FindStrFastEx")] HRESULT FindStrFastEx([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR string, [in] BSTR color_format, [in] DOUBLE sim, [out,retval] BSTR* retstring);
  64. [id(51), helpstring("方法CaptureGif")] HRESULT CaptureGif([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR file, [in] LONG delay, [in] LONG time, [out,retval] LONG* nret);
  65. [id(52), helpstring("方法DownCpu")] HRESULT DownCpu([in] LONG rate, [out,retval] LONG* nret);
  66. [id(53), helpstring("方法SetKeypadDelay")] HRESULT SetKeypadDelay([in] BSTR type, [in] LONG delay, [out,retval] LONG* nret);
  67. [id(54), helpstring("方法SetMouseDelay")] HRESULT SetMouseDelay([in] BSTR type, [in] LONG delay, [out,retval] LONG* nret);
  68. [id(55), helpstring("方法CmpColor")] HRESULT CmpColor([in] LONG x, [in] LONG y, [in] BSTR color, [in] DOUBLE sim, [out,retval] LONG* nret);
  69. [id(56), helpstring("方法SendStringIme")] HRESULT SendStringIme([in] BSTR str, [out,retval] LONG* nret);
  70. [id(57), helpstring("方法FindColorEx")] HRESULT FindColorEx([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR color, [in] DOUBLE sim, [in] LONG dir, [out,retval] BSTR* retstring);
  71. [id(58), helpstring("方法EnumWindow")] HRESULT EnumWindow([in] LONG parent, [in] BSTR title, [in] BSTR class_name, [in] LONG filter, [out,retval] BSTR* retstr);
  72. [id(59), helpstring("方法EnumWindowByProcess")] HRESULT EnumWindowByProcess([in] BSTR process_name, [in] BSTR title, [in] BSTR class_name, [in] LONG filter, [out,retval] BSTR* retstring);
  73. [id(60), helpstring("方法EnumProcess")] HRESULT EnumProcess([in] BSTR name, [out,retval] BSTR* retstring);
  74. [id(61), helpstring("方法ClientToScreen")] HRESULT ClientToScreen([in] LONG ClientToScreen, [in,out] VARIANT* x, [in,out] VARIANT* y, [out,retval] LONG* bret);
  75. [id(62), helpstring("方法FindWindow")] HRESULT FindWindow([in] BSTR class_name,[in] BSTR title, [out,retval] LONG* rethwnd);
  76. [id(63), helpstring("方法FindWindowByProcess")] HRESULT FindWindowByProcess([in] BSTR process_name, [in] BSTR class_name, [in] BSTR title, [out,retval] LONG* rethwnd);
  77. [id(64), helpstring("方法FindWindowByProcessId")] HRESULT FindWindowByProcessId([in] LONG process_id, [in] BSTR class_name, [in] BSTR title, [out,retval] LONG* rethwnd);
  78. [id(65), helpstring("方法FindWindowEx")] HRESULT FindWindowEx([in] LONG parent,[in] BSTR class_name,[in] BSTR title, [out,retval] LONG* rethwnd);
  79. [id(66), helpstring("方法GetClientRect")] HRESULT GetClientRect([in] LONG hwnd, [out] VARIANT* x1, [out] VARIANT* y1, [out] VARIANT* x2, [out] VARIANT* y2, [out,retval] LONG* nret);
  80. [id(67), helpstring("方法GetClientSize")] HRESULT GetClientSize([in] LONG hwnd, [out] VARIANT* width, [out] VARIANT* height, [out,retval] LONG* nret);
  81. [id(68), helpstring("方法GetForegroundFocus")] HRESULT GetForegroundFocus([out,retval] LONG* rethwnd);
  82. [id(69), helpstring("方法GetForegroundWindow")] HRESULT GetForegroundWindow([out,retval] LONG* rethwnd);
  83. [id(70), helpstring("方法GetMousePointWindow")] HRESULT GetMousePointWindow([out,retval] LONG* rethwnd);
  84. [id(71), helpstring("方法GetPointWindow")] HRESULT GetPointWindow([in] LONG x, [in] LONG y, [out,retval] LONG* rethwnd);
  85. [id(72), helpstring("方法GetProcessInfo")] HRESULT GetProcessInfo([in] LONG pid, [out,retval] BSTR* retstring);
  86. [id(73), helpstring("方法GetSpecialWindow")] HRESULT GetSpecialWindow([in] LONG flag, [out,retval] LONG* rethwnd);
  87. [id(74), helpstring("方法GetWindow")] HRESULT GetWindow([in] LONG hwnd, [in] LONG flag, [out,retval] LONG* nret);
  88. [id(75), helpstring("方法GetWindowClass")] HRESULT GetWindowClass([in] LONG hwnd, [out,retval] BSTR* retstring);
  89. [id(76), helpstring("方法GetWindowProcessId")] HRESULT GetWindowProcessId([in] LONG hwnd, [out,retval] LONG* nretpid);
  90. [id(77), helpstring("方法GetWindowProcessPath")] HRESULT GetWindowProcessPath([in] LONG hwnd, [out,retval] BSTR* retstring);
  91. [id(78), helpstring("方法GetWindowRect")] HRESULT GetWindowRect([in] LONG hwnd, [out] VARIANT* x1, [out] VARIANT* y1, [out] VARIANT* x2, [out] VARIANT* y2, [out,retval] LONG* nret);
  92. [id(79), helpstring("方法GetWindowState")] HRESULT GetWindowState([in] LONG hwnd, [in] LONG flag, [out,retval] LONG* rethwnd);
  93. [id(80), helpstring("方法GetWindowTitle")] HRESULT GetWindowTitle([in] LONG hwnd, [out,retval] BSTR* rettitle);
  94. [id(81), helpstring("方法MoveWindow")] HRESULT MoveWindow([in] LONG hwnd, [in] LONG x, [in] LONG y, [out,retval] LONG* nret);
  95. [id(82), helpstring("方法ScreenToClient")] HRESULT ScreenToClient([in] LONG hwnd, [out] VARIANT* x, [out] VARIANT* y,[out,retval] LONG* nret);
  96. [id(83), helpstring("方法SendPaste")] HRESULT SendPaste([in] LONG hwnd, [out,retval] LONG* nret);
  97. [id(84), helpstring("方法SetClientSize")] HRESULT SetClientSize([in] LONG hwnd, [in] LONG width, [in] LONG hight, [out,retval] LONG* nret);
  98. [id(85), helpstring("方法SetWindowState")] HRESULT SetWindowState([in] LONG hwnd, [in] LONG flag, [out,retval] LONG* nret);
  99. [id(86), helpstring("方法SetWindowSize")] HRESULT SetWindowSize([in] LONG hwnd, [in] LONG width, [in] LONG height, [out,retval] LONG* nret);
  100. [id(87), helpstring("方法SetWindowText")] HRESULT SetWindowText([in] LONG hwnd, [in] BSTR title, [out,retval] LONG* nret);
  101. [id(88), helpstring("方法SetWindowTransparent")] HRESULT SetWindowTransparent([in] LONG hwnd, [in] LONG trans, [out,retval] LONG* nret);
  102. [id(89), helpstring("方法SetClipboard")] HRESULT SetClipboard([in] BSTR value, [out,retval] LONG* nret);
  103. [id(90), helpstring("方法GetClipboard")] HRESULT GetClipboard([out,retval] BSTR* retstring);
  104. [id(91), helpstring("方法DoubleToData")] HRESULT DoubleToData([in] DOUBLE value, [out,retval] BSTR* retstring);
  105. [id(92), helpstring("方法FloatToData")] HRESULT FloatToData([in] FLOAT value, [out,retval] BSTR* retstring);
  106. [id(93), helpstring("方法IntToData")] HRESULT IntToData([in] LONG value, [in] LONG type, [out,retval] BSTR* retstring);
  107. [id(94), helpstring("方法StringToData")] HRESULT StringToData([in] BSTR value, [in] LONG type, [out,retval] BSTR* retstring);
  108. [id(95), helpstring("方法FindData")] HRESULT FindData([in] LONG hwnd, [in] BSTR addr_range, [in] BSTR data, [out,retval] BSTR* retstring);
  109. [id(96), helpstring("方法FindDouble")] HRESULT FindDouble([in] LONG hwnd, [in] BSTR addr_range, [in] DOUBLE double_value_min, [in] DOUBLE double_value_max, [out,retval] BSTR* retstring);
  110. [id(97), helpstring("方法FindFloat")] HRESULT FindFloat([in] LONG hwnd, [in] BSTR addr_range, [in] FLOAT float_value_min, [in] FLOAT float_value_max, [out,retval] BSTR* retstring);
  111. [id(98), helpstring("方法FindInt")] HRESULT FindInt([in] LONG hwnd, [in] BSTR addr_range, [in] LONG int_value_min, [in] LONG int_value_max, [in] LONG type, [out,retval] BSTR* retstring);
  112. [id(99), helpstring("方法FindString")] HRESULT FindString([in] LONG hwnd, [in] BSTR addr_range, [in] BSTR string_value, [in] LONG type, [out,retval] BSTR* retstring);
  113. [id(100), helpstring("方法ReadData")] HRESULT ReadData([in] LONG hwnd, [in] BSTR addr, [in] LONG len, [out,retval] BSTR* retstring);
  114. //[id(101), helpstring("方法GetModuleBaseAddr")] HRESULT GetModuleBaseAddr([in] LONG hwnd, [in] BSTR module, [out,retval] LONG* retmodeaddr);
  115. [id(101), helpstring("方法OcrEx")] HRESULT OcrEx([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR color_format, [in] DOUBLE sim, [out,retval] BSTR* retstring);
  116. [id(102), helpstring("方法ReadDouble")] HRESULT ReadDouble([in] LONG hwnd, [in] BSTR addr, [out,retval] DOUBLE* retdouble);
  117. [id(103), helpstring("方法ReadFloat")] HRESULT ReadFloat([in] LONG hwnd, [in] BSTR addr, [out,retval] FLOAT* retfloat);
  118. [id(104), helpstring("方法ReadInt")] HRESULT ReadInt([in] LONG hwnd, [in] BSTR addr, [in] LONG type, [out,retval] LONG* retint);
  119. [id(105), helpstring("方法ReadString")] HRESULT ReadString([in] LONG hwnd, [in] BSTR addr, [in] LONG type, [in] LONG len, [out,retval] BSTR* retstring);
  120. [id(106), helpstring("方法TerminateProcess")] HRESULT TerminateProcess([in] LONG pid, [out,retval] LONG* bret);
  121. [id(107), helpstring("方法VirtualAllocEx")] HRESULT VirtualAllocEx([in] LONG hwnd, [in] LONG addr, [in] LONG size, [in] LONG type, [out,retval] LONG* bret);
  122. [id(108), helpstring("方法VirtualFreeEx")] HRESULT VirtualFreeEx([in] LONG hwnd, [in] LONG addr, [out,retval] LONG* bret);
  123. [id(109), helpstring("方法WriteDouble")] HRESULT WriteDouble([in] LONG hwnd, [in] BSTR addr, [in] DOUBLE v, [out,retval] LONG* bret);
  124. [id(110), helpstring("方法WriteFloat")] HRESULT WriteFloat([in] LONG hwnd, [in] BSTR addr, [in] FLOAT v, [out,retval] LONG* bret);
  125. [id(111), helpstring("方法WriteInt")] HRESULT WriteInt([in] LONG hwnd, [in] BSTR addr, [in] LONG type, [in] LONG v, [out,retval] LONG* bret);
  126. [id(112), helpstring("方法WriteString")] HRESULT WriteString([in] LONG hwnd, [in] BSTR addr, [in] LONG type, [in] BSTR v, [out,retval] LONG* bret);
  127. [id(113), helpstring("方法WriteData")] HRESULT WriteData([in] LONG hwnd, [in] BSTR addr, [in] BSTR data, [out,retval] LONG* nret);
  128. [id(114), helpstring("方法IsBind")] HRESULT IsBind([in] LONG hwnd, [out,retval] LONG* nret);
  129. [id(115), helpstring("方法FindFloatEx")] HRESULT FindFloatEx([in] LONG hwnd, [in] BSTR addr_range, [in] FLOAT float_value_min, [in] FLOAT float_value_max, [in] LONG step, [in] LONG multi_thread, [in] LONG mode, [out,retval] BSTR* retstring);
  130. [id(116), helpstring("方法FindDoubleEx")] HRESULT FindDoubleEx([in] LONG hwnd, [in] BSTR addr_range, [in] DOUBLE double_value_min, [in] DOUBLE double_value_max, [in] LONG step, [in] LONG multi_thread, [in] LONG mode, [out,retval] BSTR* retstring);
  131. [id(117), helpstring("方法FindIntEx")] HRESULT FindIntEx([in] LONG hwnd, [in] BSTR addr_range, [in] LONG int_value_min, [in] LONG int_value_max, [in] LONG type, [in] LONG step, [in] LONG multi_thread, [in] LONG mode, [out,retval] BSTR* retstring);
  132. [id(118), helpstring("方法FindDataEx")] HRESULT FindDataEx([in] LONG hwnd, [in] BSTR addr_range, [in] BSTR data, [in] LONG step, [in] LONG multi_thread, [in] LONG mode, [out,retval] BSTR* retstring);
  133. [id(119), helpstring("方法FindStringEx")] HRESULT FindStringEx([in] LONG hwnd, [in] BSTR addr_range, [in] BSTR string_value, [in] LONG type, [in] LONG step, [in] LONG multi_thread, [in] LONG mode, [out,retval] BSTR* retstring);
  134. [id(120), helpstring("方法GetModuleBaseAddr")] HRESULT GetModuleBaseAddr([in] LONG hwnd, [in] BSTR modulename, [out,retval] LONG* nret);
  135. [id(121), helpstring("方法GetCommandLine")] HRESULT GetCommandLine([in] LONG hwnd, [out,retval] BSTR* retstring);
  136. //
  137. [id(122), helpstring("方法AsmAdd")] HRESULT AsmAdd([in] BSTR asm_ins, [out,retval] LONG* nret);
  138. [id(123), helpstring("方法AsmCall")] HRESULT AsmCall([in] LONG hwnd, [in] LONG mode, [out,retval] LONG* nret);
  139. [id(124), helpstring("方法AsmClear")] HRESULT AsmClear([out,retval] LONG* nret);
  140. [id(125), helpstring("方法AsmCode")] HRESULT AsmCode([in] LONG base_addr, [out,retval] BSTR* retstring);
  141. [id(126), helpstring("方法Assemble")] HRESULT Assemble([in] BSTR asm_code, [in] LONG base_addr, [in] LONG is_upper, [out,retval] BSTR* retstring);
  142. [id(127), helpstring("方法MatchPicName")] HRESULT MatchPicName([in] BSTR pic_name, [out,retval] BSTR* retstring);
  143. [id(128), helpstring("方法SetShowErrorMsg")] HRESULT SetShowErrorMsg([in] LONG show, [out,retval] LONG* nret);
  144. [id(129), helpstring("方法Reg")] HRESULT Reg([in] BSTR reg_code, [in] LONG type, [out,retval] LONG* nret);
  145. [id(130), helpstring("方法GetMachineCode")] HRESULT GetMachineCode([out,retval] BSTR* retstring);
  146. [id(131), helpstring("方法TSGuardProtectToHide")] HRESULT TSGuardProtectToHide([in] LONG enble, [out,retval] LONG* nret);
  147. [id(132), helpstring("方法TSGuardProtectToHide2")] HRESULT TSGuardProtectToHide2([in] LONG enable, [out,retval] LONG* nret);
  148. [id(133), helpstring("方法TSGuardProtectToNP")] HRESULT TSGuardProtectToNP([in] LONG enable, [out,retval] LONG* nret);
  149. [id(134), helpstring("方法Delay")] HRESULT Delay([in] LONG mis, [out,retval] LONG* nret);
  150. [id(135), helpstring("方法FindStrS")] HRESULT FindStrS([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR string, [in] BSTR color_format, [in] DOUBLE sim, [out] VARIANT* intX, [out] VARIANT* intY, [out,retval] BSTR* retstring);
  151. [id(136), helpstring("方法FindStrFastS")] HRESULT FindStrFastS([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR string, [in] BSTR color_format, [in] DOUBLE sim, [out] VARIANT* intX, [out] VARIANT* intY, [out,retval] BSTR* retstring);
  152. [id(137), helpstring("方法FindStrExS")] HRESULT FindStrExS([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR string, [in] BSTR color_format, [in] DOUBLE sim, [out,retval] BSTR* retstring);
  153. [id(138), helpstring("方法FindStrFastExS")] HRESULT FindStrFastExS([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR string, [in] BSTR color_format, [in] DOUBLE sim, [out,retval] BSTR* retstring);
  154. [id(139), helpstring("方法FindPicS")] HRESULT FindPicS([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR pic_name, [in] BSTR delta_color, [in] DOUBLE sim, [in] LONG dir, [out] VARIANT* intX, [out] VARIANT* intY, [out,retval] BSTR* retstring);
  155. [id(140), helpstring("方法FindPicExS")] HRESULT FindPicExS([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [in] BSTR pic_name, [in] BSTR delta_color, [in] DOUBLE sim, [in] LONG dir, [out,retval] BSTR* retstring);
  156. [id(141), helpstring("方法SetDictPwd")] HRESULT SetDictPwd([in] BSTR pwd, [out,retval] LONG* nret);
  157. [id(142), helpstring("方法SetPicPwd")] HRESULT SetPicPwd([in] BSTR pwd, [out,retval] LONG* nret);
  158. [id(143), helpstring("方法LeftDoubleClick")] HRESULT LeftDoubleClick([out,retval] LONG* nret);
  159. [id(144), helpstring("方法FreeProcessMemory")] HRESULT FreeProcessMemory([in] LONG hwnd, [out,retval] LONG* nret);
  160. [id(145), helpstring("方法TSDXGraphicProtect")] HRESULT TSDXGraphicProtect([in] LONG enable, [out,retval] LONG* nret);
  161. [id(146), helpstring("方法TSDXKmProtect")] HRESULT TSDXKmProtect([in] LONG enable, [in] BSTR type, [out,retval] LONG* nret);
  162. [id(147), helpstring("方法CheckFontSmooth")] HRESULT CheckFontSmooth([out,retval] LONG* nret);
  163. [id(148), helpstring("方法DisableFontSmooth")] HRESULT DisableFontSmooth([out,retval] LONG* nret);
  164. [id(149), helpstring("方法GetScreenData")] HRESULT GetScreenData([in] LONG x1, [in] LONG y1, [in] LONG x2, [in] LONG y2, [out,retval] LONG* RetAddr);
  165. [id(150), helpstring("方法EnableRealMouse")] HRESULT EnableRealMouse([in] ULONG enable, [in] ULONG mousedelay, [in] ULONG mousestep, [out,retval] ULONG* nret);
  166. [id(151), helpstring("方法EnableRealKeypad")] HRESULT EnableRealKeypad([in] ULONG enable, [out,retval] ULONG* nret);
  167. [id(152), helpstring("方法MoveToEx")] HRESULT MoveToEx([in] ULONG x, [in] ULONG y, [in] ULONG w, [in] ULONG h, [out,retval] BSTR* retstring);
  168. [id(153), helpstring("方法CheckUAC")] HRESULT CheckUAC([out,retval] ULONG* nret);
  169. [id(154), helpstring("方法SetUAC")] HRESULT SetUAC([in] ULONG enable,[out,retval] ULONG* nret);
  170. [id(155), helpstring("方法WaitKey")] HRESULT WaitKey([in] ULONG vk_code, [in] ULONG time_out, [out,retval] ULONG* nret);
  171. [id(156), helpstring("方法FindMultiColor")] HRESULT FindMultiColor([in] ULONG x1, [in] ULONG y1, [in] ULONG x2, [in] ULONG y2, [in] BSTR first_color, [in] BSTR offset_color, [in] DOUBLE sim, [in] ULONG dir, [out] VARIANT* intX, [out] VARIANT* intY, [out,retval] ULONG* nret);
  172. [id(157), helpstring("方法FindMultiColorEx")] HRESULT FindMultiColorEx([in] ULONG x1, [in] ULONG y1, [in] ULONG x2, [in] ULONG y2, [in] BSTR first_color, [in] BSTR offset_color, [in] DOUBLE sim, [in] ULONG dir, [out,retval] BSTR* retstring);
  173. [id(158), helpstring("方法SetSimMode")] HRESULT SetSimMode([in] ULONG mode, [out,retval] ULONG* nret);
  174. };
  175. [
  176. uuid(525CF7E5-DB36-491F-A91C-2DB86E67126D),
  177. version(1.0),
  178. helpstring("TSPlug 1.0 类型库")
  179. ]
  180. library TSPlugLib
  181. {
  182. importlib("stdole2.tlb");
  183. [
  184. uuid(BCE4A484-C3BC-418B-B1F6-69D6987C126B),
  185. helpstring("TSPlugInterFace Class")
  186. ]
  187. coclass TSPlugInterFace
  188. {
  189. [default] interface ITSPlugInterFace;
  190. };
  191. };