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.

56 lines
1.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1998.
  5. //
  6. // File: xmldocnf.idl
  7. //
  8. //--------------------------------------------------------------------------
  9. import "objidl.idl";
  10. #ifdef UNIX
  11. import "ocidl.idl";
  12. #endif
  13. cpp_quote(
  14. "//+-------------------------------------------------------------------------")
  15. cpp_quote("//")
  16. cpp_quote("// Microsoft Windows")
  17. cpp_quote("// Copyright (C) Microsoft Corporation, 1998.")
  18. cpp_quote("//")
  19. cpp_quote(
  20. "//--------------------------------------------------------------------------")
  21. typedef
  22. enum tagXMLNotifyReason
  23. {
  24. XML_REASON_TextChanged,
  25. XML_REASON_NodeAdded,
  26. XML_REASON_NodeRemoved
  27. } XMLNotifyReason;
  28. typedef
  29. enum tagXMLNotifyPhase
  30. {
  31. XML_PHASE_AboutToDo,
  32. XML_PHASE_FailedToDo,
  33. XML_PHASE_DidEvent,
  34. } XMLNotifyPhase;
  35. [
  36. uuid(53BE4F42-3602-11d2-801B-0000F87A6CDF),
  37. odl,
  38. oleautomation,
  39. ]
  40. interface IXMLDocumentNotify : IUnknown
  41. {
  42. HRESULT OnNodeChange(
  43. [in] XMLNotifyReason eReason,
  44. [in] XMLNotifyPhase ePhase,
  45. [in] IUnknown *pNode,
  46. [in] IUnknown *pNodeParent,
  47. [in] IUnknown *pNodeBefore);
  48. };