Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
2.4 KiB

  1. import "oaidl.idl";
  2. import "oleidl.idl";
  3. cpp_quote("#define SID_SRecalcEngine IID_IRecalcEngine")
  4. interface IRecalcEngine;
  5. interface IRecalcHost;
  6. [
  7. object,
  8. uuid(3050f496-98b5-11cf-bb82-00aa00bdce0b),
  9. pointer_default(unique),
  10. local,
  11. version(1.0)
  12. ]
  13. interface IRecalcEngine : IUnknown
  14. {
  15. HRESULT RecalcAll([in] BOOL fForce);
  16. HRESULT OnNameSpaceChange([in] IUnknown *pUnk);
  17. HRESULT SetExpression([in] IUnknown *pUnk, [in] DISPID dispid, [in] LPOLESTR strExpression, LPOLESTR language);
  18. HRESULT GetExpression([in] IUnknown *pUnk, [in] DISPID dispid, [out] BSTR *pstrExpression, [out] BSTR *pstrLanguage);
  19. HRESULT ClearExpression([in] IUnknown *pUnk, [in] DISPID dispid);
  20. HRESULT BeginStyle([in] IUnknown *pObject);
  21. HRESULT EndStyle([in] IUnknown *pObject);
  22. };
  23. [
  24. object,
  25. uuid(3050f497-98b5-11cf-bb82-00aa00bdce0b),
  26. pointer_default(unique),
  27. local,
  28. version(1.0)
  29. ]
  30. interface IRecalcHost : IUnknown
  31. {
  32. HRESULT CompileExpression([in] IUnknown *pUnk, [in] DISPID dispid, [in] LPOLESTR strExpression, [in] LPOLESTR strLanguage, [out] IDispatch **ppExpressionObject, [out] IDispatch **ppThis);
  33. HRESULT EvalExpression([in] IUnknown *pUnk, [in] DISPID dispid, [in] LPOLESTR strExpression, [in] LPOLESTR strLanguage, [out] VARIANT *pvResult);
  34. HRESULT ResolveNames([in] IUnknown *pUnk, [in] DISPID dispid, [in] unsigned cNames, [in] BSTR *pstrNames, [out] IDispatch **ppObjects, [out] DISPID *pDispids);
  35. HRESULT RequestRecalc();
  36. HRESULT SetValue([in] IUnknown *pUnk, [in] DISPID dispid, [in] VARIANT *pv, [in] BOOL fStyle);
  37. HRESULT RemoveValue([in] IUnknown *pUnk, [in] DISPID dispid);
  38. HRESULT GetScriptTextAttributes([in] LPCOLESTR szLanguage, [in] LPCOLESTR pchCode, [in] ULONG cchCode, [in] LPCOLESTR szDelim, [in] DWORD dwFlags, [out] WORD *pwAttr);
  39. };
  40. [
  41. object,
  42. uuid(3050f5d6-98b5-11cf-bb82-00aa00bdce0b),
  43. pointer_default(unique),
  44. local,
  45. version(1.0)
  46. ]
  47. interface IRecalcProperty : IUnknown
  48. {
  49. HRESULT GetCanonicalProperty(DISPID dispid, IUnknown **ppUnk, DISPID *pdispid);
  50. };
  51. [
  52. object,
  53. uuid(3050f5f7-98b5-11cf-bb82-00aa00bdce0b),
  54. pointer_default(unique),
  55. local,
  56. version(1.0)
  57. ]
  58. interface IRecalcHostDebug : IUnknown
  59. {
  60. HRESULT GetObjectInfo([in] IUnknown *pUnk, [in] DISPID dispid, [out] BSTR *pbstrID, [out] BSTR *pbstrMember, [out] BSTR *pbstrTag);
  61. }