IEWebGamePlugin.idl 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // IEWebGamePlugin.idl : IDL source for IEWebGamePlugin
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (IEWebGamePlugin.tlb) and marshalling code.
  5. #include "olectl.h"
  6. import "oaidl.idl";
  7. import "ocidl.idl";
  8. [
  9. object,
  10. uuid(5240D24D-FBCE-4AF2-99FC-4C7AD4318E91),
  11. dual,
  12. nonextensible,
  13. helpstring("IIEWebGameCtrl Interface"),
  14. pointer_default(unique)
  15. ]
  16. interface IIEWebGameCtrl : IDispatch{
  17. [propget, bindable, requestedit, id(DISPID_HWND)]
  18. HRESULT HWND([out, retval]LONG_PTR* pHWND);
  19. [id(1), helpstring("method getVariable")] HRESULT getVariable([in] BSTR name, [out, retval] BSTR* value);
  20. [id(2), helpstring("method setVariable")] HRESULT setVariable([in] BSTR name, [in] BSTR value);
  21. [id(3), helpstring("method export")] HRESULT exportFunction([in] BSTR callback, [in] LONG numArguments);
  22. [id(4), helpstring("method callScript")] HRESULT callScript([in] BSTR code, [out, retval] BSTR* retValue);
  23. [id(5), helpstring("method startup")] HRESULT startup();
  24. };
  25. [
  26. uuid(FC143328-E29C-4BC4-8C83-618FEB562532),
  27. version(1.0),
  28. helpstring("IEFullPlugin 1.0 Type Library")
  29. ]
  30. library IEFullPluginLib
  31. {
  32. importlib("stdole2.tlb");
  33. [
  34. uuid(D62D1B36-253D-4218-B033-5ACE0B42B8BF),
  35. control,
  36. helpstring("IEWebGameCtrl Class")
  37. ]
  38. coclass IEWebGameCtrl
  39. {
  40. [default] interface IIEWebGameCtrl;
  41. };
  42. };