TSPlug_i.h 118 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177
  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 8.00.0595 */
  3. /* at Sun Sep 14 16:36:22 2014
  4. */
  5. /* Compiler settings for TSPlug.idl:
  6. Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0595
  7. protocol : dce , ms_ext, c_ext, robust
  8. error checks: allocation ref bounds_check enum stub_data
  9. VC __declspec() decoration level:
  10. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  11. DECLSPEC_UUID(), MIDL_INTERFACE()
  12. */
  13. /* @@MIDL_FILE_HEADING( ) */
  14. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  15. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  16. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  17. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  18. #endif
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21. #ifndef __RPCNDR_H_VERSION__
  22. #error this stub requires an updated version of <rpcndr.h>
  23. #endif // __RPCNDR_H_VERSION__
  24. #ifndef COM_NO_WINDOWS_H
  25. #include "windows.h"
  26. #include "ole2.h"
  27. #endif /*COM_NO_WINDOWS_H*/
  28. #ifndef __TSPlug_i_h__
  29. #define __TSPlug_i_h__
  30. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  31. #pragma once
  32. #endif
  33. /* Forward Declarations */
  34. #ifndef __ITSPlugInterFace_FWD_DEFINED__
  35. #define __ITSPlugInterFace_FWD_DEFINED__
  36. typedef interface ITSPlugInterFace ITSPlugInterFace;
  37. #endif /* __ITSPlugInterFace_FWD_DEFINED__ */
  38. #ifndef __TSPlugInterFace_FWD_DEFINED__
  39. #define __TSPlugInterFace_FWD_DEFINED__
  40. #ifdef __cplusplus
  41. typedef class TSPlugInterFace TSPlugInterFace;
  42. #else
  43. typedef struct TSPlugInterFace TSPlugInterFace;
  44. #endif /* __cplusplus */
  45. #endif /* __TSPlugInterFace_FWD_DEFINED__ */
  46. /* header files for imported files */
  47. #include "oaidl.h"
  48. #include "ocidl.h"
  49. #ifdef __cplusplus
  50. extern "C"{
  51. #endif
  52. #ifndef __ITSPlugInterFace_INTERFACE_DEFINED__
  53. #define __ITSPlugInterFace_INTERFACE_DEFINED__
  54. /* interface ITSPlugInterFace */
  55. /* [unique][helpstring][nonextensible][dual][uuid][object] */
  56. EXTERN_C const IID IID_ITSPlugInterFace;
  57. #if defined(__cplusplus) && !defined(CINTERFACE)
  58. MIDL_INTERFACE("F3E95C10-606A-474E-BB4A-B9CCBF7DB559")
  59. ITSPlugInterFace : public IDispatch
  60. {
  61. public:
  62. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BindWindow(
  63. /* [in] */ LONG hwnd,
  64. /* [in] */ BSTR display,
  65. /* [in] */ BSTR mouse,
  66. /* [in] */ BSTR keypad,
  67. /* [in] */ LONG mode,
  68. /* [retval][out] */ LONG *nret) = 0;
  69. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BindWindowEx(
  70. /* [in] */ LONG hwnd,
  71. /* [in] */ BSTR display,
  72. /* [in] */ BSTR mouse,
  73. /* [in] */ BSTR keypad,
  74. /* [in] */ BSTR publics,
  75. /* [in] */ LONG mode,
  76. /* [retval][out] */ LONG *nret) = 0;
  77. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnBindWindow(
  78. /* [retval][out] */ LONG *nret) = 0;
  79. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE KeyDown(
  80. /* [in] */ LONG vk_code,
  81. /* [retval][out] */ LONG *nret) = 0;
  82. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE KeyUp(
  83. /* [in] */ LONG vk_code,
  84. /* [retval][out] */ LONG *nret) = 0;
  85. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE KeyPress(
  86. /* [in] */ LONG vk_code,
  87. /* [retval][out] */ LONG *nret) = 0;
  88. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LeftDown(
  89. /* [retval][out] */ LONG *nret) = 0;
  90. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LeftUp(
  91. /* [retval][out] */ LONG *nret) = 0;
  92. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LeftClick(
  93. /* [retval][out] */ LONG *nret) = 0;
  94. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MoveTo(
  95. /* [in] */ LONG x,
  96. /* [in] */ LONG y,
  97. /* [retval][out] */ LONG *nret) = 0;
  98. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindPic(
  99. /* [in] */ LONG x1,
  100. /* [in] */ LONG y1,
  101. /* [in] */ LONG x2,
  102. /* [in] */ LONG y2,
  103. /* [in] */ BSTR pic_name,
  104. /* [in] */ BSTR delta_color,
  105. /* [in] */ DOUBLE sim,
  106. /* [in] */ LONG dir,
  107. /* [out] */ VARIANT *intX,
  108. /* [out] */ VARIANT *intY,
  109. /* [retval][out] */ LONG *nret) = 0;
  110. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RightClick(
  111. /* [retval][out] */ LONG *nret) = 0;
  112. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RightDown(
  113. /* [retval][out] */ LONG *nret) = 0;
  114. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindColor(
  115. /* [in] */ LONG x1,
  116. /* [in] */ LONG y1,
  117. /* [in] */ LONG x2,
  118. /* [in] */ LONG y2,
  119. /* [in] */ BSTR color,
  120. /* [in] */ DOUBLE sim,
  121. /* [in] */ LONG dir,
  122. /* [out] */ VARIANT *intX,
  123. /* [out] */ VARIANT *intY,
  124. /* [retval][out] */ LONG *nret) = 0;
  125. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RightUp(
  126. /* [retval][out] */ LONG *nret) = 0;
  127. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetColor(
  128. /* [in] */ LONG x,
  129. /* [in] */ LONG y,
  130. /* [retval][out] */ BSTR *RetStrColor) = 0;
  131. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCursorShape(
  132. /* [retval][out] */ BSTR *RetCursorShape) = 0;
  133. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetPath(
  134. /* [in] */ BSTR path,
  135. /* [retval][out] */ LONG *nret) = 0;
  136. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TSGuardProtect(
  137. /* [in] */ LONG enable,
  138. /* [in] */ BSTR type,
  139. /* [retval][out] */ LONG *nret) = 0;
  140. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE KeyPressStr(
  141. /* [in] */ BSTR key_str,
  142. /* [in] */ LONG delay,
  143. /* [retval][out] */ LONG *nret) = 0;
  144. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SendString(
  145. /* [in] */ LONG hwnd,
  146. /* [in] */ BSTR str,
  147. /* [retval][out] */ LONG *nret) = 0;
  148. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SendString2(
  149. /* [in] */ LONG hwnd,
  150. /* [in] */ BSTR str,
  151. /* [retval][out] */ LONG *nret) = 0;
  152. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE KeyPressChar(
  153. /* [in] */ BSTR key_str,
  154. /* [retval][out] */ LONG *nret) = 0;
  155. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE KeyDownChar(
  156. /* [in] */ BSTR key_str,
  157. /* [retval][out] */ LONG *nret) = 0;
  158. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE KeyUpChar(
  159. /* [in] */ BSTR key_str,
  160. /* [retval][out] */ LONG *nret) = 0;
  161. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCursorPos(
  162. /* [out] */ VARIANT *x,
  163. /* [out] */ VARIANT *y,
  164. /* [retval][out] */ LONG *nret) = 0;
  165. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MoveR(
  166. /* [in] */ LONG rx,
  167. /* [in] */ LONG ry,
  168. /* [retval][out] */ LONG *rnet) = 0;
  169. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ver(
  170. /* [retval][out] */ BSTR *retver) = 0;
  171. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPath(
  172. /* [retval][out] */ BSTR *retpath) = 0;
  173. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MiddleClick(
  174. /* [retval][out] */ LONG *nret) = 0;
  175. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WheelDown(
  176. /* [retval][out] */ LONG *nret) = 0;
  177. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WheelUp(
  178. /* [retval][out] */ LONG *nret) = 0;
  179. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Capture(
  180. /* [in] */ LONG x1,
  181. /* [in] */ LONG y1,
  182. /* [in] */ LONG x2,
  183. /* [in] */ LONG y2,
  184. /* [in] */ BSTR file,
  185. /* [retval][out] */ LONG *nret) = 0;
  186. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CaptureJpg(
  187. /* [in] */ LONG x1,
  188. /* [in] */ LONG y1,
  189. /* [in] */ LONG x2,
  190. /* [in] */ LONG y2,
  191. /* [in] */ BSTR file,
  192. /* [retval][out] */ LONG *nret) = 0;
  193. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CapturePng(
  194. /* [in] */ LONG x1,
  195. /* [in] */ LONG y1,
  196. /* [in] */ LONG x2,
  197. /* [in] */ LONG y2,
  198. /* [in] */ BSTR file,
  199. /* [retval][out] */ LONG *nret) = 0;
  200. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LockInput(
  201. /* [in] */ LONG lock,
  202. /* [retval][out] */ LONG *nret) = 0;
  203. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ocr(
  204. /* [in] */ LONG x1,
  205. /* [in] */ LONG y1,
  206. /* [in] */ LONG x2,
  207. /* [in] */ LONG y2,
  208. /* [in] */ BSTR color_format,
  209. /* [in] */ FLOAT sim,
  210. /* [retval][out] */ BSTR *retstr) = 0;
  211. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetDict(
  212. /* [in] */ LONG index,
  213. /* [in] */ BSTR file,
  214. /* [retval][out] */ LONG *nret) = 0;
  215. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UseDict(
  216. /* [in] */ LONG index,
  217. /* [retval][out] */ LONG *nret) = 0;
  218. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ClearDict(
  219. /* [in] */ LONG index,
  220. /* [retval][out] */ LONG *nret) = 0;
  221. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindStr(
  222. /* [in] */ LONG x1,
  223. /* [in] */ LONG y1,
  224. /* [in] */ LONG x2,
  225. /* [in] */ LONG y2,
  226. /* [in] */ BSTR string,
  227. /* [in] */ BSTR color_format,
  228. /* [in] */ FLOAT sim,
  229. /* [out] */ VARIANT *intX,
  230. /* [out] */ VARIANT *intY,
  231. /* [retval][out] */ LONG *nret) = 0;
  232. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindStrFast(
  233. /* [in] */ LONG x1,
  234. /* [in] */ LONG y1,
  235. /* [in] */ LONG x2,
  236. /* [in] */ LONG y2,
  237. /* [in] */ BSTR string,
  238. /* [in] */ BSTR color_format,
  239. /* [in] */ FLOAT sim,
  240. /* [out] */ VARIANT *intX,
  241. /* [out] */ VARIANT *intY,
  242. /* [retval][out] */ LONG *nret) = 0;
  243. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetNowDict(
  244. /* [retval][out] */ LONG *nret) = 0;
  245. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetBasePath(
  246. /* [retval][out] */ BSTR *retpath) = 0;
  247. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsDisplayDead(
  248. /* [in] */ LONG x1,
  249. /* [in] */ LONG y1,
  250. /* [in] */ LONG x2,
  251. /* [in] */ LONG y2,
  252. /* [in] */ LONG t,
  253. /* [retval][out] */ LONG *bret) = 0;
  254. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindPicEx(
  255. /* [in] */ LONG x1,
  256. /* [in] */ LONG y1,
  257. /* [in] */ LONG x2,
  258. /* [in] */ LONG y2,
  259. /* [in] */ BSTR pic_name,
  260. /* [in] */ BSTR delta_color,
  261. /* [in] */ DOUBLE sim,
  262. /* [in] */ LONG dir,
  263. /* [retval][out] */ BSTR *retstring) = 0;
  264. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindStrEx(
  265. /* [in] */ LONG x1,
  266. /* [in] */ LONG y1,
  267. /* [in] */ LONG x2,
  268. /* [in] */ LONG y2,
  269. /* [in] */ BSTR string,
  270. /* [in] */ BSTR color_format,
  271. /* [in] */ DOUBLE sim,
  272. /* [retval][out] */ BSTR *retstring) = 0;
  273. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindStrFastEx(
  274. /* [in] */ LONG x1,
  275. /* [in] */ LONG y1,
  276. /* [in] */ LONG x2,
  277. /* [in] */ LONG y2,
  278. /* [in] */ BSTR string,
  279. /* [in] */ BSTR color_format,
  280. /* [in] */ DOUBLE sim,
  281. /* [retval][out] */ BSTR *retstring) = 0;
  282. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CaptureGif(
  283. /* [in] */ LONG x1,
  284. /* [in] */ LONG y1,
  285. /* [in] */ LONG x2,
  286. /* [in] */ LONG y2,
  287. /* [in] */ BSTR file,
  288. /* [in] */ LONG delay,
  289. /* [in] */ LONG time,
  290. /* [retval][out] */ LONG *nret) = 0;
  291. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DownCpu(
  292. /* [in] */ LONG rate,
  293. /* [retval][out] */ LONG *nret) = 0;
  294. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetKeypadDelay(
  295. /* [in] */ BSTR type,
  296. /* [in] */ LONG delay,
  297. /* [retval][out] */ LONG *nret) = 0;
  298. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetMouseDelay(
  299. /* [in] */ BSTR type,
  300. /* [in] */ LONG delay,
  301. /* [retval][out] */ LONG *nret) = 0;
  302. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CmpColor(
  303. /* [in] */ LONG x,
  304. /* [in] */ LONG y,
  305. /* [in] */ BSTR color,
  306. /* [in] */ DOUBLE sim,
  307. /* [retval][out] */ LONG *nret) = 0;
  308. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SendStringIme(
  309. /* [in] */ BSTR str,
  310. /* [retval][out] */ LONG *nret) = 0;
  311. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindColorEx(
  312. /* [in] */ LONG x1,
  313. /* [in] */ LONG y1,
  314. /* [in] */ LONG x2,
  315. /* [in] */ LONG y2,
  316. /* [in] */ BSTR color,
  317. /* [in] */ DOUBLE sim,
  318. /* [in] */ LONG dir,
  319. /* [retval][out] */ BSTR *retstring) = 0;
  320. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumWindow(
  321. /* [in] */ LONG parent,
  322. /* [in] */ BSTR title,
  323. /* [in] */ BSTR class_name,
  324. /* [in] */ LONG filter,
  325. /* [retval][out] */ BSTR *retstr) = 0;
  326. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumWindowByProcess(
  327. /* [in] */ BSTR process_name,
  328. /* [in] */ BSTR title,
  329. /* [in] */ BSTR class_name,
  330. /* [in] */ LONG filter,
  331. /* [retval][out] */ BSTR *retstring) = 0;
  332. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumProcess(
  333. /* [in] */ BSTR name,
  334. /* [retval][out] */ BSTR *retstring) = 0;
  335. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ClientToScreen(
  336. /* [in] */ LONG ClientToScreen,
  337. /* [out][in] */ VARIANT *x,
  338. /* [out][in] */ VARIANT *y,
  339. /* [retval][out] */ LONG *bret) = 0;
  340. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindWindow(
  341. /* [in] */ BSTR class_name,
  342. /* [in] */ BSTR title,
  343. /* [retval][out] */ LONG *rethwnd) = 0;
  344. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindWindowByProcess(
  345. /* [in] */ BSTR process_name,
  346. /* [in] */ BSTR class_name,
  347. /* [in] */ BSTR title,
  348. /* [retval][out] */ LONG *rethwnd) = 0;
  349. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindWindowByProcessId(
  350. /* [in] */ LONG process_id,
  351. /* [in] */ BSTR class_name,
  352. /* [in] */ BSTR title,
  353. /* [retval][out] */ LONG *rethwnd) = 0;
  354. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindWindowEx(
  355. /* [in] */ LONG parent,
  356. /* [in] */ BSTR class_name,
  357. /* [in] */ BSTR title,
  358. /* [retval][out] */ LONG *rethwnd) = 0;
  359. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetClientRect(
  360. /* [in] */ LONG hwnd,
  361. /* [out] */ VARIANT *x1,
  362. /* [out] */ VARIANT *y1,
  363. /* [out] */ VARIANT *x2,
  364. /* [out] */ VARIANT *y2,
  365. /* [retval][out] */ LONG *nret) = 0;
  366. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetClientSize(
  367. /* [in] */ LONG hwnd,
  368. /* [out] */ VARIANT *width,
  369. /* [out] */ VARIANT *height,
  370. /* [retval][out] */ LONG *nret) = 0;
  371. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetForegroundFocus(
  372. /* [retval][out] */ LONG *rethwnd) = 0;
  373. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetForegroundWindow(
  374. /* [retval][out] */ LONG *rethwnd) = 0;
  375. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMousePointWindow(
  376. /* [retval][out] */ LONG *rethwnd) = 0;
  377. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPointWindow(
  378. /* [in] */ LONG x,
  379. /* [in] */ LONG y,
  380. /* [retval][out] */ LONG *rethwnd) = 0;
  381. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetProcessInfo(
  382. /* [in] */ LONG pid,
  383. /* [retval][out] */ BSTR *retstring) = 0;
  384. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSpecialWindow(
  385. /* [in] */ LONG flag,
  386. /* [retval][out] */ LONG *rethwnd) = 0;
  387. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetWindow(
  388. /* [in] */ LONG hwnd,
  389. /* [in] */ LONG flag,
  390. /* [retval][out] */ LONG *nret) = 0;
  391. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetWindowClass(
  392. /* [in] */ LONG hwnd,
  393. /* [retval][out] */ BSTR *retstring) = 0;
  394. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetWindowProcessId(
  395. /* [in] */ LONG hwnd,
  396. /* [retval][out] */ LONG *nretpid) = 0;
  397. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetWindowProcessPath(
  398. /* [in] */ LONG hwnd,
  399. /* [retval][out] */ BSTR *retstring) = 0;
  400. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetWindowRect(
  401. /* [in] */ LONG hwnd,
  402. /* [out] */ VARIANT *x1,
  403. /* [out] */ VARIANT *y1,
  404. /* [out] */ VARIANT *x2,
  405. /* [out] */ VARIANT *y2,
  406. /* [retval][out] */ LONG *nret) = 0;
  407. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetWindowState(
  408. /* [in] */ LONG hwnd,
  409. /* [in] */ LONG flag,
  410. /* [retval][out] */ LONG *rethwnd) = 0;
  411. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetWindowTitle(
  412. /* [in] */ LONG hwnd,
  413. /* [retval][out] */ BSTR *rettitle) = 0;
  414. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MoveWindow(
  415. /* [in] */ LONG hwnd,
  416. /* [in] */ LONG x,
  417. /* [in] */ LONG y,
  418. /* [retval][out] */ LONG *nret) = 0;
  419. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ScreenToClient(
  420. /* [in] */ LONG hwnd,
  421. /* [out] */ VARIANT *x,
  422. /* [out] */ VARIANT *y,
  423. /* [retval][out] */ LONG *nret) = 0;
  424. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SendPaste(
  425. /* [in] */ LONG hwnd,
  426. /* [retval][out] */ LONG *nret) = 0;
  427. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetClientSize(
  428. /* [in] */ LONG hwnd,
  429. /* [in] */ LONG width,
  430. /* [in] */ LONG hight,
  431. /* [retval][out] */ LONG *nret) = 0;
  432. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetWindowState(
  433. /* [in] */ LONG hwnd,
  434. /* [in] */ LONG flag,
  435. /* [retval][out] */ LONG *nret) = 0;
  436. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetWindowSize(
  437. /* [in] */ LONG hwnd,
  438. /* [in] */ LONG width,
  439. /* [in] */ LONG height,
  440. /* [retval][out] */ LONG *nret) = 0;
  441. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetWindowText(
  442. /* [in] */ LONG hwnd,
  443. /* [in] */ BSTR title,
  444. /* [retval][out] */ LONG *nret) = 0;
  445. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetWindowTransparent(
  446. /* [in] */ LONG hwnd,
  447. /* [in] */ LONG trans,
  448. /* [retval][out] */ LONG *nret) = 0;
  449. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetClipboard(
  450. /* [in] */ BSTR value,
  451. /* [retval][out] */ LONG *nret) = 0;
  452. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetClipboard(
  453. /* [retval][out] */ BSTR *retstring) = 0;
  454. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DoubleToData(
  455. /* [in] */ DOUBLE value,
  456. /* [retval][out] */ BSTR *retstring) = 0;
  457. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FloatToData(
  458. /* [in] */ FLOAT value,
  459. /* [retval][out] */ BSTR *retstring) = 0;
  460. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IntToData(
  461. /* [in] */ LONG value,
  462. /* [in] */ LONG type,
  463. /* [retval][out] */ BSTR *retstring) = 0;
  464. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StringToData(
  465. /* [in] */ BSTR value,
  466. /* [in] */ LONG type,
  467. /* [retval][out] */ BSTR *retstring) = 0;
  468. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindData(
  469. /* [in] */ LONG hwnd,
  470. /* [in] */ BSTR addr_range,
  471. /* [in] */ BSTR data,
  472. /* [retval][out] */ BSTR *retstring) = 0;
  473. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindDouble(
  474. /* [in] */ LONG hwnd,
  475. /* [in] */ BSTR addr_range,
  476. /* [in] */ DOUBLE double_value_min,
  477. /* [in] */ DOUBLE double_value_max,
  478. /* [retval][out] */ BSTR *retstring) = 0;
  479. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindFloat(
  480. /* [in] */ LONG hwnd,
  481. /* [in] */ BSTR addr_range,
  482. /* [in] */ FLOAT float_value_min,
  483. /* [in] */ FLOAT float_value_max,
  484. /* [retval][out] */ BSTR *retstring) = 0;
  485. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindInt(
  486. /* [in] */ LONG hwnd,
  487. /* [in] */ BSTR addr_range,
  488. /* [in] */ LONG int_value_min,
  489. /* [in] */ LONG int_value_max,
  490. /* [in] */ LONG type,
  491. /* [retval][out] */ BSTR *retstring) = 0;
  492. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindString(
  493. /* [in] */ LONG hwnd,
  494. /* [in] */ BSTR addr_range,
  495. /* [in] */ BSTR string_value,
  496. /* [in] */ LONG type,
  497. /* [retval][out] */ BSTR *retstring) = 0;
  498. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReadData(
  499. /* [in] */ LONG hwnd,
  500. /* [in] */ BSTR addr,
  501. /* [in] */ LONG len,
  502. /* [retval][out] */ BSTR *retstring) = 0;
  503. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OcrEx(
  504. /* [in] */ LONG x1,
  505. /* [in] */ LONG y1,
  506. /* [in] */ LONG x2,
  507. /* [in] */ LONG y2,
  508. /* [in] */ BSTR color_format,
  509. /* [in] */ DOUBLE sim,
  510. /* [retval][out] */ BSTR *retstring) = 0;
  511. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReadDouble(
  512. /* [in] */ LONG hwnd,
  513. /* [in] */ BSTR addr,
  514. /* [retval][out] */ DOUBLE *retdouble) = 0;
  515. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReadFloat(
  516. /* [in] */ LONG hwnd,
  517. /* [in] */ BSTR addr,
  518. /* [retval][out] */ FLOAT *retfloat) = 0;
  519. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReadInt(
  520. /* [in] */ LONG hwnd,
  521. /* [in] */ BSTR addr,
  522. /* [in] */ LONG type,
  523. /* [retval][out] */ LONG *retint) = 0;
  524. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReadString(
  525. /* [in] */ LONG hwnd,
  526. /* [in] */ BSTR addr,
  527. /* [in] */ LONG type,
  528. /* [in] */ LONG len,
  529. /* [retval][out] */ BSTR *retstring) = 0;
  530. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TerminateProcess(
  531. /* [in] */ LONG pid,
  532. /* [retval][out] */ LONG *bret) = 0;
  533. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE VirtualAllocEx(
  534. /* [in] */ LONG hwnd,
  535. /* [in] */ LONG addr,
  536. /* [in] */ LONG size,
  537. /* [in] */ LONG type,
  538. /* [retval][out] */ LONG *bret) = 0;
  539. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE VirtualFreeEx(
  540. /* [in] */ LONG hwnd,
  541. /* [in] */ LONG addr,
  542. /* [retval][out] */ LONG *bret) = 0;
  543. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WriteDouble(
  544. /* [in] */ LONG hwnd,
  545. /* [in] */ BSTR addr,
  546. /* [in] */ DOUBLE v,
  547. /* [retval][out] */ LONG *bret) = 0;
  548. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WriteFloat(
  549. /* [in] */ LONG hwnd,
  550. /* [in] */ BSTR addr,
  551. /* [in] */ FLOAT v,
  552. /* [retval][out] */ LONG *bret) = 0;
  553. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WriteInt(
  554. /* [in] */ LONG hwnd,
  555. /* [in] */ BSTR addr,
  556. /* [in] */ LONG type,
  557. /* [in] */ LONG v,
  558. /* [retval][out] */ LONG *bret) = 0;
  559. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WriteString(
  560. /* [in] */ LONG hwnd,
  561. /* [in] */ BSTR addr,
  562. /* [in] */ LONG type,
  563. /* [in] */ BSTR v,
  564. /* [retval][out] */ LONG *bret) = 0;
  565. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WriteData(
  566. /* [in] */ LONG hwnd,
  567. /* [in] */ BSTR addr,
  568. /* [in] */ BSTR data,
  569. /* [retval][out] */ LONG *nret) = 0;
  570. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsBind(
  571. /* [in] */ LONG hwnd,
  572. /* [retval][out] */ LONG *nret) = 0;
  573. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindFloatEx(
  574. /* [in] */ LONG hwnd,
  575. /* [in] */ BSTR addr_range,
  576. /* [in] */ FLOAT float_value_min,
  577. /* [in] */ FLOAT float_value_max,
  578. /* [in] */ LONG step,
  579. /* [in] */ LONG multi_thread,
  580. /* [in] */ LONG mode,
  581. /* [retval][out] */ BSTR *retstring) = 0;
  582. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindDoubleEx(
  583. /* [in] */ LONG hwnd,
  584. /* [in] */ BSTR addr_range,
  585. /* [in] */ DOUBLE double_value_min,
  586. /* [in] */ DOUBLE double_value_max,
  587. /* [in] */ LONG step,
  588. /* [in] */ LONG multi_thread,
  589. /* [in] */ LONG mode,
  590. /* [retval][out] */ BSTR *retstring) = 0;
  591. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindIntEx(
  592. /* [in] */ LONG hwnd,
  593. /* [in] */ BSTR addr_range,
  594. /* [in] */ LONG int_value_min,
  595. /* [in] */ LONG int_value_max,
  596. /* [in] */ LONG type,
  597. /* [in] */ LONG step,
  598. /* [in] */ LONG multi_thread,
  599. /* [in] */ LONG mode,
  600. /* [retval][out] */ BSTR *retstring) = 0;
  601. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindDataEx(
  602. /* [in] */ LONG hwnd,
  603. /* [in] */ BSTR addr_range,
  604. /* [in] */ BSTR data,
  605. /* [in] */ LONG step,
  606. /* [in] */ LONG multi_thread,
  607. /* [in] */ LONG mode,
  608. /* [retval][out] */ BSTR *retstring) = 0;
  609. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindStringEx(
  610. /* [in] */ LONG hwnd,
  611. /* [in] */ BSTR addr_range,
  612. /* [in] */ BSTR string_value,
  613. /* [in] */ LONG type,
  614. /* [in] */ LONG step,
  615. /* [in] */ LONG multi_thread,
  616. /* [in] */ LONG mode,
  617. /* [retval][out] */ BSTR *retstring) = 0;
  618. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetModuleBaseAddr(
  619. /* [in] */ LONG hwnd,
  620. /* [in] */ BSTR modulename,
  621. /* [retval][out] */ LONG *nret) = 0;
  622. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCommandLine(
  623. /* [in] */ LONG hwnd,
  624. /* [retval][out] */ BSTR *retstring) = 0;
  625. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AsmAdd(
  626. /* [in] */ BSTR asm_ins,
  627. /* [retval][out] */ LONG *nret) = 0;
  628. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AsmCall(
  629. /* [in] */ LONG hwnd,
  630. /* [in] */ LONG mode,
  631. /* [retval][out] */ LONG *nret) = 0;
  632. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AsmClear(
  633. /* [retval][out] */ LONG *nret) = 0;
  634. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AsmCode(
  635. /* [in] */ LONG base_addr,
  636. /* [retval][out] */ BSTR *retstring) = 0;
  637. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Assemble(
  638. /* [in] */ BSTR asm_code,
  639. /* [in] */ LONG base_addr,
  640. /* [in] */ LONG is_upper,
  641. /* [retval][out] */ BSTR *retstring) = 0;
  642. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MatchPicName(
  643. /* [in] */ BSTR pic_name,
  644. /* [retval][out] */ BSTR *retstring) = 0;
  645. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetShowErrorMsg(
  646. /* [in] */ LONG show,
  647. /* [retval][out] */ LONG *nret) = 0;
  648. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Reg(
  649. /* [in] */ BSTR reg_code,
  650. /* [in] */ LONG type,
  651. /* [retval][out] */ LONG *nret) = 0;
  652. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMachineCode(
  653. /* [retval][out] */ BSTR *retstring) = 0;
  654. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TSGuardProtectToHide(
  655. /* [in] */ LONG enble,
  656. /* [retval][out] */ LONG *nret) = 0;
  657. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TSGuardProtectToHide2(
  658. /* [in] */ LONG enable,
  659. /* [retval][out] */ LONG *nret) = 0;
  660. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TSGuardProtectToNP(
  661. /* [in] */ LONG enable,
  662. /* [retval][out] */ LONG *nret) = 0;
  663. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delay(
  664. /* [in] */ LONG mis,
  665. /* [retval][out] */ LONG *nret) = 0;
  666. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindStrS(
  667. /* [in] */ LONG x1,
  668. /* [in] */ LONG y1,
  669. /* [in] */ LONG x2,
  670. /* [in] */ LONG y2,
  671. /* [in] */ BSTR string,
  672. /* [in] */ BSTR color_format,
  673. /* [in] */ DOUBLE sim,
  674. /* [out] */ VARIANT *intX,
  675. /* [out] */ VARIANT *intY,
  676. /* [retval][out] */ BSTR *retstring) = 0;
  677. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindStrFastS(
  678. /* [in] */ LONG x1,
  679. /* [in] */ LONG y1,
  680. /* [in] */ LONG x2,
  681. /* [in] */ LONG y2,
  682. /* [in] */ BSTR string,
  683. /* [in] */ BSTR color_format,
  684. /* [in] */ DOUBLE sim,
  685. /* [out] */ VARIANT *intX,
  686. /* [out] */ VARIANT *intY,
  687. /* [retval][out] */ BSTR *retstring) = 0;
  688. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindStrExS(
  689. /* [in] */ LONG x1,
  690. /* [in] */ LONG y1,
  691. /* [in] */ LONG x2,
  692. /* [in] */ LONG y2,
  693. /* [in] */ BSTR string,
  694. /* [in] */ BSTR color_format,
  695. /* [in] */ DOUBLE sim,
  696. /* [retval][out] */ BSTR *retstring) = 0;
  697. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindStrFastExS(
  698. /* [in] */ LONG x1,
  699. /* [in] */ LONG y1,
  700. /* [in] */ LONG x2,
  701. /* [in] */ LONG y2,
  702. /* [in] */ BSTR string,
  703. /* [in] */ BSTR color_format,
  704. /* [in] */ DOUBLE sim,
  705. /* [retval][out] */ BSTR *retstring) = 0;
  706. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindPicS(
  707. /* [in] */ LONG x1,
  708. /* [in] */ LONG y1,
  709. /* [in] */ LONG x2,
  710. /* [in] */ LONG y2,
  711. /* [in] */ BSTR pic_name,
  712. /* [in] */ BSTR delta_color,
  713. /* [in] */ DOUBLE sim,
  714. /* [in] */ LONG dir,
  715. /* [out] */ VARIANT *intX,
  716. /* [out] */ VARIANT *intY,
  717. /* [retval][out] */ BSTR *retstring) = 0;
  718. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindPicExS(
  719. /* [in] */ LONG x1,
  720. /* [in] */ LONG y1,
  721. /* [in] */ LONG x2,
  722. /* [in] */ LONG y2,
  723. /* [in] */ BSTR pic_name,
  724. /* [in] */ BSTR delta_color,
  725. /* [in] */ DOUBLE sim,
  726. /* [in] */ LONG dir,
  727. /* [retval][out] */ BSTR *retstring) = 0;
  728. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetDictPwd(
  729. /* [in] */ BSTR pwd,
  730. /* [retval][out] */ LONG *nret) = 0;
  731. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetPicPwd(
  732. /* [in] */ BSTR pwd,
  733. /* [retval][out] */ LONG *nret) = 0;
  734. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LeftDoubleClick(
  735. /* [retval][out] */ LONG *nret) = 0;
  736. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FreeProcessMemory(
  737. /* [in] */ LONG hwnd,
  738. /* [retval][out] */ LONG *nret) = 0;
  739. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TSDXGraphicProtect(
  740. /* [in] */ LONG enable,
  741. /* [retval][out] */ LONG *nret) = 0;
  742. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TSDXKmProtect(
  743. /* [in] */ LONG enable,
  744. /* [in] */ BSTR type,
  745. /* [retval][out] */ LONG *nret) = 0;
  746. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CheckFontSmooth(
  747. /* [retval][out] */ LONG *nret) = 0;
  748. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DisableFontSmooth(
  749. /* [retval][out] */ LONG *nret) = 0;
  750. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetScreenData(
  751. /* [in] */ LONG x1,
  752. /* [in] */ LONG y1,
  753. /* [in] */ LONG x2,
  754. /* [in] */ LONG y2,
  755. /* [retval][out] */ LONG *RetAddr) = 0;
  756. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnableRealMouse(
  757. /* [in] */ ULONG enable,
  758. /* [in] */ ULONG mousedelay,
  759. /* [in] */ ULONG mousestep,
  760. /* [retval][out] */ ULONG *nret) = 0;
  761. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnableRealKeypad(
  762. /* [in] */ ULONG enable,
  763. /* [retval][out] */ ULONG *nret) = 0;
  764. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MoveToEx(
  765. /* [in] */ ULONG x,
  766. /* [in] */ ULONG y,
  767. /* [in] */ ULONG w,
  768. /* [in] */ ULONG h,
  769. /* [retval][out] */ BSTR *retstring) = 0;
  770. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CheckUAC(
  771. /* [retval][out] */ ULONG *nret) = 0;
  772. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetUAC(
  773. /* [in] */ ULONG enable,
  774. /* [retval][out] */ ULONG *nret) = 0;
  775. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WaitKey(
  776. /* [in] */ ULONG vk_code,
  777. /* [in] */ ULONG time_out,
  778. /* [retval][out] */ ULONG *nret) = 0;
  779. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindMultiColor(
  780. /* [in] */ ULONG x1,
  781. /* [in] */ ULONG y1,
  782. /* [in] */ ULONG x2,
  783. /* [in] */ ULONG y2,
  784. /* [in] */ BSTR first_color,
  785. /* [in] */ BSTR offset_color,
  786. /* [in] */ DOUBLE sim,
  787. /* [in] */ ULONG dir,
  788. /* [out] */ VARIANT *intX,
  789. /* [out] */ VARIANT *intY,
  790. /* [retval][out] */ ULONG *nret) = 0;
  791. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindMultiColorEx(
  792. /* [in] */ ULONG x1,
  793. /* [in] */ ULONG y1,
  794. /* [in] */ ULONG x2,
  795. /* [in] */ ULONG y2,
  796. /* [in] */ BSTR first_color,
  797. /* [in] */ BSTR offset_color,
  798. /* [in] */ DOUBLE sim,
  799. /* [in] */ ULONG dir,
  800. /* [retval][out] */ BSTR *retstring) = 0;
  801. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetSimMode(
  802. /* [in] */ ULONG mode,
  803. /* [retval][out] */ ULONG *nret) = 0;
  804. };
  805. #else /* C style interface */
  806. typedef struct ITSPlugInterFaceVtbl
  807. {
  808. BEGIN_INTERFACE
  809. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  810. ITSPlugInterFace * This,
  811. /* [in] */ REFIID riid,
  812. /* [annotation][iid_is][out] */
  813. _COM_Outptr_ void **ppvObject);
  814. ULONG ( STDMETHODCALLTYPE *AddRef )(
  815. ITSPlugInterFace * This);
  816. ULONG ( STDMETHODCALLTYPE *Release )(
  817. ITSPlugInterFace * This);
  818. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  819. ITSPlugInterFace * This,
  820. /* [out] */ UINT *pctinfo);
  821. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  822. ITSPlugInterFace * This,
  823. /* [in] */ UINT iTInfo,
  824. /* [in] */ LCID lcid,
  825. /* [out] */ ITypeInfo **ppTInfo);
  826. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  827. ITSPlugInterFace * This,
  828. /* [in] */ REFIID riid,
  829. /* [size_is][in] */ LPOLESTR *rgszNames,
  830. /* [range][in] */ UINT cNames,
  831. /* [in] */ LCID lcid,
  832. /* [size_is][out] */ DISPID *rgDispId);
  833. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  834. ITSPlugInterFace * This,
  835. /* [annotation][in] */
  836. _In_ DISPID dispIdMember,
  837. /* [annotation][in] */
  838. _In_ REFIID riid,
  839. /* [annotation][in] */
  840. _In_ LCID lcid,
  841. /* [annotation][in] */
  842. _In_ WORD wFlags,
  843. /* [annotation][out][in] */
  844. _In_ DISPPARAMS *pDispParams,
  845. /* [annotation][out] */
  846. _Out_opt_ VARIANT *pVarResult,
  847. /* [annotation][out] */
  848. _Out_opt_ EXCEPINFO *pExcepInfo,
  849. /* [annotation][out] */
  850. _Out_opt_ UINT *puArgErr);
  851. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BindWindow )(
  852. ITSPlugInterFace * This,
  853. /* [in] */ LONG hwnd,
  854. /* [in] */ BSTR display,
  855. /* [in] */ BSTR mouse,
  856. /* [in] */ BSTR keypad,
  857. /* [in] */ LONG mode,
  858. /* [retval][out] */ LONG *nret);
  859. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BindWindowEx )(
  860. ITSPlugInterFace * This,
  861. /* [in] */ LONG hwnd,
  862. /* [in] */ BSTR display,
  863. /* [in] */ BSTR mouse,
  864. /* [in] */ BSTR keypad,
  865. /* [in] */ BSTR publics,
  866. /* [in] */ LONG mode,
  867. /* [retval][out] */ LONG *nret);
  868. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnBindWindow )(
  869. ITSPlugInterFace * This,
  870. /* [retval][out] */ LONG *nret);
  871. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *KeyDown )(
  872. ITSPlugInterFace * This,
  873. /* [in] */ LONG vk_code,
  874. /* [retval][out] */ LONG *nret);
  875. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *KeyUp )(
  876. ITSPlugInterFace * This,
  877. /* [in] */ LONG vk_code,
  878. /* [retval][out] */ LONG *nret);
  879. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *KeyPress )(
  880. ITSPlugInterFace * This,
  881. /* [in] */ LONG vk_code,
  882. /* [retval][out] */ LONG *nret);
  883. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LeftDown )(
  884. ITSPlugInterFace * This,
  885. /* [retval][out] */ LONG *nret);
  886. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LeftUp )(
  887. ITSPlugInterFace * This,
  888. /* [retval][out] */ LONG *nret);
  889. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LeftClick )(
  890. ITSPlugInterFace * This,
  891. /* [retval][out] */ LONG *nret);
  892. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveTo )(
  893. ITSPlugInterFace * This,
  894. /* [in] */ LONG x,
  895. /* [in] */ LONG y,
  896. /* [retval][out] */ LONG *nret);
  897. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindPic )(
  898. ITSPlugInterFace * This,
  899. /* [in] */ LONG x1,
  900. /* [in] */ LONG y1,
  901. /* [in] */ LONG x2,
  902. /* [in] */ LONG y2,
  903. /* [in] */ BSTR pic_name,
  904. /* [in] */ BSTR delta_color,
  905. /* [in] */ DOUBLE sim,
  906. /* [in] */ LONG dir,
  907. /* [out] */ VARIANT *intX,
  908. /* [out] */ VARIANT *intY,
  909. /* [retval][out] */ LONG *nret);
  910. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RightClick )(
  911. ITSPlugInterFace * This,
  912. /* [retval][out] */ LONG *nret);
  913. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RightDown )(
  914. ITSPlugInterFace * This,
  915. /* [retval][out] */ LONG *nret);
  916. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindColor )(
  917. ITSPlugInterFace * This,
  918. /* [in] */ LONG x1,
  919. /* [in] */ LONG y1,
  920. /* [in] */ LONG x2,
  921. /* [in] */ LONG y2,
  922. /* [in] */ BSTR color,
  923. /* [in] */ DOUBLE sim,
  924. /* [in] */ LONG dir,
  925. /* [out] */ VARIANT *intX,
  926. /* [out] */ VARIANT *intY,
  927. /* [retval][out] */ LONG *nret);
  928. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RightUp )(
  929. ITSPlugInterFace * This,
  930. /* [retval][out] */ LONG *nret);
  931. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetColor )(
  932. ITSPlugInterFace * This,
  933. /* [in] */ LONG x,
  934. /* [in] */ LONG y,
  935. /* [retval][out] */ BSTR *RetStrColor);
  936. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCursorShape )(
  937. ITSPlugInterFace * This,
  938. /* [retval][out] */ BSTR *RetCursorShape);
  939. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetPath )(
  940. ITSPlugInterFace * This,
  941. /* [in] */ BSTR path,
  942. /* [retval][out] */ LONG *nret);
  943. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TSGuardProtect )(
  944. ITSPlugInterFace * This,
  945. /* [in] */ LONG enable,
  946. /* [in] */ BSTR type,
  947. /* [retval][out] */ LONG *nret);
  948. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *KeyPressStr )(
  949. ITSPlugInterFace * This,
  950. /* [in] */ BSTR key_str,
  951. /* [in] */ LONG delay,
  952. /* [retval][out] */ LONG *nret);
  953. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SendString )(
  954. ITSPlugInterFace * This,
  955. /* [in] */ LONG hwnd,
  956. /* [in] */ BSTR str,
  957. /* [retval][out] */ LONG *nret);
  958. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SendString2 )(
  959. ITSPlugInterFace * This,
  960. /* [in] */ LONG hwnd,
  961. /* [in] */ BSTR str,
  962. /* [retval][out] */ LONG *nret);
  963. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *KeyPressChar )(
  964. ITSPlugInterFace * This,
  965. /* [in] */ BSTR key_str,
  966. /* [retval][out] */ LONG *nret);
  967. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *KeyDownChar )(
  968. ITSPlugInterFace * This,
  969. /* [in] */ BSTR key_str,
  970. /* [retval][out] */ LONG *nret);
  971. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *KeyUpChar )(
  972. ITSPlugInterFace * This,
  973. /* [in] */ BSTR key_str,
  974. /* [retval][out] */ LONG *nret);
  975. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCursorPos )(
  976. ITSPlugInterFace * This,
  977. /* [out] */ VARIANT *x,
  978. /* [out] */ VARIANT *y,
  979. /* [retval][out] */ LONG *nret);
  980. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveR )(
  981. ITSPlugInterFace * This,
  982. /* [in] */ LONG rx,
  983. /* [in] */ LONG ry,
  984. /* [retval][out] */ LONG *rnet);
  985. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Ver )(
  986. ITSPlugInterFace * This,
  987. /* [retval][out] */ BSTR *retver);
  988. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPath )(
  989. ITSPlugInterFace * This,
  990. /* [retval][out] */ BSTR *retpath);
  991. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MiddleClick )(
  992. ITSPlugInterFace * This,
  993. /* [retval][out] */ LONG *nret);
  994. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WheelDown )(
  995. ITSPlugInterFace * This,
  996. /* [retval][out] */ LONG *nret);
  997. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WheelUp )(
  998. ITSPlugInterFace * This,
  999. /* [retval][out] */ LONG *nret);
  1000. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Capture )(
  1001. ITSPlugInterFace * This,
  1002. /* [in] */ LONG x1,
  1003. /* [in] */ LONG y1,
  1004. /* [in] */ LONG x2,
  1005. /* [in] */ LONG y2,
  1006. /* [in] */ BSTR file,
  1007. /* [retval][out] */ LONG *nret);
  1008. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CaptureJpg )(
  1009. ITSPlugInterFace * This,
  1010. /* [in] */ LONG x1,
  1011. /* [in] */ LONG y1,
  1012. /* [in] */ LONG x2,
  1013. /* [in] */ LONG y2,
  1014. /* [in] */ BSTR file,
  1015. /* [retval][out] */ LONG *nret);
  1016. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CapturePng )(
  1017. ITSPlugInterFace * This,
  1018. /* [in] */ LONG x1,
  1019. /* [in] */ LONG y1,
  1020. /* [in] */ LONG x2,
  1021. /* [in] */ LONG y2,
  1022. /* [in] */ BSTR file,
  1023. /* [retval][out] */ LONG *nret);
  1024. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LockInput )(
  1025. ITSPlugInterFace * This,
  1026. /* [in] */ LONG lock,
  1027. /* [retval][out] */ LONG *nret);
  1028. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Ocr )(
  1029. ITSPlugInterFace * This,
  1030. /* [in] */ LONG x1,
  1031. /* [in] */ LONG y1,
  1032. /* [in] */ LONG x2,
  1033. /* [in] */ LONG y2,
  1034. /* [in] */ BSTR color_format,
  1035. /* [in] */ FLOAT sim,
  1036. /* [retval][out] */ BSTR *retstr);
  1037. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetDict )(
  1038. ITSPlugInterFace * This,
  1039. /* [in] */ LONG index,
  1040. /* [in] */ BSTR file,
  1041. /* [retval][out] */ LONG *nret);
  1042. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UseDict )(
  1043. ITSPlugInterFace * This,
  1044. /* [in] */ LONG index,
  1045. /* [retval][out] */ LONG *nret);
  1046. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ClearDict )(
  1047. ITSPlugInterFace * This,
  1048. /* [in] */ LONG index,
  1049. /* [retval][out] */ LONG *nret);
  1050. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindStr )(
  1051. ITSPlugInterFace * This,
  1052. /* [in] */ LONG x1,
  1053. /* [in] */ LONG y1,
  1054. /* [in] */ LONG x2,
  1055. /* [in] */ LONG y2,
  1056. /* [in] */ BSTR string,
  1057. /* [in] */ BSTR color_format,
  1058. /* [in] */ FLOAT sim,
  1059. /* [out] */ VARIANT *intX,
  1060. /* [out] */ VARIANT *intY,
  1061. /* [retval][out] */ LONG *nret);
  1062. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindStrFast )(
  1063. ITSPlugInterFace * This,
  1064. /* [in] */ LONG x1,
  1065. /* [in] */ LONG y1,
  1066. /* [in] */ LONG x2,
  1067. /* [in] */ LONG y2,
  1068. /* [in] */ BSTR string,
  1069. /* [in] */ BSTR color_format,
  1070. /* [in] */ FLOAT sim,
  1071. /* [out] */ VARIANT *intX,
  1072. /* [out] */ VARIANT *intY,
  1073. /* [retval][out] */ LONG *nret);
  1074. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetNowDict )(
  1075. ITSPlugInterFace * This,
  1076. /* [retval][out] */ LONG *nret);
  1077. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetBasePath )(
  1078. ITSPlugInterFace * This,
  1079. /* [retval][out] */ BSTR *retpath);
  1080. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsDisplayDead )(
  1081. ITSPlugInterFace * This,
  1082. /* [in] */ LONG x1,
  1083. /* [in] */ LONG y1,
  1084. /* [in] */ LONG x2,
  1085. /* [in] */ LONG y2,
  1086. /* [in] */ LONG t,
  1087. /* [retval][out] */ LONG *bret);
  1088. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindPicEx )(
  1089. ITSPlugInterFace * This,
  1090. /* [in] */ LONG x1,
  1091. /* [in] */ LONG y1,
  1092. /* [in] */ LONG x2,
  1093. /* [in] */ LONG y2,
  1094. /* [in] */ BSTR pic_name,
  1095. /* [in] */ BSTR delta_color,
  1096. /* [in] */ DOUBLE sim,
  1097. /* [in] */ LONG dir,
  1098. /* [retval][out] */ BSTR *retstring);
  1099. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindStrEx )(
  1100. ITSPlugInterFace * This,
  1101. /* [in] */ LONG x1,
  1102. /* [in] */ LONG y1,
  1103. /* [in] */ LONG x2,
  1104. /* [in] */ LONG y2,
  1105. /* [in] */ BSTR string,
  1106. /* [in] */ BSTR color_format,
  1107. /* [in] */ DOUBLE sim,
  1108. /* [retval][out] */ BSTR *retstring);
  1109. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindStrFastEx )(
  1110. ITSPlugInterFace * This,
  1111. /* [in] */ LONG x1,
  1112. /* [in] */ LONG y1,
  1113. /* [in] */ LONG x2,
  1114. /* [in] */ LONG y2,
  1115. /* [in] */ BSTR string,
  1116. /* [in] */ BSTR color_format,
  1117. /* [in] */ DOUBLE sim,
  1118. /* [retval][out] */ BSTR *retstring);
  1119. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CaptureGif )(
  1120. ITSPlugInterFace * This,
  1121. /* [in] */ LONG x1,
  1122. /* [in] */ LONG y1,
  1123. /* [in] */ LONG x2,
  1124. /* [in] */ LONG y2,
  1125. /* [in] */ BSTR file,
  1126. /* [in] */ LONG delay,
  1127. /* [in] */ LONG time,
  1128. /* [retval][out] */ LONG *nret);
  1129. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DownCpu )(
  1130. ITSPlugInterFace * This,
  1131. /* [in] */ LONG rate,
  1132. /* [retval][out] */ LONG *nret);
  1133. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetKeypadDelay )(
  1134. ITSPlugInterFace * This,
  1135. /* [in] */ BSTR type,
  1136. /* [in] */ LONG delay,
  1137. /* [retval][out] */ LONG *nret);
  1138. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetMouseDelay )(
  1139. ITSPlugInterFace * This,
  1140. /* [in] */ BSTR type,
  1141. /* [in] */ LONG delay,
  1142. /* [retval][out] */ LONG *nret);
  1143. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CmpColor )(
  1144. ITSPlugInterFace * This,
  1145. /* [in] */ LONG x,
  1146. /* [in] */ LONG y,
  1147. /* [in] */ BSTR color,
  1148. /* [in] */ DOUBLE sim,
  1149. /* [retval][out] */ LONG *nret);
  1150. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SendStringIme )(
  1151. ITSPlugInterFace * This,
  1152. /* [in] */ BSTR str,
  1153. /* [retval][out] */ LONG *nret);
  1154. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindColorEx )(
  1155. ITSPlugInterFace * This,
  1156. /* [in] */ LONG x1,
  1157. /* [in] */ LONG y1,
  1158. /* [in] */ LONG x2,
  1159. /* [in] */ LONG y2,
  1160. /* [in] */ BSTR color,
  1161. /* [in] */ DOUBLE sim,
  1162. /* [in] */ LONG dir,
  1163. /* [retval][out] */ BSTR *retstring);
  1164. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumWindow )(
  1165. ITSPlugInterFace * This,
  1166. /* [in] */ LONG parent,
  1167. /* [in] */ BSTR title,
  1168. /* [in] */ BSTR class_name,
  1169. /* [in] */ LONG filter,
  1170. /* [retval][out] */ BSTR *retstr);
  1171. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumWindowByProcess )(
  1172. ITSPlugInterFace * This,
  1173. /* [in] */ BSTR process_name,
  1174. /* [in] */ BSTR title,
  1175. /* [in] */ BSTR class_name,
  1176. /* [in] */ LONG filter,
  1177. /* [retval][out] */ BSTR *retstring);
  1178. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumProcess )(
  1179. ITSPlugInterFace * This,
  1180. /* [in] */ BSTR name,
  1181. /* [retval][out] */ BSTR *retstring);
  1182. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ClientToScreen )(
  1183. ITSPlugInterFace * This,
  1184. /* [in] */ LONG ClientToScreen,
  1185. /* [out][in] */ VARIANT *x,
  1186. /* [out][in] */ VARIANT *y,
  1187. /* [retval][out] */ LONG *bret);
  1188. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindWindow )(
  1189. ITSPlugInterFace * This,
  1190. /* [in] */ BSTR class_name,
  1191. /* [in] */ BSTR title,
  1192. /* [retval][out] */ LONG *rethwnd);
  1193. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindWindowByProcess )(
  1194. ITSPlugInterFace * This,
  1195. /* [in] */ BSTR process_name,
  1196. /* [in] */ BSTR class_name,
  1197. /* [in] */ BSTR title,
  1198. /* [retval][out] */ LONG *rethwnd);
  1199. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindWindowByProcessId )(
  1200. ITSPlugInterFace * This,
  1201. /* [in] */ LONG process_id,
  1202. /* [in] */ BSTR class_name,
  1203. /* [in] */ BSTR title,
  1204. /* [retval][out] */ LONG *rethwnd);
  1205. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindWindowEx )(
  1206. ITSPlugInterFace * This,
  1207. /* [in] */ LONG parent,
  1208. /* [in] */ BSTR class_name,
  1209. /* [in] */ BSTR title,
  1210. /* [retval][out] */ LONG *rethwnd);
  1211. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetClientRect )(
  1212. ITSPlugInterFace * This,
  1213. /* [in] */ LONG hwnd,
  1214. /* [out] */ VARIANT *x1,
  1215. /* [out] */ VARIANT *y1,
  1216. /* [out] */ VARIANT *x2,
  1217. /* [out] */ VARIANT *y2,
  1218. /* [retval][out] */ LONG *nret);
  1219. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetClientSize )(
  1220. ITSPlugInterFace * This,
  1221. /* [in] */ LONG hwnd,
  1222. /* [out] */ VARIANT *width,
  1223. /* [out] */ VARIANT *height,
  1224. /* [retval][out] */ LONG *nret);
  1225. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetForegroundFocus )(
  1226. ITSPlugInterFace * This,
  1227. /* [retval][out] */ LONG *rethwnd);
  1228. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetForegroundWindow )(
  1229. ITSPlugInterFace * This,
  1230. /* [retval][out] */ LONG *rethwnd);
  1231. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetMousePointWindow )(
  1232. ITSPlugInterFace * This,
  1233. /* [retval][out] */ LONG *rethwnd);
  1234. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPointWindow )(
  1235. ITSPlugInterFace * This,
  1236. /* [in] */ LONG x,
  1237. /* [in] */ LONG y,
  1238. /* [retval][out] */ LONG *rethwnd);
  1239. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetProcessInfo )(
  1240. ITSPlugInterFace * This,
  1241. /* [in] */ LONG pid,
  1242. /* [retval][out] */ BSTR *retstring);
  1243. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSpecialWindow )(
  1244. ITSPlugInterFace * This,
  1245. /* [in] */ LONG flag,
  1246. /* [retval][out] */ LONG *rethwnd);
  1247. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetWindow )(
  1248. ITSPlugInterFace * This,
  1249. /* [in] */ LONG hwnd,
  1250. /* [in] */ LONG flag,
  1251. /* [retval][out] */ LONG *nret);
  1252. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetWindowClass )(
  1253. ITSPlugInterFace * This,
  1254. /* [in] */ LONG hwnd,
  1255. /* [retval][out] */ BSTR *retstring);
  1256. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetWindowProcessId )(
  1257. ITSPlugInterFace * This,
  1258. /* [in] */ LONG hwnd,
  1259. /* [retval][out] */ LONG *nretpid);
  1260. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetWindowProcessPath )(
  1261. ITSPlugInterFace * This,
  1262. /* [in] */ LONG hwnd,
  1263. /* [retval][out] */ BSTR *retstring);
  1264. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetWindowRect )(
  1265. ITSPlugInterFace * This,
  1266. /* [in] */ LONG hwnd,
  1267. /* [out] */ VARIANT *x1,
  1268. /* [out] */ VARIANT *y1,
  1269. /* [out] */ VARIANT *x2,
  1270. /* [out] */ VARIANT *y2,
  1271. /* [retval][out] */ LONG *nret);
  1272. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetWindowState )(
  1273. ITSPlugInterFace * This,
  1274. /* [in] */ LONG hwnd,
  1275. /* [in] */ LONG flag,
  1276. /* [retval][out] */ LONG *rethwnd);
  1277. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetWindowTitle )(
  1278. ITSPlugInterFace * This,
  1279. /* [in] */ LONG hwnd,
  1280. /* [retval][out] */ BSTR *rettitle);
  1281. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveWindow )(
  1282. ITSPlugInterFace * This,
  1283. /* [in] */ LONG hwnd,
  1284. /* [in] */ LONG x,
  1285. /* [in] */ LONG y,
  1286. /* [retval][out] */ LONG *nret);
  1287. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ScreenToClient )(
  1288. ITSPlugInterFace * This,
  1289. /* [in] */ LONG hwnd,
  1290. /* [out] */ VARIANT *x,
  1291. /* [out] */ VARIANT *y,
  1292. /* [retval][out] */ LONG *nret);
  1293. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SendPaste )(
  1294. ITSPlugInterFace * This,
  1295. /* [in] */ LONG hwnd,
  1296. /* [retval][out] */ LONG *nret);
  1297. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetClientSize )(
  1298. ITSPlugInterFace * This,
  1299. /* [in] */ LONG hwnd,
  1300. /* [in] */ LONG width,
  1301. /* [in] */ LONG hight,
  1302. /* [retval][out] */ LONG *nret);
  1303. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetWindowState )(
  1304. ITSPlugInterFace * This,
  1305. /* [in] */ LONG hwnd,
  1306. /* [in] */ LONG flag,
  1307. /* [retval][out] */ LONG *nret);
  1308. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetWindowSize )(
  1309. ITSPlugInterFace * This,
  1310. /* [in] */ LONG hwnd,
  1311. /* [in] */ LONG width,
  1312. /* [in] */ LONG height,
  1313. /* [retval][out] */ LONG *nret);
  1314. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetWindowText )(
  1315. ITSPlugInterFace * This,
  1316. /* [in] */ LONG hwnd,
  1317. /* [in] */ BSTR title,
  1318. /* [retval][out] */ LONG *nret);
  1319. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetWindowTransparent )(
  1320. ITSPlugInterFace * This,
  1321. /* [in] */ LONG hwnd,
  1322. /* [in] */ LONG trans,
  1323. /* [retval][out] */ LONG *nret);
  1324. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetClipboard )(
  1325. ITSPlugInterFace * This,
  1326. /* [in] */ BSTR value,
  1327. /* [retval][out] */ LONG *nret);
  1328. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetClipboard )(
  1329. ITSPlugInterFace * This,
  1330. /* [retval][out] */ BSTR *retstring);
  1331. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DoubleToData )(
  1332. ITSPlugInterFace * This,
  1333. /* [in] */ DOUBLE value,
  1334. /* [retval][out] */ BSTR *retstring);
  1335. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FloatToData )(
  1336. ITSPlugInterFace * This,
  1337. /* [in] */ FLOAT value,
  1338. /* [retval][out] */ BSTR *retstring);
  1339. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IntToData )(
  1340. ITSPlugInterFace * This,
  1341. /* [in] */ LONG value,
  1342. /* [in] */ LONG type,
  1343. /* [retval][out] */ BSTR *retstring);
  1344. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StringToData )(
  1345. ITSPlugInterFace * This,
  1346. /* [in] */ BSTR value,
  1347. /* [in] */ LONG type,
  1348. /* [retval][out] */ BSTR *retstring);
  1349. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindData )(
  1350. ITSPlugInterFace * This,
  1351. /* [in] */ LONG hwnd,
  1352. /* [in] */ BSTR addr_range,
  1353. /* [in] */ BSTR data,
  1354. /* [retval][out] */ BSTR *retstring);
  1355. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindDouble )(
  1356. ITSPlugInterFace * This,
  1357. /* [in] */ LONG hwnd,
  1358. /* [in] */ BSTR addr_range,
  1359. /* [in] */ DOUBLE double_value_min,
  1360. /* [in] */ DOUBLE double_value_max,
  1361. /* [retval][out] */ BSTR *retstring);
  1362. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindFloat )(
  1363. ITSPlugInterFace * This,
  1364. /* [in] */ LONG hwnd,
  1365. /* [in] */ BSTR addr_range,
  1366. /* [in] */ FLOAT float_value_min,
  1367. /* [in] */ FLOAT float_value_max,
  1368. /* [retval][out] */ BSTR *retstring);
  1369. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindInt )(
  1370. ITSPlugInterFace * This,
  1371. /* [in] */ LONG hwnd,
  1372. /* [in] */ BSTR addr_range,
  1373. /* [in] */ LONG int_value_min,
  1374. /* [in] */ LONG int_value_max,
  1375. /* [in] */ LONG type,
  1376. /* [retval][out] */ BSTR *retstring);
  1377. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindString )(
  1378. ITSPlugInterFace * This,
  1379. /* [in] */ LONG hwnd,
  1380. /* [in] */ BSTR addr_range,
  1381. /* [in] */ BSTR string_value,
  1382. /* [in] */ LONG type,
  1383. /* [retval][out] */ BSTR *retstring);
  1384. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReadData )(
  1385. ITSPlugInterFace * This,
  1386. /* [in] */ LONG hwnd,
  1387. /* [in] */ BSTR addr,
  1388. /* [in] */ LONG len,
  1389. /* [retval][out] */ BSTR *retstring);
  1390. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OcrEx )(
  1391. ITSPlugInterFace * This,
  1392. /* [in] */ LONG x1,
  1393. /* [in] */ LONG y1,
  1394. /* [in] */ LONG x2,
  1395. /* [in] */ LONG y2,
  1396. /* [in] */ BSTR color_format,
  1397. /* [in] */ DOUBLE sim,
  1398. /* [retval][out] */ BSTR *retstring);
  1399. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReadDouble )(
  1400. ITSPlugInterFace * This,
  1401. /* [in] */ LONG hwnd,
  1402. /* [in] */ BSTR addr,
  1403. /* [retval][out] */ DOUBLE *retdouble);
  1404. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReadFloat )(
  1405. ITSPlugInterFace * This,
  1406. /* [in] */ LONG hwnd,
  1407. /* [in] */ BSTR addr,
  1408. /* [retval][out] */ FLOAT *retfloat);
  1409. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReadInt )(
  1410. ITSPlugInterFace * This,
  1411. /* [in] */ LONG hwnd,
  1412. /* [in] */ BSTR addr,
  1413. /* [in] */ LONG type,
  1414. /* [retval][out] */ LONG *retint);
  1415. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReadString )(
  1416. ITSPlugInterFace * This,
  1417. /* [in] */ LONG hwnd,
  1418. /* [in] */ BSTR addr,
  1419. /* [in] */ LONG type,
  1420. /* [in] */ LONG len,
  1421. /* [retval][out] */ BSTR *retstring);
  1422. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TerminateProcess )(
  1423. ITSPlugInterFace * This,
  1424. /* [in] */ LONG pid,
  1425. /* [retval][out] */ LONG *bret);
  1426. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *VirtualAllocEx )(
  1427. ITSPlugInterFace * This,
  1428. /* [in] */ LONG hwnd,
  1429. /* [in] */ LONG addr,
  1430. /* [in] */ LONG size,
  1431. /* [in] */ LONG type,
  1432. /* [retval][out] */ LONG *bret);
  1433. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *VirtualFreeEx )(
  1434. ITSPlugInterFace * This,
  1435. /* [in] */ LONG hwnd,
  1436. /* [in] */ LONG addr,
  1437. /* [retval][out] */ LONG *bret);
  1438. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WriteDouble )(
  1439. ITSPlugInterFace * This,
  1440. /* [in] */ LONG hwnd,
  1441. /* [in] */ BSTR addr,
  1442. /* [in] */ DOUBLE v,
  1443. /* [retval][out] */ LONG *bret);
  1444. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WriteFloat )(
  1445. ITSPlugInterFace * This,
  1446. /* [in] */ LONG hwnd,
  1447. /* [in] */ BSTR addr,
  1448. /* [in] */ FLOAT v,
  1449. /* [retval][out] */ LONG *bret);
  1450. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WriteInt )(
  1451. ITSPlugInterFace * This,
  1452. /* [in] */ LONG hwnd,
  1453. /* [in] */ BSTR addr,
  1454. /* [in] */ LONG type,
  1455. /* [in] */ LONG v,
  1456. /* [retval][out] */ LONG *bret);
  1457. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WriteString )(
  1458. ITSPlugInterFace * This,
  1459. /* [in] */ LONG hwnd,
  1460. /* [in] */ BSTR addr,
  1461. /* [in] */ LONG type,
  1462. /* [in] */ BSTR v,
  1463. /* [retval][out] */ LONG *bret);
  1464. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WriteData )(
  1465. ITSPlugInterFace * This,
  1466. /* [in] */ LONG hwnd,
  1467. /* [in] */ BSTR addr,
  1468. /* [in] */ BSTR data,
  1469. /* [retval][out] */ LONG *nret);
  1470. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsBind )(
  1471. ITSPlugInterFace * This,
  1472. /* [in] */ LONG hwnd,
  1473. /* [retval][out] */ LONG *nret);
  1474. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindFloatEx )(
  1475. ITSPlugInterFace * This,
  1476. /* [in] */ LONG hwnd,
  1477. /* [in] */ BSTR addr_range,
  1478. /* [in] */ FLOAT float_value_min,
  1479. /* [in] */ FLOAT float_value_max,
  1480. /* [in] */ LONG step,
  1481. /* [in] */ LONG multi_thread,
  1482. /* [in] */ LONG mode,
  1483. /* [retval][out] */ BSTR *retstring);
  1484. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindDoubleEx )(
  1485. ITSPlugInterFace * This,
  1486. /* [in] */ LONG hwnd,
  1487. /* [in] */ BSTR addr_range,
  1488. /* [in] */ DOUBLE double_value_min,
  1489. /* [in] */ DOUBLE double_value_max,
  1490. /* [in] */ LONG step,
  1491. /* [in] */ LONG multi_thread,
  1492. /* [in] */ LONG mode,
  1493. /* [retval][out] */ BSTR *retstring);
  1494. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindIntEx )(
  1495. ITSPlugInterFace * This,
  1496. /* [in] */ LONG hwnd,
  1497. /* [in] */ BSTR addr_range,
  1498. /* [in] */ LONG int_value_min,
  1499. /* [in] */ LONG int_value_max,
  1500. /* [in] */ LONG type,
  1501. /* [in] */ LONG step,
  1502. /* [in] */ LONG multi_thread,
  1503. /* [in] */ LONG mode,
  1504. /* [retval][out] */ BSTR *retstring);
  1505. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindDataEx )(
  1506. ITSPlugInterFace * This,
  1507. /* [in] */ LONG hwnd,
  1508. /* [in] */ BSTR addr_range,
  1509. /* [in] */ BSTR data,
  1510. /* [in] */ LONG step,
  1511. /* [in] */ LONG multi_thread,
  1512. /* [in] */ LONG mode,
  1513. /* [retval][out] */ BSTR *retstring);
  1514. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindStringEx )(
  1515. ITSPlugInterFace * This,
  1516. /* [in] */ LONG hwnd,
  1517. /* [in] */ BSTR addr_range,
  1518. /* [in] */ BSTR string_value,
  1519. /* [in] */ LONG type,
  1520. /* [in] */ LONG step,
  1521. /* [in] */ LONG multi_thread,
  1522. /* [in] */ LONG mode,
  1523. /* [retval][out] */ BSTR *retstring);
  1524. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetModuleBaseAddr )(
  1525. ITSPlugInterFace * This,
  1526. /* [in] */ LONG hwnd,
  1527. /* [in] */ BSTR modulename,
  1528. /* [retval][out] */ LONG *nret);
  1529. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCommandLine )(
  1530. ITSPlugInterFace * This,
  1531. /* [in] */ LONG hwnd,
  1532. /* [retval][out] */ BSTR *retstring);
  1533. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AsmAdd )(
  1534. ITSPlugInterFace * This,
  1535. /* [in] */ BSTR asm_ins,
  1536. /* [retval][out] */ LONG *nret);
  1537. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AsmCall )(
  1538. ITSPlugInterFace * This,
  1539. /* [in] */ LONG hwnd,
  1540. /* [in] */ LONG mode,
  1541. /* [retval][out] */ LONG *nret);
  1542. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AsmClear )(
  1543. ITSPlugInterFace * This,
  1544. /* [retval][out] */ LONG *nret);
  1545. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AsmCode )(
  1546. ITSPlugInterFace * This,
  1547. /* [in] */ LONG base_addr,
  1548. /* [retval][out] */ BSTR *retstring);
  1549. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Assemble )(
  1550. ITSPlugInterFace * This,
  1551. /* [in] */ BSTR asm_code,
  1552. /* [in] */ LONG base_addr,
  1553. /* [in] */ LONG is_upper,
  1554. /* [retval][out] */ BSTR *retstring);
  1555. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MatchPicName )(
  1556. ITSPlugInterFace * This,
  1557. /* [in] */ BSTR pic_name,
  1558. /* [retval][out] */ BSTR *retstring);
  1559. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetShowErrorMsg )(
  1560. ITSPlugInterFace * This,
  1561. /* [in] */ LONG show,
  1562. /* [retval][out] */ LONG *nret);
  1563. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Reg )(
  1564. ITSPlugInterFace * This,
  1565. /* [in] */ BSTR reg_code,
  1566. /* [in] */ LONG type,
  1567. /* [retval][out] */ LONG *nret);
  1568. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetMachineCode )(
  1569. ITSPlugInterFace * This,
  1570. /* [retval][out] */ BSTR *retstring);
  1571. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TSGuardProtectToHide )(
  1572. ITSPlugInterFace * This,
  1573. /* [in] */ LONG enble,
  1574. /* [retval][out] */ LONG *nret);
  1575. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TSGuardProtectToHide2 )(
  1576. ITSPlugInterFace * This,
  1577. /* [in] */ LONG enable,
  1578. /* [retval][out] */ LONG *nret);
  1579. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TSGuardProtectToNP )(
  1580. ITSPlugInterFace * This,
  1581. /* [in] */ LONG enable,
  1582. /* [retval][out] */ LONG *nret);
  1583. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delay )(
  1584. ITSPlugInterFace * This,
  1585. /* [in] */ LONG mis,
  1586. /* [retval][out] */ LONG *nret);
  1587. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindStrS )(
  1588. ITSPlugInterFace * This,
  1589. /* [in] */ LONG x1,
  1590. /* [in] */ LONG y1,
  1591. /* [in] */ LONG x2,
  1592. /* [in] */ LONG y2,
  1593. /* [in] */ BSTR string,
  1594. /* [in] */ BSTR color_format,
  1595. /* [in] */ DOUBLE sim,
  1596. /* [out] */ VARIANT *intX,
  1597. /* [out] */ VARIANT *intY,
  1598. /* [retval][out] */ BSTR *retstring);
  1599. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindStrFastS )(
  1600. ITSPlugInterFace * This,
  1601. /* [in] */ LONG x1,
  1602. /* [in] */ LONG y1,
  1603. /* [in] */ LONG x2,
  1604. /* [in] */ LONG y2,
  1605. /* [in] */ BSTR string,
  1606. /* [in] */ BSTR color_format,
  1607. /* [in] */ DOUBLE sim,
  1608. /* [out] */ VARIANT *intX,
  1609. /* [out] */ VARIANT *intY,
  1610. /* [retval][out] */ BSTR *retstring);
  1611. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindStrExS )(
  1612. ITSPlugInterFace * This,
  1613. /* [in] */ LONG x1,
  1614. /* [in] */ LONG y1,
  1615. /* [in] */ LONG x2,
  1616. /* [in] */ LONG y2,
  1617. /* [in] */ BSTR string,
  1618. /* [in] */ BSTR color_format,
  1619. /* [in] */ DOUBLE sim,
  1620. /* [retval][out] */ BSTR *retstring);
  1621. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindStrFastExS )(
  1622. ITSPlugInterFace * This,
  1623. /* [in] */ LONG x1,
  1624. /* [in] */ LONG y1,
  1625. /* [in] */ LONG x2,
  1626. /* [in] */ LONG y2,
  1627. /* [in] */ BSTR string,
  1628. /* [in] */ BSTR color_format,
  1629. /* [in] */ DOUBLE sim,
  1630. /* [retval][out] */ BSTR *retstring);
  1631. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindPicS )(
  1632. ITSPlugInterFace * This,
  1633. /* [in] */ LONG x1,
  1634. /* [in] */ LONG y1,
  1635. /* [in] */ LONG x2,
  1636. /* [in] */ LONG y2,
  1637. /* [in] */ BSTR pic_name,
  1638. /* [in] */ BSTR delta_color,
  1639. /* [in] */ DOUBLE sim,
  1640. /* [in] */ LONG dir,
  1641. /* [out] */ VARIANT *intX,
  1642. /* [out] */ VARIANT *intY,
  1643. /* [retval][out] */ BSTR *retstring);
  1644. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindPicExS )(
  1645. ITSPlugInterFace * This,
  1646. /* [in] */ LONG x1,
  1647. /* [in] */ LONG y1,
  1648. /* [in] */ LONG x2,
  1649. /* [in] */ LONG y2,
  1650. /* [in] */ BSTR pic_name,
  1651. /* [in] */ BSTR delta_color,
  1652. /* [in] */ DOUBLE sim,
  1653. /* [in] */ LONG dir,
  1654. /* [retval][out] */ BSTR *retstring);
  1655. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetDictPwd )(
  1656. ITSPlugInterFace * This,
  1657. /* [in] */ BSTR pwd,
  1658. /* [retval][out] */ LONG *nret);
  1659. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetPicPwd )(
  1660. ITSPlugInterFace * This,
  1661. /* [in] */ BSTR pwd,
  1662. /* [retval][out] */ LONG *nret);
  1663. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LeftDoubleClick )(
  1664. ITSPlugInterFace * This,
  1665. /* [retval][out] */ LONG *nret);
  1666. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FreeProcessMemory )(
  1667. ITSPlugInterFace * This,
  1668. /* [in] */ LONG hwnd,
  1669. /* [retval][out] */ LONG *nret);
  1670. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TSDXGraphicProtect )(
  1671. ITSPlugInterFace * This,
  1672. /* [in] */ LONG enable,
  1673. /* [retval][out] */ LONG *nret);
  1674. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TSDXKmProtect )(
  1675. ITSPlugInterFace * This,
  1676. /* [in] */ LONG enable,
  1677. /* [in] */ BSTR type,
  1678. /* [retval][out] */ LONG *nret);
  1679. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CheckFontSmooth )(
  1680. ITSPlugInterFace * This,
  1681. /* [retval][out] */ LONG *nret);
  1682. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DisableFontSmooth )(
  1683. ITSPlugInterFace * This,
  1684. /* [retval][out] */ LONG *nret);
  1685. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetScreenData )(
  1686. ITSPlugInterFace * This,
  1687. /* [in] */ LONG x1,
  1688. /* [in] */ LONG y1,
  1689. /* [in] */ LONG x2,
  1690. /* [in] */ LONG y2,
  1691. /* [retval][out] */ LONG *RetAddr);
  1692. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnableRealMouse )(
  1693. ITSPlugInterFace * This,
  1694. /* [in] */ ULONG enable,
  1695. /* [in] */ ULONG mousedelay,
  1696. /* [in] */ ULONG mousestep,
  1697. /* [retval][out] */ ULONG *nret);
  1698. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnableRealKeypad )(
  1699. ITSPlugInterFace * This,
  1700. /* [in] */ ULONG enable,
  1701. /* [retval][out] */ ULONG *nret);
  1702. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveToEx )(
  1703. ITSPlugInterFace * This,
  1704. /* [in] */ ULONG x,
  1705. /* [in] */ ULONG y,
  1706. /* [in] */ ULONG w,
  1707. /* [in] */ ULONG h,
  1708. /* [retval][out] */ BSTR *retstring);
  1709. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CheckUAC )(
  1710. ITSPlugInterFace * This,
  1711. /* [retval][out] */ ULONG *nret);
  1712. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetUAC )(
  1713. ITSPlugInterFace * This,
  1714. /* [in] */ ULONG enable,
  1715. /* [retval][out] */ ULONG *nret);
  1716. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WaitKey )(
  1717. ITSPlugInterFace * This,
  1718. /* [in] */ ULONG vk_code,
  1719. /* [in] */ ULONG time_out,
  1720. /* [retval][out] */ ULONG *nret);
  1721. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindMultiColor )(
  1722. ITSPlugInterFace * This,
  1723. /* [in] */ ULONG x1,
  1724. /* [in] */ ULONG y1,
  1725. /* [in] */ ULONG x2,
  1726. /* [in] */ ULONG y2,
  1727. /* [in] */ BSTR first_color,
  1728. /* [in] */ BSTR offset_color,
  1729. /* [in] */ DOUBLE sim,
  1730. /* [in] */ ULONG dir,
  1731. /* [out] */ VARIANT *intX,
  1732. /* [out] */ VARIANT *intY,
  1733. /* [retval][out] */ ULONG *nret);
  1734. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindMultiColorEx )(
  1735. ITSPlugInterFace * This,
  1736. /* [in] */ ULONG x1,
  1737. /* [in] */ ULONG y1,
  1738. /* [in] */ ULONG x2,
  1739. /* [in] */ ULONG y2,
  1740. /* [in] */ BSTR first_color,
  1741. /* [in] */ BSTR offset_color,
  1742. /* [in] */ DOUBLE sim,
  1743. /* [in] */ ULONG dir,
  1744. /* [retval][out] */ BSTR *retstring);
  1745. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetSimMode )(
  1746. ITSPlugInterFace * This,
  1747. /* [in] */ ULONG mode,
  1748. /* [retval][out] */ ULONG *nret);
  1749. END_INTERFACE
  1750. } ITSPlugInterFaceVtbl;
  1751. interface ITSPlugInterFace
  1752. {
  1753. CONST_VTBL struct ITSPlugInterFaceVtbl *lpVtbl;
  1754. };
  1755. #ifdef COBJMACROS
  1756. #define ITSPlugInterFace_QueryInterface(This,riid,ppvObject) \
  1757. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  1758. #define ITSPlugInterFace_AddRef(This) \
  1759. ( (This)->lpVtbl -> AddRef(This) )
  1760. #define ITSPlugInterFace_Release(This) \
  1761. ( (This)->lpVtbl -> Release(This) )
  1762. #define ITSPlugInterFace_GetTypeInfoCount(This,pctinfo) \
  1763. ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
  1764. #define ITSPlugInterFace_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1765. ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
  1766. #define ITSPlugInterFace_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1767. ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
  1768. #define ITSPlugInterFace_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1769. ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
  1770. #define ITSPlugInterFace_BindWindow(This,hwnd,display,mouse,keypad,mode,nret) \
  1771. ( (This)->lpVtbl -> BindWindow(This,hwnd,display,mouse,keypad,mode,nret) )
  1772. #define ITSPlugInterFace_BindWindowEx(This,hwnd,display,mouse,keypad,publics,mode,nret) \
  1773. ( (This)->lpVtbl -> BindWindowEx(This,hwnd,display,mouse,keypad,publics,mode,nret) )
  1774. #define ITSPlugInterFace_UnBindWindow(This,nret) \
  1775. ( (This)->lpVtbl -> UnBindWindow(This,nret) )
  1776. #define ITSPlugInterFace_KeyDown(This,vk_code,nret) \
  1777. ( (This)->lpVtbl -> KeyDown(This,vk_code,nret) )
  1778. #define ITSPlugInterFace_KeyUp(This,vk_code,nret) \
  1779. ( (This)->lpVtbl -> KeyUp(This,vk_code,nret) )
  1780. #define ITSPlugInterFace_KeyPress(This,vk_code,nret) \
  1781. ( (This)->lpVtbl -> KeyPress(This,vk_code,nret) )
  1782. #define ITSPlugInterFace_LeftDown(This,nret) \
  1783. ( (This)->lpVtbl -> LeftDown(This,nret) )
  1784. #define ITSPlugInterFace_LeftUp(This,nret) \
  1785. ( (This)->lpVtbl -> LeftUp(This,nret) )
  1786. #define ITSPlugInterFace_LeftClick(This,nret) \
  1787. ( (This)->lpVtbl -> LeftClick(This,nret) )
  1788. #define ITSPlugInterFace_MoveTo(This,x,y,nret) \
  1789. ( (This)->lpVtbl -> MoveTo(This,x,y,nret) )
  1790. #define ITSPlugInterFace_FindPic(This,x1,y1,x2,y2,pic_name,delta_color,sim,dir,intX,intY,nret) \
  1791. ( (This)->lpVtbl -> FindPic(This,x1,y1,x2,y2,pic_name,delta_color,sim,dir,intX,intY,nret) )
  1792. #define ITSPlugInterFace_RightClick(This,nret) \
  1793. ( (This)->lpVtbl -> RightClick(This,nret) )
  1794. #define ITSPlugInterFace_RightDown(This,nret) \
  1795. ( (This)->lpVtbl -> RightDown(This,nret) )
  1796. #define ITSPlugInterFace_FindColor(This,x1,y1,x2,y2,color,sim,dir,intX,intY,nret) \
  1797. ( (This)->lpVtbl -> FindColor(This,x1,y1,x2,y2,color,sim,dir,intX,intY,nret) )
  1798. #define ITSPlugInterFace_RightUp(This,nret) \
  1799. ( (This)->lpVtbl -> RightUp(This,nret) )
  1800. #define ITSPlugInterFace_GetColor(This,x,y,RetStrColor) \
  1801. ( (This)->lpVtbl -> GetColor(This,x,y,RetStrColor) )
  1802. #define ITSPlugInterFace_GetCursorShape(This,RetCursorShape) \
  1803. ( (This)->lpVtbl -> GetCursorShape(This,RetCursorShape) )
  1804. #define ITSPlugInterFace_SetPath(This,path,nret) \
  1805. ( (This)->lpVtbl -> SetPath(This,path,nret) )
  1806. #define ITSPlugInterFace_TSGuardProtect(This,enable,type,nret) \
  1807. ( (This)->lpVtbl -> TSGuardProtect(This,enable,type,nret) )
  1808. #define ITSPlugInterFace_KeyPressStr(This,key_str,delay,nret) \
  1809. ( (This)->lpVtbl -> KeyPressStr(This,key_str,delay,nret) )
  1810. #define ITSPlugInterFace_SendString(This,hwnd,str,nret) \
  1811. ( (This)->lpVtbl -> SendString(This,hwnd,str,nret) )
  1812. #define ITSPlugInterFace_SendString2(This,hwnd,str,nret) \
  1813. ( (This)->lpVtbl -> SendString2(This,hwnd,str,nret) )
  1814. #define ITSPlugInterFace_KeyPressChar(This,key_str,nret) \
  1815. ( (This)->lpVtbl -> KeyPressChar(This,key_str,nret) )
  1816. #define ITSPlugInterFace_KeyDownChar(This,key_str,nret) \
  1817. ( (This)->lpVtbl -> KeyDownChar(This,key_str,nret) )
  1818. #define ITSPlugInterFace_KeyUpChar(This,key_str,nret) \
  1819. ( (This)->lpVtbl -> KeyUpChar(This,key_str,nret) )
  1820. #define ITSPlugInterFace_GetCursorPos(This,x,y,nret) \
  1821. ( (This)->lpVtbl -> GetCursorPos(This,x,y,nret) )
  1822. #define ITSPlugInterFace_MoveR(This,rx,ry,rnet) \
  1823. ( (This)->lpVtbl -> MoveR(This,rx,ry,rnet) )
  1824. #define ITSPlugInterFace_Ver(This,retver) \
  1825. ( (This)->lpVtbl -> Ver(This,retver) )
  1826. #define ITSPlugInterFace_GetPath(This,retpath) \
  1827. ( (This)->lpVtbl -> GetPath(This,retpath) )
  1828. #define ITSPlugInterFace_MiddleClick(This,nret) \
  1829. ( (This)->lpVtbl -> MiddleClick(This,nret) )
  1830. #define ITSPlugInterFace_WheelDown(This,nret) \
  1831. ( (This)->lpVtbl -> WheelDown(This,nret) )
  1832. #define ITSPlugInterFace_WheelUp(This,nret) \
  1833. ( (This)->lpVtbl -> WheelUp(This,nret) )
  1834. #define ITSPlugInterFace_Capture(This,x1,y1,x2,y2,file,nret) \
  1835. ( (This)->lpVtbl -> Capture(This,x1,y1,x2,y2,file,nret) )
  1836. #define ITSPlugInterFace_CaptureJpg(This,x1,y1,x2,y2,file,nret) \
  1837. ( (This)->lpVtbl -> CaptureJpg(This,x1,y1,x2,y2,file,nret) )
  1838. #define ITSPlugInterFace_CapturePng(This,x1,y1,x2,y2,file,nret) \
  1839. ( (This)->lpVtbl -> CapturePng(This,x1,y1,x2,y2,file,nret) )
  1840. #define ITSPlugInterFace_LockInput(This,lock,nret) \
  1841. ( (This)->lpVtbl -> LockInput(This,lock,nret) )
  1842. #define ITSPlugInterFace_Ocr(This,x1,y1,x2,y2,color_format,sim,retstr) \
  1843. ( (This)->lpVtbl -> Ocr(This,x1,y1,x2,y2,color_format,sim,retstr) )
  1844. #define ITSPlugInterFace_SetDict(This,index,file,nret) \
  1845. ( (This)->lpVtbl -> SetDict(This,index,file,nret) )
  1846. #define ITSPlugInterFace_UseDict(This,index,nret) \
  1847. ( (This)->lpVtbl -> UseDict(This,index,nret) )
  1848. #define ITSPlugInterFace_ClearDict(This,index,nret) \
  1849. ( (This)->lpVtbl -> ClearDict(This,index,nret) )
  1850. #define ITSPlugInterFace_FindStr(This,x1,y1,x2,y2,string,color_format,sim,intX,intY,nret) \
  1851. ( (This)->lpVtbl -> FindStr(This,x1,y1,x2,y2,string,color_format,sim,intX,intY,nret) )
  1852. #define ITSPlugInterFace_FindStrFast(This,x1,y1,x2,y2,string,color_format,sim,intX,intY,nret) \
  1853. ( (This)->lpVtbl -> FindStrFast(This,x1,y1,x2,y2,string,color_format,sim,intX,intY,nret) )
  1854. #define ITSPlugInterFace_GetNowDict(This,nret) \
  1855. ( (This)->lpVtbl -> GetNowDict(This,nret) )
  1856. #define ITSPlugInterFace_GetBasePath(This,retpath) \
  1857. ( (This)->lpVtbl -> GetBasePath(This,retpath) )
  1858. #define ITSPlugInterFace_IsDisplayDead(This,x1,y1,x2,y2,t,bret) \
  1859. ( (This)->lpVtbl -> IsDisplayDead(This,x1,y1,x2,y2,t,bret) )
  1860. #define ITSPlugInterFace_FindPicEx(This,x1,y1,x2,y2,pic_name,delta_color,sim,dir,retstring) \
  1861. ( (This)->lpVtbl -> FindPicEx(This,x1,y1,x2,y2,pic_name,delta_color,sim,dir,retstring) )
  1862. #define ITSPlugInterFace_FindStrEx(This,x1,y1,x2,y2,string,color_format,sim,retstring) \
  1863. ( (This)->lpVtbl -> FindStrEx(This,x1,y1,x2,y2,string,color_format,sim,retstring) )
  1864. #define ITSPlugInterFace_FindStrFastEx(This,x1,y1,x2,y2,string,color_format,sim,retstring) \
  1865. ( (This)->lpVtbl -> FindStrFastEx(This,x1,y1,x2,y2,string,color_format,sim,retstring) )
  1866. #define ITSPlugInterFace_CaptureGif(This,x1,y1,x2,y2,file,delay,time,nret) \
  1867. ( (This)->lpVtbl -> CaptureGif(This,x1,y1,x2,y2,file,delay,time,nret) )
  1868. #define ITSPlugInterFace_DownCpu(This,rate,nret) \
  1869. ( (This)->lpVtbl -> DownCpu(This,rate,nret) )
  1870. #define ITSPlugInterFace_SetKeypadDelay(This,type,delay,nret) \
  1871. ( (This)->lpVtbl -> SetKeypadDelay(This,type,delay,nret) )
  1872. #define ITSPlugInterFace_SetMouseDelay(This,type,delay,nret) \
  1873. ( (This)->lpVtbl -> SetMouseDelay(This,type,delay,nret) )
  1874. #define ITSPlugInterFace_CmpColor(This,x,y,color,sim,nret) \
  1875. ( (This)->lpVtbl -> CmpColor(This,x,y,color,sim,nret) )
  1876. #define ITSPlugInterFace_SendStringIme(This,str,nret) \
  1877. ( (This)->lpVtbl -> SendStringIme(This,str,nret) )
  1878. #define ITSPlugInterFace_FindColorEx(This,x1,y1,x2,y2,color,sim,dir,retstring) \
  1879. ( (This)->lpVtbl -> FindColorEx(This,x1,y1,x2,y2,color,sim,dir,retstring) )
  1880. #define ITSPlugInterFace_EnumWindow(This,parent,title,class_name,filter,retstr) \
  1881. ( (This)->lpVtbl -> EnumWindow(This,parent,title,class_name,filter,retstr) )
  1882. #define ITSPlugInterFace_EnumWindowByProcess(This,process_name,title,class_name,filter,retstring) \
  1883. ( (This)->lpVtbl -> EnumWindowByProcess(This,process_name,title,class_name,filter,retstring) )
  1884. #define ITSPlugInterFace_EnumProcess(This,name,retstring) \
  1885. ( (This)->lpVtbl -> EnumProcess(This,name,retstring) )
  1886. #define ITSPlugInterFace_ClientToScreen(This,ClientToScreen,x,y,bret) \
  1887. ( (This)->lpVtbl -> ClientToScreen(This,ClientToScreen,x,y,bret) )
  1888. #define ITSPlugInterFace_FindWindow(This,class_name,title,rethwnd) \
  1889. ( (This)->lpVtbl -> FindWindow(This,class_name,title,rethwnd) )
  1890. #define ITSPlugInterFace_FindWindowByProcess(This,process_name,class_name,title,rethwnd) \
  1891. ( (This)->lpVtbl -> FindWindowByProcess(This,process_name,class_name,title,rethwnd) )
  1892. #define ITSPlugInterFace_FindWindowByProcessId(This,process_id,class_name,title,rethwnd) \
  1893. ( (This)->lpVtbl -> FindWindowByProcessId(This,process_id,class_name,title,rethwnd) )
  1894. #define ITSPlugInterFace_FindWindowEx(This,parent,class_name,title,rethwnd) \
  1895. ( (This)->lpVtbl -> FindWindowEx(This,parent,class_name,title,rethwnd) )
  1896. #define ITSPlugInterFace_GetClientRect(This,hwnd,x1,y1,x2,y2,nret) \
  1897. ( (This)->lpVtbl -> GetClientRect(This,hwnd,x1,y1,x2,y2,nret) )
  1898. #define ITSPlugInterFace_GetClientSize(This,hwnd,width,height,nret) \
  1899. ( (This)->lpVtbl -> GetClientSize(This,hwnd,width,height,nret) )
  1900. #define ITSPlugInterFace_GetForegroundFocus(This,rethwnd) \
  1901. ( (This)->lpVtbl -> GetForegroundFocus(This,rethwnd) )
  1902. #define ITSPlugInterFace_GetForegroundWindow(This,rethwnd) \
  1903. ( (This)->lpVtbl -> GetForegroundWindow(This,rethwnd) )
  1904. #define ITSPlugInterFace_GetMousePointWindow(This,rethwnd) \
  1905. ( (This)->lpVtbl -> GetMousePointWindow(This,rethwnd) )
  1906. #define ITSPlugInterFace_GetPointWindow(This,x,y,rethwnd) \
  1907. ( (This)->lpVtbl -> GetPointWindow(This,x,y,rethwnd) )
  1908. #define ITSPlugInterFace_GetProcessInfo(This,pid,retstring) \
  1909. ( (This)->lpVtbl -> GetProcessInfo(This,pid,retstring) )
  1910. #define ITSPlugInterFace_GetSpecialWindow(This,flag,rethwnd) \
  1911. ( (This)->lpVtbl -> GetSpecialWindow(This,flag,rethwnd) )
  1912. #define ITSPlugInterFace_GetWindow(This,hwnd,flag,nret) \
  1913. ( (This)->lpVtbl -> GetWindow(This,hwnd,flag,nret) )
  1914. #define ITSPlugInterFace_GetWindowClass(This,hwnd,retstring) \
  1915. ( (This)->lpVtbl -> GetWindowClass(This,hwnd,retstring) )
  1916. #define ITSPlugInterFace_GetWindowProcessId(This,hwnd,nretpid) \
  1917. ( (This)->lpVtbl -> GetWindowProcessId(This,hwnd,nretpid) )
  1918. #define ITSPlugInterFace_GetWindowProcessPath(This,hwnd,retstring) \
  1919. ( (This)->lpVtbl -> GetWindowProcessPath(This,hwnd,retstring) )
  1920. #define ITSPlugInterFace_GetWindowRect(This,hwnd,x1,y1,x2,y2,nret) \
  1921. ( (This)->lpVtbl -> GetWindowRect(This,hwnd,x1,y1,x2,y2,nret) )
  1922. #define ITSPlugInterFace_GetWindowState(This,hwnd,flag,rethwnd) \
  1923. ( (This)->lpVtbl -> GetWindowState(This,hwnd,flag,rethwnd) )
  1924. #define ITSPlugInterFace_GetWindowTitle(This,hwnd,rettitle) \
  1925. ( (This)->lpVtbl -> GetWindowTitle(This,hwnd,rettitle) )
  1926. #define ITSPlugInterFace_MoveWindow(This,hwnd,x,y,nret) \
  1927. ( (This)->lpVtbl -> MoveWindow(This,hwnd,x,y,nret) )
  1928. #define ITSPlugInterFace_ScreenToClient(This,hwnd,x,y,nret) \
  1929. ( (This)->lpVtbl -> ScreenToClient(This,hwnd,x,y,nret) )
  1930. #define ITSPlugInterFace_SendPaste(This,hwnd,nret) \
  1931. ( (This)->lpVtbl -> SendPaste(This,hwnd,nret) )
  1932. #define ITSPlugInterFace_SetClientSize(This,hwnd,width,hight,nret) \
  1933. ( (This)->lpVtbl -> SetClientSize(This,hwnd,width,hight,nret) )
  1934. #define ITSPlugInterFace_SetWindowState(This,hwnd,flag,nret) \
  1935. ( (This)->lpVtbl -> SetWindowState(This,hwnd,flag,nret) )
  1936. #define ITSPlugInterFace_SetWindowSize(This,hwnd,width,height,nret) \
  1937. ( (This)->lpVtbl -> SetWindowSize(This,hwnd,width,height,nret) )
  1938. #define ITSPlugInterFace_SetWindowText(This,hwnd,title,nret) \
  1939. ( (This)->lpVtbl -> SetWindowText(This,hwnd,title,nret) )
  1940. #define ITSPlugInterFace_SetWindowTransparent(This,hwnd,trans,nret) \
  1941. ( (This)->lpVtbl -> SetWindowTransparent(This,hwnd,trans,nret) )
  1942. #define ITSPlugInterFace_SetClipboard(This,value,nret) \
  1943. ( (This)->lpVtbl -> SetClipboard(This,value,nret) )
  1944. #define ITSPlugInterFace_GetClipboard(This,retstring) \
  1945. ( (This)->lpVtbl -> GetClipboard(This,retstring) )
  1946. #define ITSPlugInterFace_DoubleToData(This,value,retstring) \
  1947. ( (This)->lpVtbl -> DoubleToData(This,value,retstring) )
  1948. #define ITSPlugInterFace_FloatToData(This,value,retstring) \
  1949. ( (This)->lpVtbl -> FloatToData(This,value,retstring) )
  1950. #define ITSPlugInterFace_IntToData(This,value,type,retstring) \
  1951. ( (This)->lpVtbl -> IntToData(This,value,type,retstring) )
  1952. #define ITSPlugInterFace_StringToData(This,value,type,retstring) \
  1953. ( (This)->lpVtbl -> StringToData(This,value,type,retstring) )
  1954. #define ITSPlugInterFace_FindData(This,hwnd,addr_range,data,retstring) \
  1955. ( (This)->lpVtbl -> FindData(This,hwnd,addr_range,data,retstring) )
  1956. #define ITSPlugInterFace_FindDouble(This,hwnd,addr_range,double_value_min,double_value_max,retstring) \
  1957. ( (This)->lpVtbl -> FindDouble(This,hwnd,addr_range,double_value_min,double_value_max,retstring) )
  1958. #define ITSPlugInterFace_FindFloat(This,hwnd,addr_range,float_value_min,float_value_max,retstring) \
  1959. ( (This)->lpVtbl -> FindFloat(This,hwnd,addr_range,float_value_min,float_value_max,retstring) )
  1960. #define ITSPlugInterFace_FindInt(This,hwnd,addr_range,int_value_min,int_value_max,type,retstring) \
  1961. ( (This)->lpVtbl -> FindInt(This,hwnd,addr_range,int_value_min,int_value_max,type,retstring) )
  1962. #define ITSPlugInterFace_FindString(This,hwnd,addr_range,string_value,type,retstring) \
  1963. ( (This)->lpVtbl -> FindString(This,hwnd,addr_range,string_value,type,retstring) )
  1964. #define ITSPlugInterFace_ReadData(This,hwnd,addr,len,retstring) \
  1965. ( (This)->lpVtbl -> ReadData(This,hwnd,addr,len,retstring) )
  1966. #define ITSPlugInterFace_OcrEx(This,x1,y1,x2,y2,color_format,sim,retstring) \
  1967. ( (This)->lpVtbl -> OcrEx(This,x1,y1,x2,y2,color_format,sim,retstring) )
  1968. #define ITSPlugInterFace_ReadDouble(This,hwnd,addr,retdouble) \
  1969. ( (This)->lpVtbl -> ReadDouble(This,hwnd,addr,retdouble) )
  1970. #define ITSPlugInterFace_ReadFloat(This,hwnd,addr,retfloat) \
  1971. ( (This)->lpVtbl -> ReadFloat(This,hwnd,addr,retfloat) )
  1972. #define ITSPlugInterFace_ReadInt(This,hwnd,addr,type,retint) \
  1973. ( (This)->lpVtbl -> ReadInt(This,hwnd,addr,type,retint) )
  1974. #define ITSPlugInterFace_ReadString(This,hwnd,addr,type,len,retstring) \
  1975. ( (This)->lpVtbl -> ReadString(This,hwnd,addr,type,len,retstring) )
  1976. #define ITSPlugInterFace_TerminateProcess(This,pid,bret) \
  1977. ( (This)->lpVtbl -> TerminateProcess(This,pid,bret) )
  1978. #define ITSPlugInterFace_VirtualAllocEx(This,hwnd,addr,size,type,bret) \
  1979. ( (This)->lpVtbl -> VirtualAllocEx(This,hwnd,addr,size,type,bret) )
  1980. #define ITSPlugInterFace_VirtualFreeEx(This,hwnd,addr,bret) \
  1981. ( (This)->lpVtbl -> VirtualFreeEx(This,hwnd,addr,bret) )
  1982. #define ITSPlugInterFace_WriteDouble(This,hwnd,addr,v,bret) \
  1983. ( (This)->lpVtbl -> WriteDouble(This,hwnd,addr,v,bret) )
  1984. #define ITSPlugInterFace_WriteFloat(This,hwnd,addr,v,bret) \
  1985. ( (This)->lpVtbl -> WriteFloat(This,hwnd,addr,v,bret) )
  1986. #define ITSPlugInterFace_WriteInt(This,hwnd,addr,type,v,bret) \
  1987. ( (This)->lpVtbl -> WriteInt(This,hwnd,addr,type,v,bret) )
  1988. #define ITSPlugInterFace_WriteString(This,hwnd,addr,type,v,bret) \
  1989. ( (This)->lpVtbl -> WriteString(This,hwnd,addr,type,v,bret) )
  1990. #define ITSPlugInterFace_WriteData(This,hwnd,addr,data,nret) \
  1991. ( (This)->lpVtbl -> WriteData(This,hwnd,addr,data,nret) )
  1992. #define ITSPlugInterFace_IsBind(This,hwnd,nret) \
  1993. ( (This)->lpVtbl -> IsBind(This,hwnd,nret) )
  1994. #define ITSPlugInterFace_FindFloatEx(This,hwnd,addr_range,float_value_min,float_value_max,step,multi_thread,mode,retstring) \
  1995. ( (This)->lpVtbl -> FindFloatEx(This,hwnd,addr_range,float_value_min,float_value_max,step,multi_thread,mode,retstring) )
  1996. #define ITSPlugInterFace_FindDoubleEx(This,hwnd,addr_range,double_value_min,double_value_max,step,multi_thread,mode,retstring) \
  1997. ( (This)->lpVtbl -> FindDoubleEx(This,hwnd,addr_range,double_value_min,double_value_max,step,multi_thread,mode,retstring) )
  1998. #define ITSPlugInterFace_FindIntEx(This,hwnd,addr_range,int_value_min,int_value_max,type,step,multi_thread,mode,retstring) \
  1999. ( (This)->lpVtbl -> FindIntEx(This,hwnd,addr_range,int_value_min,int_value_max,type,step,multi_thread,mode,retstring) )
  2000. #define ITSPlugInterFace_FindDataEx(This,hwnd,addr_range,data,step,multi_thread,mode,retstring) \
  2001. ( (This)->lpVtbl -> FindDataEx(This,hwnd,addr_range,data,step,multi_thread,mode,retstring) )
  2002. #define ITSPlugInterFace_FindStringEx(This,hwnd,addr_range,string_value,type,step,multi_thread,mode,retstring) \
  2003. ( (This)->lpVtbl -> FindStringEx(This,hwnd,addr_range,string_value,type,step,multi_thread,mode,retstring) )
  2004. #define ITSPlugInterFace_GetModuleBaseAddr(This,hwnd,modulename,nret) \
  2005. ( (This)->lpVtbl -> GetModuleBaseAddr(This,hwnd,modulename,nret) )
  2006. #define ITSPlugInterFace_GetCommandLine(This,hwnd,retstring) \
  2007. ( (This)->lpVtbl -> GetCommandLine(This,hwnd,retstring) )
  2008. #define ITSPlugInterFace_AsmAdd(This,asm_ins,nret) \
  2009. ( (This)->lpVtbl -> AsmAdd(This,asm_ins,nret) )
  2010. #define ITSPlugInterFace_AsmCall(This,hwnd,mode,nret) \
  2011. ( (This)->lpVtbl -> AsmCall(This,hwnd,mode,nret) )
  2012. #define ITSPlugInterFace_AsmClear(This,nret) \
  2013. ( (This)->lpVtbl -> AsmClear(This,nret) )
  2014. #define ITSPlugInterFace_AsmCode(This,base_addr,retstring) \
  2015. ( (This)->lpVtbl -> AsmCode(This,base_addr,retstring) )
  2016. #define ITSPlugInterFace_Assemble(This,asm_code,base_addr,is_upper,retstring) \
  2017. ( (This)->lpVtbl -> Assemble(This,asm_code,base_addr,is_upper,retstring) )
  2018. #define ITSPlugInterFace_MatchPicName(This,pic_name,retstring) \
  2019. ( (This)->lpVtbl -> MatchPicName(This,pic_name,retstring) )
  2020. #define ITSPlugInterFace_SetShowErrorMsg(This,show,nret) \
  2021. ( (This)->lpVtbl -> SetShowErrorMsg(This,show,nret) )
  2022. #define ITSPlugInterFace_Reg(This,reg_code,type,nret) \
  2023. ( (This)->lpVtbl -> Reg(This,reg_code,type,nret) )
  2024. #define ITSPlugInterFace_GetMachineCode(This,retstring) \
  2025. ( (This)->lpVtbl -> GetMachineCode(This,retstring) )
  2026. #define ITSPlugInterFace_TSGuardProtectToHide(This,enble,nret) \
  2027. ( (This)->lpVtbl -> TSGuardProtectToHide(This,enble,nret) )
  2028. #define ITSPlugInterFace_TSGuardProtectToHide2(This,enable,nret) \
  2029. ( (This)->lpVtbl -> TSGuardProtectToHide2(This,enable,nret) )
  2030. #define ITSPlugInterFace_TSGuardProtectToNP(This,enable,nret) \
  2031. ( (This)->lpVtbl -> TSGuardProtectToNP(This,enable,nret) )
  2032. #define ITSPlugInterFace_Delay(This,mis,nret) \
  2033. ( (This)->lpVtbl -> Delay(This,mis,nret) )
  2034. #define ITSPlugInterFace_FindStrS(This,x1,y1,x2,y2,string,color_format,sim,intX,intY,retstring) \
  2035. ( (This)->lpVtbl -> FindStrS(This,x1,y1,x2,y2,string,color_format,sim,intX,intY,retstring) )
  2036. #define ITSPlugInterFace_FindStrFastS(This,x1,y1,x2,y2,string,color_format,sim,intX,intY,retstring) \
  2037. ( (This)->lpVtbl -> FindStrFastS(This,x1,y1,x2,y2,string,color_format,sim,intX,intY,retstring) )
  2038. #define ITSPlugInterFace_FindStrExS(This,x1,y1,x2,y2,string,color_format,sim,retstring) \
  2039. ( (This)->lpVtbl -> FindStrExS(This,x1,y1,x2,y2,string,color_format,sim,retstring) )
  2040. #define ITSPlugInterFace_FindStrFastExS(This,x1,y1,x2,y2,string,color_format,sim,retstring) \
  2041. ( (This)->lpVtbl -> FindStrFastExS(This,x1,y1,x2,y2,string,color_format,sim,retstring) )
  2042. #define ITSPlugInterFace_FindPicS(This,x1,y1,x2,y2,pic_name,delta_color,sim,dir,intX,intY,retstring) \
  2043. ( (This)->lpVtbl -> FindPicS(This,x1,y1,x2,y2,pic_name,delta_color,sim,dir,intX,intY,retstring) )
  2044. #define ITSPlugInterFace_FindPicExS(This,x1,y1,x2,y2,pic_name,delta_color,sim,dir,retstring) \
  2045. ( (This)->lpVtbl -> FindPicExS(This,x1,y1,x2,y2,pic_name,delta_color,sim,dir,retstring) )
  2046. #define ITSPlugInterFace_SetDictPwd(This,pwd,nret) \
  2047. ( (This)->lpVtbl -> SetDictPwd(This,pwd,nret) )
  2048. #define ITSPlugInterFace_SetPicPwd(This,pwd,nret) \
  2049. ( (This)->lpVtbl -> SetPicPwd(This,pwd,nret) )
  2050. #define ITSPlugInterFace_LeftDoubleClick(This,nret) \
  2051. ( (This)->lpVtbl -> LeftDoubleClick(This,nret) )
  2052. #define ITSPlugInterFace_FreeProcessMemory(This,hwnd,nret) \
  2053. ( (This)->lpVtbl -> FreeProcessMemory(This,hwnd,nret) )
  2054. #define ITSPlugInterFace_TSDXGraphicProtect(This,enable,nret) \
  2055. ( (This)->lpVtbl -> TSDXGraphicProtect(This,enable,nret) )
  2056. #define ITSPlugInterFace_TSDXKmProtect(This,enable,type,nret) \
  2057. ( (This)->lpVtbl -> TSDXKmProtect(This,enable,type,nret) )
  2058. #define ITSPlugInterFace_CheckFontSmooth(This,nret) \
  2059. ( (This)->lpVtbl -> CheckFontSmooth(This,nret) )
  2060. #define ITSPlugInterFace_DisableFontSmooth(This,nret) \
  2061. ( (This)->lpVtbl -> DisableFontSmooth(This,nret) )
  2062. #define ITSPlugInterFace_GetScreenData(This,x1,y1,x2,y2,RetAddr) \
  2063. ( (This)->lpVtbl -> GetScreenData(This,x1,y1,x2,y2,RetAddr) )
  2064. #define ITSPlugInterFace_EnableRealMouse(This,enable,mousedelay,mousestep,nret) \
  2065. ( (This)->lpVtbl -> EnableRealMouse(This,enable,mousedelay,mousestep,nret) )
  2066. #define ITSPlugInterFace_EnableRealKeypad(This,enable,nret) \
  2067. ( (This)->lpVtbl -> EnableRealKeypad(This,enable,nret) )
  2068. #define ITSPlugInterFace_MoveToEx(This,x,y,w,h,retstring) \
  2069. ( (This)->lpVtbl -> MoveToEx(This,x,y,w,h,retstring) )
  2070. #define ITSPlugInterFace_CheckUAC(This,nret) \
  2071. ( (This)->lpVtbl -> CheckUAC(This,nret) )
  2072. #define ITSPlugInterFace_SetUAC(This,enable,nret) \
  2073. ( (This)->lpVtbl -> SetUAC(This,enable,nret) )
  2074. #define ITSPlugInterFace_WaitKey(This,vk_code,time_out,nret) \
  2075. ( (This)->lpVtbl -> WaitKey(This,vk_code,time_out,nret) )
  2076. #define ITSPlugInterFace_FindMultiColor(This,x1,y1,x2,y2,first_color,offset_color,sim,dir,intX,intY,nret) \
  2077. ( (This)->lpVtbl -> FindMultiColor(This,x1,y1,x2,y2,first_color,offset_color,sim,dir,intX,intY,nret) )
  2078. #define ITSPlugInterFace_FindMultiColorEx(This,x1,y1,x2,y2,first_color,offset_color,sim,dir,retstring) \
  2079. ( (This)->lpVtbl -> FindMultiColorEx(This,x1,y1,x2,y2,first_color,offset_color,sim,dir,retstring) )
  2080. #define ITSPlugInterFace_SetSimMode(This,mode,nret) \
  2081. ( (This)->lpVtbl -> SetSimMode(This,mode,nret) )
  2082. #endif /* COBJMACROS */
  2083. #endif /* C style interface */
  2084. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_AsmClear_Proxy(
  2085. ITSPlugInterFace * This,
  2086. /* [retval][out] */ LONG *nret);
  2087. void __RPC_STUB ITSPlugInterFace_AsmClear_Stub(
  2088. IRpcStubBuffer *This,
  2089. IRpcChannelBuffer *_pRpcChannelBuffer,
  2090. PRPC_MESSAGE _pRpcMessage,
  2091. DWORD *_pdwStubPhase);
  2092. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_AsmCode_Proxy(
  2093. ITSPlugInterFace * This,
  2094. /* [in] */ LONG base_addr,
  2095. /* [retval][out] */ BSTR *retstring);
  2096. void __RPC_STUB ITSPlugInterFace_AsmCode_Stub(
  2097. IRpcStubBuffer *This,
  2098. IRpcChannelBuffer *_pRpcChannelBuffer,
  2099. PRPC_MESSAGE _pRpcMessage,
  2100. DWORD *_pdwStubPhase);
  2101. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_Assemble_Proxy(
  2102. ITSPlugInterFace * This,
  2103. /* [in] */ BSTR asm_code,
  2104. /* [in] */ LONG base_addr,
  2105. /* [in] */ LONG is_upper,
  2106. /* [retval][out] */ BSTR *retstring);
  2107. void __RPC_STUB ITSPlugInterFace_Assemble_Stub(
  2108. IRpcStubBuffer *This,
  2109. IRpcChannelBuffer *_pRpcChannelBuffer,
  2110. PRPC_MESSAGE _pRpcMessage,
  2111. DWORD *_pdwStubPhase);
  2112. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_MatchPicName_Proxy(
  2113. ITSPlugInterFace * This,
  2114. /* [in] */ BSTR pic_name,
  2115. /* [retval][out] */ BSTR *retstring);
  2116. void __RPC_STUB ITSPlugInterFace_MatchPicName_Stub(
  2117. IRpcStubBuffer *This,
  2118. IRpcChannelBuffer *_pRpcChannelBuffer,
  2119. PRPC_MESSAGE _pRpcMessage,
  2120. DWORD *_pdwStubPhase);
  2121. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_SetShowErrorMsg_Proxy(
  2122. ITSPlugInterFace * This,
  2123. /* [in] */ LONG show,
  2124. /* [retval][out] */ LONG *nret);
  2125. void __RPC_STUB ITSPlugInterFace_SetShowErrorMsg_Stub(
  2126. IRpcStubBuffer *This,
  2127. IRpcChannelBuffer *_pRpcChannelBuffer,
  2128. PRPC_MESSAGE _pRpcMessage,
  2129. DWORD *_pdwStubPhase);
  2130. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_Reg_Proxy(
  2131. ITSPlugInterFace * This,
  2132. /* [in] */ BSTR reg_code,
  2133. /* [in] */ LONG type,
  2134. /* [retval][out] */ LONG *nret);
  2135. void __RPC_STUB ITSPlugInterFace_Reg_Stub(
  2136. IRpcStubBuffer *This,
  2137. IRpcChannelBuffer *_pRpcChannelBuffer,
  2138. PRPC_MESSAGE _pRpcMessage,
  2139. DWORD *_pdwStubPhase);
  2140. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_GetMachineCode_Proxy(
  2141. ITSPlugInterFace * This,
  2142. /* [retval][out] */ BSTR *retstring);
  2143. void __RPC_STUB ITSPlugInterFace_GetMachineCode_Stub(
  2144. IRpcStubBuffer *This,
  2145. IRpcChannelBuffer *_pRpcChannelBuffer,
  2146. PRPC_MESSAGE _pRpcMessage,
  2147. DWORD *_pdwStubPhase);
  2148. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_TSGuardProtectToHide_Proxy(
  2149. ITSPlugInterFace * This,
  2150. /* [in] */ LONG enble,
  2151. /* [retval][out] */ LONG *nret);
  2152. void __RPC_STUB ITSPlugInterFace_TSGuardProtectToHide_Stub(
  2153. IRpcStubBuffer *This,
  2154. IRpcChannelBuffer *_pRpcChannelBuffer,
  2155. PRPC_MESSAGE _pRpcMessage,
  2156. DWORD *_pdwStubPhase);
  2157. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_TSGuardProtectToHide2_Proxy(
  2158. ITSPlugInterFace * This,
  2159. /* [in] */ LONG enable,
  2160. /* [retval][out] */ LONG *nret);
  2161. void __RPC_STUB ITSPlugInterFace_TSGuardProtectToHide2_Stub(
  2162. IRpcStubBuffer *This,
  2163. IRpcChannelBuffer *_pRpcChannelBuffer,
  2164. PRPC_MESSAGE _pRpcMessage,
  2165. DWORD *_pdwStubPhase);
  2166. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_TSGuardProtectToNP_Proxy(
  2167. ITSPlugInterFace * This,
  2168. /* [in] */ LONG enable,
  2169. /* [retval][out] */ LONG *nret);
  2170. void __RPC_STUB ITSPlugInterFace_TSGuardProtectToNP_Stub(
  2171. IRpcStubBuffer *This,
  2172. IRpcChannelBuffer *_pRpcChannelBuffer,
  2173. PRPC_MESSAGE _pRpcMessage,
  2174. DWORD *_pdwStubPhase);
  2175. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_Delay_Proxy(
  2176. ITSPlugInterFace * This,
  2177. /* [in] */ LONG mis,
  2178. /* [retval][out] */ LONG *nret);
  2179. void __RPC_STUB ITSPlugInterFace_Delay_Stub(
  2180. IRpcStubBuffer *This,
  2181. IRpcChannelBuffer *_pRpcChannelBuffer,
  2182. PRPC_MESSAGE _pRpcMessage,
  2183. DWORD *_pdwStubPhase);
  2184. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_FindStrS_Proxy(
  2185. ITSPlugInterFace * This,
  2186. /* [in] */ LONG x1,
  2187. /* [in] */ LONG y1,
  2188. /* [in] */ LONG x2,
  2189. /* [in] */ LONG y2,
  2190. /* [in] */ BSTR string,
  2191. /* [in] */ BSTR color_format,
  2192. /* [in] */ DOUBLE sim,
  2193. /* [out] */ VARIANT *intX,
  2194. /* [out] */ VARIANT *intY,
  2195. /* [retval][out] */ BSTR *retstring);
  2196. void __RPC_STUB ITSPlugInterFace_FindStrS_Stub(
  2197. IRpcStubBuffer *This,
  2198. IRpcChannelBuffer *_pRpcChannelBuffer,
  2199. PRPC_MESSAGE _pRpcMessage,
  2200. DWORD *_pdwStubPhase);
  2201. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_FindStrFastS_Proxy(
  2202. ITSPlugInterFace * This,
  2203. /* [in] */ LONG x1,
  2204. /* [in] */ LONG y1,
  2205. /* [in] */ LONG x2,
  2206. /* [in] */ LONG y2,
  2207. /* [in] */ BSTR string,
  2208. /* [in] */ BSTR color_format,
  2209. /* [in] */ DOUBLE sim,
  2210. /* [out] */ VARIANT *intX,
  2211. /* [out] */ VARIANT *intY,
  2212. /* [retval][out] */ BSTR *retstring);
  2213. void __RPC_STUB ITSPlugInterFace_FindStrFastS_Stub(
  2214. IRpcStubBuffer *This,
  2215. IRpcChannelBuffer *_pRpcChannelBuffer,
  2216. PRPC_MESSAGE _pRpcMessage,
  2217. DWORD *_pdwStubPhase);
  2218. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_FindStrExS_Proxy(
  2219. ITSPlugInterFace * This,
  2220. /* [in] */ LONG x1,
  2221. /* [in] */ LONG y1,
  2222. /* [in] */ LONG x2,
  2223. /* [in] */ LONG y2,
  2224. /* [in] */ BSTR string,
  2225. /* [in] */ BSTR color_format,
  2226. /* [in] */ DOUBLE sim,
  2227. /* [retval][out] */ BSTR *retstring);
  2228. void __RPC_STUB ITSPlugInterFace_FindStrExS_Stub(
  2229. IRpcStubBuffer *This,
  2230. IRpcChannelBuffer *_pRpcChannelBuffer,
  2231. PRPC_MESSAGE _pRpcMessage,
  2232. DWORD *_pdwStubPhase);
  2233. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_FindStrFastExS_Proxy(
  2234. ITSPlugInterFace * This,
  2235. /* [in] */ LONG x1,
  2236. /* [in] */ LONG y1,
  2237. /* [in] */ LONG x2,
  2238. /* [in] */ LONG y2,
  2239. /* [in] */ BSTR string,
  2240. /* [in] */ BSTR color_format,
  2241. /* [in] */ DOUBLE sim,
  2242. /* [retval][out] */ BSTR *retstring);
  2243. void __RPC_STUB ITSPlugInterFace_FindStrFastExS_Stub(
  2244. IRpcStubBuffer *This,
  2245. IRpcChannelBuffer *_pRpcChannelBuffer,
  2246. PRPC_MESSAGE _pRpcMessage,
  2247. DWORD *_pdwStubPhase);
  2248. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_FindPicS_Proxy(
  2249. ITSPlugInterFace * This,
  2250. /* [in] */ LONG x1,
  2251. /* [in] */ LONG y1,
  2252. /* [in] */ LONG x2,
  2253. /* [in] */ LONG y2,
  2254. /* [in] */ BSTR pic_name,
  2255. /* [in] */ BSTR delta_color,
  2256. /* [in] */ DOUBLE sim,
  2257. /* [in] */ LONG dir,
  2258. /* [out] */ VARIANT *intX,
  2259. /* [out] */ VARIANT *intY,
  2260. /* [retval][out] */ BSTR *retstring);
  2261. void __RPC_STUB ITSPlugInterFace_FindPicS_Stub(
  2262. IRpcStubBuffer *This,
  2263. IRpcChannelBuffer *_pRpcChannelBuffer,
  2264. PRPC_MESSAGE _pRpcMessage,
  2265. DWORD *_pdwStubPhase);
  2266. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_FindPicExS_Proxy(
  2267. ITSPlugInterFace * This,
  2268. /* [in] */ LONG x1,
  2269. /* [in] */ LONG y1,
  2270. /* [in] */ LONG x2,
  2271. /* [in] */ LONG y2,
  2272. /* [in] */ BSTR pic_name,
  2273. /* [in] */ BSTR delta_color,
  2274. /* [in] */ DOUBLE sim,
  2275. /* [in] */ LONG dir,
  2276. /* [retval][out] */ BSTR *retstring);
  2277. void __RPC_STUB ITSPlugInterFace_FindPicExS_Stub(
  2278. IRpcStubBuffer *This,
  2279. IRpcChannelBuffer *_pRpcChannelBuffer,
  2280. PRPC_MESSAGE _pRpcMessage,
  2281. DWORD *_pdwStubPhase);
  2282. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_SetDictPwd_Proxy(
  2283. ITSPlugInterFace * This,
  2284. /* [in] */ BSTR pwd,
  2285. /* [retval][out] */ LONG *nret);
  2286. void __RPC_STUB ITSPlugInterFace_SetDictPwd_Stub(
  2287. IRpcStubBuffer *This,
  2288. IRpcChannelBuffer *_pRpcChannelBuffer,
  2289. PRPC_MESSAGE _pRpcMessage,
  2290. DWORD *_pdwStubPhase);
  2291. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_SetPicPwd_Proxy(
  2292. ITSPlugInterFace * This,
  2293. /* [in] */ BSTR pwd,
  2294. /* [retval][out] */ LONG *nret);
  2295. void __RPC_STUB ITSPlugInterFace_SetPicPwd_Stub(
  2296. IRpcStubBuffer *This,
  2297. IRpcChannelBuffer *_pRpcChannelBuffer,
  2298. PRPC_MESSAGE _pRpcMessage,
  2299. DWORD *_pdwStubPhase);
  2300. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_LeftDoubleClick_Proxy(
  2301. ITSPlugInterFace * This,
  2302. /* [retval][out] */ LONG *nret);
  2303. void __RPC_STUB ITSPlugInterFace_LeftDoubleClick_Stub(
  2304. IRpcStubBuffer *This,
  2305. IRpcChannelBuffer *_pRpcChannelBuffer,
  2306. PRPC_MESSAGE _pRpcMessage,
  2307. DWORD *_pdwStubPhase);
  2308. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_FreeProcessMemory_Proxy(
  2309. ITSPlugInterFace * This,
  2310. /* [in] */ LONG hwnd,
  2311. /* [retval][out] */ LONG *nret);
  2312. void __RPC_STUB ITSPlugInterFace_FreeProcessMemory_Stub(
  2313. IRpcStubBuffer *This,
  2314. IRpcChannelBuffer *_pRpcChannelBuffer,
  2315. PRPC_MESSAGE _pRpcMessage,
  2316. DWORD *_pdwStubPhase);
  2317. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_TSDXGraphicProtect_Proxy(
  2318. ITSPlugInterFace * This,
  2319. /* [in] */ LONG enable,
  2320. /* [retval][out] */ LONG *nret);
  2321. void __RPC_STUB ITSPlugInterFace_TSDXGraphicProtect_Stub(
  2322. IRpcStubBuffer *This,
  2323. IRpcChannelBuffer *_pRpcChannelBuffer,
  2324. PRPC_MESSAGE _pRpcMessage,
  2325. DWORD *_pdwStubPhase);
  2326. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_TSDXKmProtect_Proxy(
  2327. ITSPlugInterFace * This,
  2328. /* [in] */ LONG enable,
  2329. /* [in] */ BSTR type,
  2330. /* [retval][out] */ LONG *nret);
  2331. void __RPC_STUB ITSPlugInterFace_TSDXKmProtect_Stub(
  2332. IRpcStubBuffer *This,
  2333. IRpcChannelBuffer *_pRpcChannelBuffer,
  2334. PRPC_MESSAGE _pRpcMessage,
  2335. DWORD *_pdwStubPhase);
  2336. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_CheckFontSmooth_Proxy(
  2337. ITSPlugInterFace * This,
  2338. /* [retval][out] */ LONG *nret);
  2339. void __RPC_STUB ITSPlugInterFace_CheckFontSmooth_Stub(
  2340. IRpcStubBuffer *This,
  2341. IRpcChannelBuffer *_pRpcChannelBuffer,
  2342. PRPC_MESSAGE _pRpcMessage,
  2343. DWORD *_pdwStubPhase);
  2344. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_DisableFontSmooth_Proxy(
  2345. ITSPlugInterFace * This,
  2346. /* [retval][out] */ LONG *nret);
  2347. void __RPC_STUB ITSPlugInterFace_DisableFontSmooth_Stub(
  2348. IRpcStubBuffer *This,
  2349. IRpcChannelBuffer *_pRpcChannelBuffer,
  2350. PRPC_MESSAGE _pRpcMessage,
  2351. DWORD *_pdwStubPhase);
  2352. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_GetScreenData_Proxy(
  2353. ITSPlugInterFace * This,
  2354. /* [in] */ LONG x1,
  2355. /* [in] */ LONG y1,
  2356. /* [in] */ LONG x2,
  2357. /* [in] */ LONG y2,
  2358. /* [retval][out] */ LONG *RetAddr);
  2359. void __RPC_STUB ITSPlugInterFace_GetScreenData_Stub(
  2360. IRpcStubBuffer *This,
  2361. IRpcChannelBuffer *_pRpcChannelBuffer,
  2362. PRPC_MESSAGE _pRpcMessage,
  2363. DWORD *_pdwStubPhase);
  2364. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_EnableRealMouse_Proxy(
  2365. ITSPlugInterFace * This,
  2366. /* [in] */ ULONG enable,
  2367. /* [in] */ ULONG mousedelay,
  2368. /* [in] */ ULONG mousestep,
  2369. /* [retval][out] */ ULONG *nret);
  2370. void __RPC_STUB ITSPlugInterFace_EnableRealMouse_Stub(
  2371. IRpcStubBuffer *This,
  2372. IRpcChannelBuffer *_pRpcChannelBuffer,
  2373. PRPC_MESSAGE _pRpcMessage,
  2374. DWORD *_pdwStubPhase);
  2375. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_EnableRealKeypad_Proxy(
  2376. ITSPlugInterFace * This,
  2377. /* [in] */ ULONG enable,
  2378. /* [retval][out] */ ULONG *nret);
  2379. void __RPC_STUB ITSPlugInterFace_EnableRealKeypad_Stub(
  2380. IRpcStubBuffer *This,
  2381. IRpcChannelBuffer *_pRpcChannelBuffer,
  2382. PRPC_MESSAGE _pRpcMessage,
  2383. DWORD *_pdwStubPhase);
  2384. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_MoveToEx_Proxy(
  2385. ITSPlugInterFace * This,
  2386. /* [in] */ ULONG x,
  2387. /* [in] */ ULONG y,
  2388. /* [in] */ ULONG w,
  2389. /* [in] */ ULONG h,
  2390. /* [retval][out] */ BSTR *retstring);
  2391. void __RPC_STUB ITSPlugInterFace_MoveToEx_Stub(
  2392. IRpcStubBuffer *This,
  2393. IRpcChannelBuffer *_pRpcChannelBuffer,
  2394. PRPC_MESSAGE _pRpcMessage,
  2395. DWORD *_pdwStubPhase);
  2396. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_CheckUAC_Proxy(
  2397. ITSPlugInterFace * This,
  2398. /* [retval][out] */ ULONG *nret);
  2399. void __RPC_STUB ITSPlugInterFace_CheckUAC_Stub(
  2400. IRpcStubBuffer *This,
  2401. IRpcChannelBuffer *_pRpcChannelBuffer,
  2402. PRPC_MESSAGE _pRpcMessage,
  2403. DWORD *_pdwStubPhase);
  2404. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_SetUAC_Proxy(
  2405. ITSPlugInterFace * This,
  2406. /* [in] */ ULONG enable,
  2407. /* [retval][out] */ ULONG *nret);
  2408. void __RPC_STUB ITSPlugInterFace_SetUAC_Stub(
  2409. IRpcStubBuffer *This,
  2410. IRpcChannelBuffer *_pRpcChannelBuffer,
  2411. PRPC_MESSAGE _pRpcMessage,
  2412. DWORD *_pdwStubPhase);
  2413. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_WaitKey_Proxy(
  2414. ITSPlugInterFace * This,
  2415. /* [in] */ ULONG vk_code,
  2416. /* [in] */ ULONG time_out,
  2417. /* [retval][out] */ ULONG *nret);
  2418. void __RPC_STUB ITSPlugInterFace_WaitKey_Stub(
  2419. IRpcStubBuffer *This,
  2420. IRpcChannelBuffer *_pRpcChannelBuffer,
  2421. PRPC_MESSAGE _pRpcMessage,
  2422. DWORD *_pdwStubPhase);
  2423. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_FindMultiColor_Proxy(
  2424. ITSPlugInterFace * This,
  2425. /* [in] */ ULONG x1,
  2426. /* [in] */ ULONG y1,
  2427. /* [in] */ ULONG x2,
  2428. /* [in] */ ULONG y2,
  2429. /* [in] */ BSTR first_color,
  2430. /* [in] */ BSTR offset_color,
  2431. /* [in] */ DOUBLE sim,
  2432. /* [in] */ ULONG dir,
  2433. /* [out] */ VARIANT *intX,
  2434. /* [out] */ VARIANT *intY,
  2435. /* [retval][out] */ ULONG *nret);
  2436. void __RPC_STUB ITSPlugInterFace_FindMultiColor_Stub(
  2437. IRpcStubBuffer *This,
  2438. IRpcChannelBuffer *_pRpcChannelBuffer,
  2439. PRPC_MESSAGE _pRpcMessage,
  2440. DWORD *_pdwStubPhase);
  2441. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_FindMultiColorEx_Proxy(
  2442. ITSPlugInterFace * This,
  2443. /* [in] */ ULONG x1,
  2444. /* [in] */ ULONG y1,
  2445. /* [in] */ ULONG x2,
  2446. /* [in] */ ULONG y2,
  2447. /* [in] */ BSTR first_color,
  2448. /* [in] */ BSTR offset_color,
  2449. /* [in] */ DOUBLE sim,
  2450. /* [in] */ ULONG dir,
  2451. /* [retval][out] */ BSTR *retstring);
  2452. void __RPC_STUB ITSPlugInterFace_FindMultiColorEx_Stub(
  2453. IRpcStubBuffer *This,
  2454. IRpcChannelBuffer *_pRpcChannelBuffer,
  2455. PRPC_MESSAGE _pRpcMessage,
  2456. DWORD *_pdwStubPhase);
  2457. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSPlugInterFace_SetSimMode_Proxy(
  2458. ITSPlugInterFace * This,
  2459. /* [in] */ ULONG mode,
  2460. /* [retval][out] */ ULONG *nret);
  2461. void __RPC_STUB ITSPlugInterFace_SetSimMode_Stub(
  2462. IRpcStubBuffer *This,
  2463. IRpcChannelBuffer *_pRpcChannelBuffer,
  2464. PRPC_MESSAGE _pRpcMessage,
  2465. DWORD *_pdwStubPhase);
  2466. #endif /* __ITSPlugInterFace_INTERFACE_DEFINED__ */
  2467. #ifndef __TSPlugLib_LIBRARY_DEFINED__
  2468. #define __TSPlugLib_LIBRARY_DEFINED__
  2469. /* library TSPlugLib */
  2470. /* [helpstring][version][uuid] */
  2471. EXTERN_C const IID LIBID_TSPlugLib;
  2472. EXTERN_C const CLSID CLSID_TSPlugInterFace;
  2473. #ifdef __cplusplus
  2474. class DECLSPEC_UUID("BCE4A484-C3BC-418B-B1F6-69D6987C126B")
  2475. TSPlugInterFace;
  2476. #endif
  2477. #endif /* __TSPlugLib_LIBRARY_DEFINED__ */
  2478. /* Additional Prototypes for ALL interfaces */
  2479. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  2480. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  2481. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  2482. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  2483. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  2484. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  2485. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  2486. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  2487. /* end of Additional Prototypes */
  2488. #ifdef __cplusplus
  2489. }
  2490. #endif
  2491. #endif