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.

148 lines
8.1 KiB

  1. //*********************************************************************
  2. //* Microsoft Windows **
  3. //* Copyright(c) Microsoft Corp., 1996-1997 **
  4. //*********************************************************************
  5. //;begin_internal
  6. /***********************************************************************************************
  7. This is a distributed SDK component - do not put any #includes or other directives that rely
  8. upon files not dropped. If in doubt - build iedev
  9. If you add comments please include either ;BUGBUG at the beginning of a single line OR
  10. enclose in a ;begin_internal, ;end_internal block - such as this one!
  11. ***********************************************************************************************/
  12. //;end_internal
  13. //;begin_internal
  14. #ifndef __DOMDID_H__
  15. #define __DOMDID_H__
  16. //;end_internal
  17. //#define DISPID_DOM_BASE 0x80010500
  18. // Our dispids need to be mapped into the range 1..9999 to kep Trident happy
  19. // specifically, to make the XML tag more efficient. (simonb, 09-18-1998)
  20. #define DISPID_DOM_BASE 0x00000001
  21. #define DISPID_DOM_NODE (DISPID_DOM_BASE)
  22. #define DISPID_DOM_NODE_NODENAME (DISPID_DOM_NODE + 1)
  23. #define DISPID_DOM_NODE_NODEVALUE (DISPID_DOM_NODE + 2)
  24. #define DISPID_DOM_NODE_NODETYPE (DISPID_DOM_NODE + 3)
  25. #define DISPID_DOM_NODE_NODETYPEENUM (DISPID_DOM_NODE + 4)
  26. #define DISPID_DOM_NODE_PARENTNODE (DISPID_DOM_NODE + 5)
  27. #define DISPID_DOM_NODE_CHILDNODES (DISPID_DOM_NODE + 6)
  28. #define DISPID_DOM_NODE_FIRSTCHILD (DISPID_DOM_NODE + 7)
  29. #define DISPID_DOM_NODE_LASTCHILD (DISPID_DOM_NODE + 8)
  30. #define DISPID_DOM_NODE_PREVIOUSSIBLING (DISPID_DOM_NODE + 9)
  31. #define DISPID_DOM_NODE_NEXTSIBLING (DISPID_DOM_NODE + 10)
  32. #define DISPID_DOM_NODE_ATTRIBUTES (DISPID_DOM_NODE + 11)
  33. #define DISPID_DOM_NODE_INSERTBEFORE (DISPID_DOM_NODE + 12)
  34. #define DISPID_DOM_NODE_REPLACECHILD (DISPID_DOM_NODE + 13)
  35. #define DISPID_DOM_NODE_REMOVECHILD (DISPID_DOM_NODE + 14)
  36. #define DISPID_DOM_NODE_APPENDCHILD (DISPID_DOM_NODE + 15)
  37. #define DISPID_DOM_NODE_HASCHILDNODES (DISPID_DOM_NODE + 16)
  38. #define DISPID_DOM_NODE_OWNERDOC (DISPID_DOM_NODE + 17)
  39. #define DISPID_DOM_NODE_CLONENODE (DISPID_DOM_NODE + 18)
  40. #define DISPID_DOM_W3CWRAPPERS (DISPID_DOM_NODE + 0x20)
  41. #define DISPID_DOM_DOCUMENTFRAGMENT (DISPID_DOM_W3CWRAPPERS)
  42. #define DISPID_DOM_DOCUMENTFRAGMENT_TOP (DISPID_DOM_DOCUMENTFRAGMENT + 2)
  43. #define DISPID_DOM_DOCUMENT (DISPID_DOM_DOCUMENTFRAGMENT + 0x20)
  44. #define DISPID_DOM_DOCUMENT_DOCTYPE (DISPID_DOM_DOCUMENT + 1)
  45. #define DISPID_DOM_DOCUMENT_IMPLEMENTATION (DISPID_DOM_DOCUMENT + 2)
  46. #define DISPID_DOM_DOCUMENT_DOCUMENTELEMENT (DISPID_DOM_DOCUMENT + 3)
  47. #define DISPID_DOM_DOCUMENT_CREATEELEMENT (DISPID_DOM_DOCUMENT + 4)
  48. #define DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT (DISPID_DOM_DOCUMENT + 5)
  49. #define DISPID_DOM_DOCUMENT_CREATETEXTNODE (DISPID_DOM_DOCUMENT + 6)
  50. #define DISPID_DOM_DOCUMENT_CREATECOMMENT (DISPID_DOM_DOCUMENT + 7)
  51. #define DISPID_DOM_DOCUMENT_CREATECDATASECTION (DISPID_DOM_DOCUMENT + 8)
  52. #define DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION (DISPID_DOM_DOCUMENT + 9)
  53. #define DISPID_DOM_DOCUMENT_CREATEATTRIBUTE (DISPID_DOM_DOCUMENT + 10)
  54. #define DISPID_DOM_DOCUMENT_CREATEENTITY (DISPID_DOM_DOCUMENT + 11)
  55. #define DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE (DISPID_DOM_DOCUMENT + 12)
  56. #define DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME (DISPID_DOM_DOCUMENT + 13)
  57. #define DISPID_DOM_DOCUMENT_TOP (DISPID_DOM_DOCUMENT + 14)
  58. #define DISPID_DOM_ELEMENT (DISPID_DOM_DOCUMENT + 0x20)
  59. #define DISPID_DOM_ELEMENT_GETTAGNAME (DISPID_DOM_ELEMENT + 1)
  60. #define DISPID_DOM_ELEMENT_GETATTRIBUTES (DISPID_DOM_ELEMENT + 2)
  61. #define DISPID_DOM_ELEMENT_GETATTRIBUTE (DISPID_DOM_ELEMENT + 3)
  62. #define DISPID_DOM_ELEMENT_SETATTRIBUTE (DISPID_DOM_ELEMENT + 4)
  63. #define DISPID_DOM_ELEMENT_REMOVEATTRIBUTE (DISPID_DOM_ELEMENT + 5)
  64. #define DISPID_DOM_ELEMENT_GETATTRIBUTENODE (DISPID_DOM_ELEMENT + 6)
  65. #define DISPID_DOM_ELEMENT_SETATTRIBUTENODE (DISPID_DOM_ELEMENT + 7)
  66. #define DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE (DISPID_DOM_ELEMENT + 8)
  67. #define DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME (DISPID_DOM_ELEMENT + 9)
  68. #define DISPID_DOM_ELEMENT_NORMALIZE (DISPID_DOM_ELEMENT + 10)
  69. #define DISPID_DOM_ELEMENT_TOP (DISPID_DOM_ELEMENT + 11)
  70. #define DISPID_DOM_DATA (DISPID_DOM_ELEMENT + 0x20)
  71. #define DISPID_DOM_DATA_LENGTH (DISPID_DOM_DATA + 1)
  72. #define DISPID_DOM_DATA_SUBSTRING (DISPID_DOM_DATA + 2)
  73. #define DISPID_DOM_DATA_APPEND (DISPID_DOM_DATA + 3)
  74. #define DISPID_DOM_DATA_INSERT (DISPID_DOM_DATA + 4)
  75. #define DISPID_DOM_DATA_DELETE (DISPID_DOM_DATA + 5)
  76. #define DISPID_DOM_DATA_REPLACE (DISPID_DOM_DATA + 6)
  77. #define DISPID_DOM_DATA_TOP (DISPID_DOM_DATA + 7)
  78. #define DISPID_DOM_ATTRIBUTE (DISPID_DOM_DATA + 0x20)
  79. #define DISPID_DOM_ATTRIBUTE_GETNAME (DISPID_DOM_ATTRIBUTE + 1)
  80. #define DISPID_DOM_ATTRIBUTE_SPECIFIED (DISPID_DOM_ATTRIBUTE + 2)
  81. #define DISPID_DOM_ATTRIBUTE_GETVALUE (DISPID_DOM_ATTRIBUTE + 3)
  82. #define DISPID_DOM_ATTRIBUTE_TOP (DISPID_DOM_ATTRIBUTE + 4)
  83. #define DISPID_DOM_TEXT (DISPID_DOM_ATTRIBUTE + 0x20)
  84. #define DISPID_DOM_TEXT_SPLITTEXT (DISPID_DOM_TEXT + 1)
  85. #define DISPID_DOM_TEXT_JOINTEXT (DISPID_DOM_TEXT + 2)
  86. #define DISPID_DOM_TEXT_TOP (DISPID_DOM_TEXT + 3)
  87. #define DISPID_DOM_PI (DISPID_DOM_TEXT + 0x20)
  88. #define DISPID_DOM_PI_TARGET (DISPID_DOM_PI + 1)
  89. #define DISPID_DOM_PI_DATA (DISPID_DOM_PI + 2)
  90. #define DISPID_DOM_PI_TOP (DISPID_DOM_PI + 3)
  91. #define DISPID_DOM_DOCUMENTTYPE (DISPID_DOM_PI + 0x20)
  92. #define DISPID_DOM_DOCUMENTTYPE_NAME (DISPID_DOM_DOCUMENTTYPE + 1)
  93. #define DISPID_DOM_DOCUMENTTYPE_ENTITIES (DISPID_DOM_DOCUMENTTYPE + 2)
  94. #define DISPID_DOM_DOCUMENTTYPE_NOTATIONS (DISPID_DOM_DOCUMENTTYPE + 3)
  95. #define DISPID_DOM_DOCUMENTTYPE_TOP (DISPID_DOM_DOCUMENTTYPE + 4)
  96. #define DISPID_DOM_NOTATION (DISPID_DOM_DOCUMENTTYPE + 0x20)
  97. #define DISPID_DOM_NOTATION_PUBLICID (DISPID_DOM_NOTATION + 1)
  98. #define DISPID_DOM_NOTATION_SYSTEMID (DISPID_DOM_NOTATION + 2)
  99. #define DISPID_DOM_NOTATION_TOP (DISPID_DOM_NOTATION + 3)
  100. #define DISPID_DOM_ENTITY (DISPID_DOM_NOTATION + 0x20)
  101. #define DISPID_DOM_ENTITY_PUBLICID (DISPID_DOM_ENTITY + 1)
  102. #define DISPID_DOM_ENTITY_SYSTEMID (DISPID_DOM_ENTITY + 2)
  103. #define DISPID_DOM_ENTITY_NOTATIONNAME (DISPID_DOM_ENTITY + 3)
  104. #define DISPID_DOM_ENTITY_TOP (DISPID_DOM_ENTITY + 4)
  105. //define DISPID_DOM_COMMENT
  106. //define DISPID_DOM_CDATASECTION
  107. //define DISPID_DOM_ENTITYREFERENCE
  108. #define DISPID_DOM_W3CWRAPPERS_TOP (DISPID_DOM_ENTITY + 0x20)
  109. #define DISPID_DOM_NODELIST (DISPID_DOM_W3CWRAPPERS_TOP + 0x20)
  110. #define DISPID_DOM_NODELIST_ITEM (DISPID_DOM_NODELIST + 1)
  111. #define DISPID_DOM_NODELIST_LENGTH (DISPID_DOM_NODELIST + 2)
  112. #define DISPID_DOM_NAMEDNODEMAP (DISPID_DOM_NODELIST + 0x20)
  113. #define DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM (DISPID_DOM_NAMEDNODEMAP + 3)
  114. #define DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM (DISPID_DOM_NAMEDNODEMAP + 4)
  115. #define DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM (DISPID_DOM_NAMEDNODEMAP + 5)
  116. #define DISPID_DOM_IMPLEMENTATION (DISPID_DOM_NAMEDNODEMAP + 0x20)
  117. #define DISPID_DOM_IMPLEMENTATION_HASFEATURE (DISPID_DOM_IMPLEMENTATION + 1)
  118. #define DISPID_DOM_TOP (DISPID_DOM_IMPLEMENTATION + 0x20)
  119. //;begin_internal
  120. #endif // __XMLDOMDID_H__
  121. //;end_internal