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.

229 lines
14 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 __XMLDOMDID_H__
  15. #define __XMLDOMDID_H__
  16. //;end_internal
  17. // Our dispids need to be mapped into the range 1..9999 to kep Trident happy
  18. // specifically, to make the XML tag more efficient. (simonb, 09-18-1998)
  19. #define DISPID_DOM_BASE 0x00000001
  20. #define DISPID_DOM_COLLECTION_BASE 1000000
  21. #define DISPID_DOM_COLLECTION_MAX 2999999
  22. #define DISPID_DOM_NODE (DISPID_DOM_BASE)
  23. #define DISPID_DOM_NODE_NODENAME (DISPID_DOM_NODE + 1)
  24. #define DISPID_DOM_NODE_NODEVALUE (DISPID_DOM_NODE + 2)
  25. #define DISPID_DOM_NODE_NODETYPE (DISPID_DOM_NODE + 3)
  26. #define DISPID_DOM_NODE_NODETYPEENUM (DISPID_DOM_NODE + 4)
  27. #define DISPID_DOM_NODE_PARENTNODE (DISPID_DOM_NODE + 5)
  28. #define DISPID_DOM_NODE_CHILDNODES (DISPID_DOM_NODE + 6)
  29. #define DISPID_DOM_NODE_FIRSTCHILD (DISPID_DOM_NODE + 7)
  30. #define DISPID_DOM_NODE_LASTCHILD (DISPID_DOM_NODE + 8)
  31. #define DISPID_DOM_NODE_PREVIOUSSIBLING (DISPID_DOM_NODE + 9)
  32. #define DISPID_DOM_NODE_NEXTSIBLING (DISPID_DOM_NODE + 10)
  33. #define DISPID_DOM_NODE_ATTRIBUTES (DISPID_DOM_NODE + 11)
  34. #define DISPID_DOM_NODE_INSERTBEFORE (DISPID_DOM_NODE + 12)
  35. #define DISPID_DOM_NODE_REPLACECHILD (DISPID_DOM_NODE + 13)
  36. #define DISPID_DOM_NODE_REMOVECHILD (DISPID_DOM_NODE + 14)
  37. #define DISPID_DOM_NODE_APPENDCHILD (DISPID_DOM_NODE + 15)
  38. #define DISPID_DOM_NODE_HASCHILDNODES (DISPID_DOM_NODE + 16)
  39. #define DISPID_DOM_NODE_OWNERDOC (DISPID_DOM_NODE + 17)
  40. #define DISPID_DOM_NODE_CLONENODE (DISPID_DOM_NODE + 18)
  41. #define DISPID_XMLDOM_NODE (DISPID_DOM_NODE + 19)
  42. #define DISPID_XMLDOM_NODE_STRINGTYPE (DISPID_XMLDOM_NODE + 1)
  43. #define DISPID_XMLDOM_NODE_SPECIFIED (DISPID_XMLDOM_NODE + 2)
  44. #define DISPID_XMLDOM_NODE_DEFINITION (DISPID_XMLDOM_NODE + 3)
  45. #define DISPID_XMLDOM_NODE_TEXT (DISPID_XMLDOM_NODE + 4)
  46. #define DISPID_XMLDOM_NODE_NODETYPEDVALUE (DISPID_XMLDOM_NODE + 5)
  47. #define DISPID_XMLDOM_NODE_DATATYPE (DISPID_XMLDOM_NODE + 6)
  48. #define DISPID_XMLDOM_NODE_XML (DISPID_XMLDOM_NODE + 7)
  49. #define DISPID_XMLDOM_NODE_TRANSFORMNODE (DISPID_XMLDOM_NODE + 8)
  50. #define DISPID_XMLDOM_NODE_SELECTNODES (DISPID_XMLDOM_NODE + 9)
  51. #define DISPID_XMLDOM_NODE_SELECTSINGLENODE (DISPID_XMLDOM_NODE + 10)
  52. #define DISPID_XMLDOM_NODE_PARSED (DISPID_XMLDOM_NODE + 11)
  53. #define DISPID_XMLDOM_NODE_NAMESPACE (DISPID_XMLDOM_NODE + 12)
  54. #define DISPID_XMLDOM_NODE_PREFIX (DISPID_XMLDOM_NODE + 13)
  55. #define DISPID_XMLDOM_NODE_BASENAME (DISPID_XMLDOM_NODE + 14)
  56. #define DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT (DISPID_XMLDOM_NODE + 15)
  57. #define DISPID_XMLDOM_NODE__TOP (DISPID_XMLDOM_NODE + 16)
  58. #define DISPID_DOM_DOCUMENT (DISPID_XMLDOM_NODE__TOP + 1)
  59. #define DISPID_DOM_DOCUMENT_DOCTYPE (DISPID_DOM_DOCUMENT + 1)
  60. #define DISPID_DOM_DOCUMENT_IMPLEMENTATION (DISPID_DOM_DOCUMENT + 2)
  61. #define DISPID_DOM_DOCUMENT_DOCUMENTELEMENT (DISPID_DOM_DOCUMENT + 3)
  62. #define DISPID_DOM_DOCUMENT_CREATEELEMENT (DISPID_DOM_DOCUMENT + 4)
  63. #define DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT (DISPID_DOM_DOCUMENT + 5)
  64. #define DISPID_DOM_DOCUMENT_CREATETEXTNODE (DISPID_DOM_DOCUMENT + 6)
  65. #define DISPID_DOM_DOCUMENT_CREATECOMMENT (DISPID_DOM_DOCUMENT + 7)
  66. #define DISPID_DOM_DOCUMENT_CREATECDATASECTION (DISPID_DOM_DOCUMENT + 8)
  67. #define DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION (DISPID_DOM_DOCUMENT + 9)
  68. #define DISPID_DOM_DOCUMENT_CREATEATTRIBUTE (DISPID_DOM_DOCUMENT + 10)
  69. #define DISPID_DOM_DOCUMENT_CREATEENTITY (DISPID_DOM_DOCUMENT + 11)
  70. #define DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE (DISPID_DOM_DOCUMENT + 12)
  71. #define DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME (DISPID_DOM_DOCUMENT + 13)
  72. #define DISPID_DOM_DOCUMENT_TOP (DISPID_DOM_DOCUMENT + 14)
  73. #define DISPID_XMLDOM_DOCUMENT (DISPID_DOM_DOCUMENT + 15)
  74. #define DISPID_XMLDOM_DOCUMENT_DOCUMENTNODE (DISPID_XMLDOM_DOCUMENT + 1)
  75. #define DISPID_XMLDOM_DOCUMENT_CREATENODE (DISPID_XMLDOM_DOCUMENT + 2)
  76. #define DISPID_XMLDOM_DOCUMENT_CREATENODEEX (DISPID_XMLDOM_DOCUMENT + 3)
  77. #define DISPID_XMLDOM_DOCUMENT_NODEFROMID (DISPID_XMLDOM_DOCUMENT + 4)
  78. #define DISPID_XMLDOM_DOCUMENT_DOCUMENTNAMESPACES (DISPID_XMLDOM_DOCUMENT + 5)
  79. #define DISPID_XMLDOM_DOCUMENT_LOAD (DISPID_XMLDOM_DOCUMENT + 6)
  80. #define DISPID_XMLDOM_DOCUMENT_PARSEERROR (DISPID_XMLDOM_DOCUMENT + 7)
  81. #define DISPID_XMLDOM_DOCUMENT_URL (DISPID_XMLDOM_DOCUMENT + 8)
  82. #define DISPID_XMLDOM_DOCUMENT_ASYNC (DISPID_XMLDOM_DOCUMENT + 9)
  83. #define DISPID_XMLDOM_DOCUMENT_ABORT (DISPID_XMLDOM_DOCUMENT + 10)
  84. #define DISPID_XMLDOM_DOCUMENT_LOADXML (DISPID_XMLDOM_DOCUMENT + 11)
  85. #define DISPID_XMLDOM_DOCUMENT_SAVE (DISPID_XMLDOM_DOCUMENT + 12)
  86. #define DISPID_XMLDOM_DOCUMENT_VALIDATE (DISPID_XMLDOM_DOCUMENT + 13)
  87. #define DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE (DISPID_XMLDOM_DOCUMENT + 14)
  88. #define DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE (DISPID_XMLDOM_DOCUMENT + 15)
  89. #define DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE (DISPID_XMLDOM_DOCUMENT + 16)
  90. #define DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE (DISPID_XMLDOM_DOCUMENT + 17)
  91. #define DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE (DISPID_XMLDOM_DOCUMENT + 18)
  92. #define DISPID_XMLDOM_DOCUMENT__TOP (DISPID_XMLDOM_DOCUMENT + 19)
  93. #define DISPID_DOM_NODELIST (DISPID_XMLDOM_DOCUMENT__TOP + 1)
  94. #define DISPID_DOM_NODELIST_ITEM (DISPID_DOM_NODELIST + 1)
  95. #define DISPID_DOM_NODELIST_LENGTH (DISPID_DOM_NODELIST + 2)
  96. #define DISPID_XMLDOM_NODELIST (DISPID_DOM_NODELIST + 3)
  97. #define DISPID_XMLDOM_NODELIST_NEXTNODE (DISPID_XMLDOM_NODELIST + 1)
  98. #define DISPID_XMLDOM_NODELIST_RESET (DISPID_XMLDOM_NODELIST + 2)
  99. #define DISPID_XMLDOM_NODELIST_NEWENUM (DISPID_XMLDOM_NODELIST + 3)
  100. #define DISPID_XMLDOM_NODELIST__TOP (DISPID_XMLDOM_NODELIST + 4)
  101. #define DISPID_DOM_NAMEDNODEMAP (DISPID_XMLDOM_NODELIST__TOP + 1)
  102. #define DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM (DISPID_DOM_NAMEDNODEMAP + 3)
  103. #define DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM (DISPID_DOM_NAMEDNODEMAP + 4)
  104. #define DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM (DISPID_DOM_NAMEDNODEMAP + 5)
  105. #define DISPID_XMLDOM_NAMEDNODEMAP (DISPID_DOM_NAMEDNODEMAP + 6)
  106. #define DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM (DISPID_XMLDOM_NAMEDNODEMAP + 1)
  107. #define DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM (DISPID_XMLDOM_NAMEDNODEMAP + 2)
  108. #define DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE (DISPID_XMLDOM_NAMEDNODEMAP + 3)
  109. #define DISPID_XMLDOM_NAMEDNODEMAP_RESET (DISPID_XMLDOM_NAMEDNODEMAP + 4)
  110. #define DISPID_XMLDOM_NAMEDNODEMAP_NEWENUM (DISPID_XMLDOM_NAMEDNODEMAP + 5)
  111. #define DISPID_XMLDOM_NAMEDNODEMAP__TOP (DISPID_XMLDOM_NAMEDNODEMAP + 6)
  112. #define DISPID_DOM_W3CWRAPPERS (DISPID_XMLDOM_NAMEDNODEMAP__TOP + 1)
  113. #define DISPID_DOM_DOCUMENTFRAGMENT (DISPID_DOM_W3CWRAPPERS + 1)
  114. #define DISPID_DOM_DOCUMENTFRAGMENT__TOP (DISPID_DOM_DOCUMENTFRAGMENT + 1)
  115. #define DISPID_DOM_ELEMENT (DISPID_DOM_DOCUMENTFRAGMENT__TOP + 1)
  116. #define DISPID_DOM_ELEMENT_GETTAGNAME (DISPID_DOM_ELEMENT + 1)
  117. #define DISPID_DOM_ELEMENT_GETATTRIBUTES (DISPID_DOM_ELEMENT + 2)
  118. #define DISPID_DOM_ELEMENT_GETATTRIBUTE (DISPID_DOM_ELEMENT + 3)
  119. #define DISPID_DOM_ELEMENT_SETATTRIBUTE (DISPID_DOM_ELEMENT + 4)
  120. #define DISPID_DOM_ELEMENT_REMOVEATTRIBUTE (DISPID_DOM_ELEMENT + 5)
  121. #define DISPID_DOM_ELEMENT_GETATTRIBUTENODE (DISPID_DOM_ELEMENT + 6)
  122. #define DISPID_DOM_ELEMENT_SETATTRIBUTENODE (DISPID_DOM_ELEMENT + 7)
  123. #define DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE (DISPID_DOM_ELEMENT + 8)
  124. #define DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME (DISPID_DOM_ELEMENT + 9)
  125. #define DISPID_DOM_ELEMENT_NORMALIZE (DISPID_DOM_ELEMENT + 10)
  126. #define DISPID_DOM_ELEMENT__TOP (DISPID_DOM_ELEMENT + 11)
  127. #define DISPID_DOM_DATA (DISPID_DOM_ELEMENT__TOP + 1)
  128. #define DISPID_DOM_DATA_DATA (DISPID_DOM_DATA + 1)
  129. #define DISPID_DOM_DATA_LENGTH (DISPID_DOM_DATA + 2)
  130. #define DISPID_DOM_DATA_SUBSTRING (DISPID_DOM_DATA + 3)
  131. #define DISPID_DOM_DATA_APPEND (DISPID_DOM_DATA + 4)
  132. #define DISPID_DOM_DATA_INSERT (DISPID_DOM_DATA + 5)
  133. #define DISPID_DOM_DATA_DELETE (DISPID_DOM_DATA + 6)
  134. #define DISPID_DOM_DATA_REPLACE (DISPID_DOM_DATA + 7)
  135. #define DISPID_DOM_DATA__TOP (DISPID_DOM_DATA + 8)
  136. #define DISPID_DOM_ATTRIBUTE (DISPID_DOM_DATA__TOP + 1)
  137. #define DISPID_DOM_ATTRIBUTE_GETNAME (DISPID_DOM_ATTRIBUTE + 1)
  138. #define DISPID_DOM_ATTRIBUTE_SPECIFIED (DISPID_DOM_ATTRIBUTE + 2)
  139. #define DISPID_DOM_ATTRIBUTE_VALUE (DISPID_DOM_ATTRIBUTE + 3)
  140. #define DISPID_DOM_ATTRIBUTE__TOP (DISPID_DOM_ATTRIBUTE + 4)
  141. #define DISPID_DOM_TEXT (DISPID_DOM_ATTRIBUTE__TOP + 1)
  142. #define DISPID_DOM_TEXT_SPLITTEXT (DISPID_DOM_TEXT + 1)
  143. #define DISPID_DOM_TEXT_JOINTEXT (DISPID_DOM_TEXT + 2)
  144. #define DISPID_DOM_TEXT__TOP (DISPID_DOM_TEXT + 3)
  145. #define DISPID_DOM_PI (DISPID_DOM_TEXT__TOP + 1)
  146. #define DISPID_DOM_PI_TARGET (DISPID_DOM_PI + 1)
  147. #define DISPID_DOM_PI_DATA (DISPID_DOM_PI + 2)
  148. #define DISPID_DOM_PI__TOP (DISPID_DOM_PI + 3)
  149. #define DISPID_DOM_DOCUMENTTYPE (DISPID_DOM_PI__TOP + 1)
  150. #define DISPID_DOM_DOCUMENTTYPE_NAME (DISPID_DOM_DOCUMENTTYPE + 1)
  151. #define DISPID_DOM_DOCUMENTTYPE_ENTITIES (DISPID_DOM_DOCUMENTTYPE + 2)
  152. #define DISPID_DOM_DOCUMENTTYPE_NOTATIONS (DISPID_DOM_DOCUMENTTYPE + 3)
  153. #define DISPID_DOM_DOCUMENTTYPE__TOP (DISPID_DOM_DOCUMENTTYPE + 4)
  154. #define DISPID_DOM_NOTATION (DISPID_DOM_DOCUMENTTYPE__TOP + 1)
  155. #define DISPID_DOM_NOTATION_PUBLICID (DISPID_DOM_NOTATION + 1)
  156. #define DISPID_DOM_NOTATION_SYSTEMID (DISPID_DOM_NOTATION + 2)
  157. #define DISPID_DOM_NOTATION__TOP (DISPID_DOM_NOTATION + 3)
  158. #define DISPID_DOM_ENTITY (DISPID_DOM_NOTATION__TOP + 1)
  159. #define DISPID_DOM_ENTITY_PUBLICID (DISPID_DOM_ENTITY + 1)
  160. #define DISPID_DOM_ENTITY_SYSTEMID (DISPID_DOM_ENTITY + 2)
  161. #define DISPID_DOM_ENTITY_NOTATIONNAME (DISPID_DOM_ENTITY + 3)
  162. #define DISPID_DOM_ENTITY__TOP (DISPID_DOM_ENTITY + 4)
  163. //define DISPID_DOM_COMMENT
  164. //define DISPID_DOM_CDATASECTION
  165. //define DISPID_DOM_ENTITYREFERENCE
  166. #define DISPID_DOM_W3CWRAPPERS_TOP (DISPID_DOM_ENTITY__TOP)
  167. #define DISPID_DOM_IMPLEMENTATION (DISPID_DOM_W3CWRAPPERS_TOP + 1)
  168. #define DISPID_DOM_IMPLEMENTATION_HASFEATURE (DISPID_DOM_IMPLEMENTATION + 1)
  169. #define DISPID_DOM_IMPLEMENTATION__TOP (DISPID_DOM_IMPLEMENTATION + 2)
  170. #define DISPID_DOM__TOP (DISPID_DOM_IMPLEMENTATION + 0x20)
  171. #define DISPID_DOM_ERROR (DISPID_DOM__TOP + 1)
  172. #define DISPID_DOM_ERROR_ERRORCODE (DISPID_DOM_ERROR + 1)
  173. #define DISPID_DOM_ERROR_URL (DISPID_DOM_ERROR + 2)
  174. #define DISPID_DOM_ERROR_REASON (DISPID_DOM_ERROR + 3)
  175. #define DISPID_DOM_ERROR_SRCTEXT (DISPID_DOM_ERROR + 4)
  176. #define DISPID_DOM_ERROR_LINE (DISPID_DOM_ERROR + 5)
  177. #define DISPID_DOM_ERROR_LINEPOS (DISPID_DOM_ERROR + 6)
  178. #define DISPID_DOM_ERROR_FILEPOS (DISPID_DOM_ERROR + 7)
  179. #define DISPID_DOM_ERROR__TOP (DISPID_DOM_ERROR + 8)
  180. #define DISPID_XTLRUNTIME (DISPID_DOM_ERROR__TOP + 1)
  181. #define DISPID_XTLRUNTIME_UNIQUEID (DISPID_XTLRUNTIME + 1)
  182. #define DISPID_XTLRUNTIME_DEPTH (DISPID_XTLRUNTIME + 2)
  183. #define DISPID_XTLRUNTIME_CHILDNUMBER (DISPID_XTLRUNTIME + 3)
  184. #define DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER (DISPID_XTLRUNTIME + 4)
  185. #define DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER (DISPID_XTLRUNTIME + 5)
  186. #define DISPID_XTLRUNTIME_FORMATINDEX (DISPID_XTLRUNTIME + 6)
  187. #define DISPID_XTLRUNTIME_FORMATNUMBER (DISPID_XTLRUNTIME + 7)
  188. #define DISPID_XTLRUNTIME_FORMATDATE (DISPID_XTLRUNTIME + 8)
  189. #define DISPID_XTLRUNTIME_FORMATTIME (DISPID_XTLRUNTIME + 9)
  190. #define DISPID_XTLRUNTIME__TOP (DISPID_XTLRUNTIME + 10)
  191. #define DISPID_XMLDOMEVENT (DISPID_XTLRUNTIME__TOP + 1)
  192. #define DISPID_XMLDOMEVENT_ONREADYSTATECHANGE (DISPID_READYSTATECHANGE)
  193. #define DISPID_XMLDOMEVENT_ONDATAAVAILABLE (DISPID_XMLDOMEVENT + 1)
  194. #define DISPID_XMLDOMEVENT__TOP (DISPID_XMLDOMEVENT + 2)
  195. //;begin_internal
  196. #endif // __XMLDOMDID_H__
  197. //;end_internal