if_ole.idl
Upload User: gddssl
Upload Date: 2007-01-06
Package Size: 1003k
Code Size: 1k
Category:

Editor

Development Platform:

DOS

  1. // if_ole.idl - IDL source for the Vim OLE Automation interface
  2. //
  3. // Processed by the IDL compiler (MIDL) to generate the type library
  4. // (Vim.tlb).
  5. //
  6. // Command line:
  7. //   MIDL /proxy nul /iid iid_ole.c /h if_ole.h /tlb vim.tlb if_ole.idl
  8. [
  9. object,
  10. uuid(0F0BFAE2-4C90-11d1-82D7-0004AC368519),  // IID_IVim
  11. helpstring("IVim"),
  12. pointer_default(unique),
  13. dual,
  14. oleautomation
  15. ]
  16. interface IVim : IDispatch
  17. {
  18. import "oaidl.idl";
  19. HRESULT SendKeys([in]BSTR keys);
  20. HRESULT Eval([in]BSTR expr, [out, retval]BSTR* result);
  21. HRESULT SetForeground(void);
  22. };
  23. // Component and type library definitions
  24. [
  25. uuid(0F0BFAE0-4C90-11d1-82D7-0004AC368519), // LIBID_Vim
  26. helpstring("Vim OLE Interface 1.0 Type Library"),
  27. version(1.0)
  28. ]
  29. library Vim
  30. {
  31. importlib("stdole32.tlb");
  32. // Component
  33. [
  34. uuid(0F0BFAE1-4C90-11d1-82D7-0004AC368519),  // CLSID_Vim
  35. helpstring("Vim OLE Interface")
  36. ]
  37. coclass Vim
  38. {
  39. [default] interface IVim;
  40. };
  41. };