Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef __DOMDID_H__
      7 #define __DOMDID_H__
      8 
      9 #define DISPID_DOM_BASE 0x00000001
     10 
     11 #define DISPID_DOM_NODE (DISPID_DOM_BASE)
     12 #define DISPID_DOM_NODE_NODENAME (DISPID_DOM_NODE + 1)
     13 #define DISPID_DOM_NODE_NODEVALUE (DISPID_DOM_NODE + 2)
     14 #define DISPID_DOM_NODE_NODETYPE (DISPID_DOM_NODE + 3)
     15 #define DISPID_DOM_NODE_NODETYPEENUM (DISPID_DOM_NODE + 4)
     16 #define DISPID_DOM_NODE_PARENTNODE (DISPID_DOM_NODE + 5)
     17 #define DISPID_DOM_NODE_CHILDNODES (DISPID_DOM_NODE + 6)
     18 #define DISPID_DOM_NODE_FIRSTCHILD (DISPID_DOM_NODE + 7)
     19 #define DISPID_DOM_NODE_LASTCHILD (DISPID_DOM_NODE + 8)
     20 #define DISPID_DOM_NODE_PREVIOUSSIBLING (DISPID_DOM_NODE + 9)
     21 #define DISPID_DOM_NODE_NEXTSIBLING (DISPID_DOM_NODE + 10)
     22 #define DISPID_DOM_NODE_ATTRIBUTES (DISPID_DOM_NODE + 11)
     23 #define DISPID_DOM_NODE_INSERTBEFORE (DISPID_DOM_NODE + 12)
     24 #define DISPID_DOM_NODE_REPLACECHILD (DISPID_DOM_NODE + 13)
     25 #define DISPID_DOM_NODE_REMOVECHILD (DISPID_DOM_NODE + 14)
     26 #define DISPID_DOM_NODE_APPENDCHILD (DISPID_DOM_NODE + 15)
     27 #define DISPID_DOM_NODE_HASCHILDNODES (DISPID_DOM_NODE + 16)
     28 #define DISPID_DOM_NODE_OWNERDOC (DISPID_DOM_NODE + 17)
     29 #define DISPID_DOM_NODE_CLONENODE (DISPID_DOM_NODE + 18)
     30 #define DISPID_DOM_W3CWRAPPERS (DISPID_DOM_NODE + 0x20)
     31 
     32 #define DISPID_DOM_DOCUMENTFRAGMENT (DISPID_DOM_W3CWRAPPERS)
     33 #define DISPID_DOM_DOCUMENTFRAGMENT_TOP (DISPID_DOM_DOCUMENTFRAGMENT + 2)
     34 
     35 #define DISPID_DOM_DOCUMENT (DISPID_DOM_DOCUMENTFRAGMENT + 0x20)
     36 #define DISPID_DOM_DOCUMENT_DOCTYPE (DISPID_DOM_DOCUMENT + 1)
     37 #define DISPID_DOM_DOCUMENT_IMPLEMENTATION (DISPID_DOM_DOCUMENT + 2)
     38 #define DISPID_DOM_DOCUMENT_DOCUMENTELEMENT (DISPID_DOM_DOCUMENT + 3)
     39 #define DISPID_DOM_DOCUMENT_CREATEELEMENT (DISPID_DOM_DOCUMENT + 4)
     40 #define DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT (DISPID_DOM_DOCUMENT + 5)
     41 #define DISPID_DOM_DOCUMENT_CREATETEXTNODE (DISPID_DOM_DOCUMENT + 6)
     42 #define DISPID_DOM_DOCUMENT_CREATECOMMENT (DISPID_DOM_DOCUMENT + 7)
     43 #define DISPID_DOM_DOCUMENT_CREATECDATASECTION (DISPID_DOM_DOCUMENT + 8)
     44 #define DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION (DISPID_DOM_DOCUMENT + 9)
     45 #define DISPID_DOM_DOCUMENT_CREATEATTRIBUTE (DISPID_DOM_DOCUMENT + 10)
     46 #define DISPID_DOM_DOCUMENT_CREATEENTITY (DISPID_DOM_DOCUMENT + 11)
     47 #define DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE (DISPID_DOM_DOCUMENT + 12)
     48 #define DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME (DISPID_DOM_DOCUMENT + 13)
     49 #define DISPID_DOM_DOCUMENT_TOP (DISPID_DOM_DOCUMENT + 14)
     50 
     51 #define DISPID_DOM_ELEMENT (DISPID_DOM_DOCUMENT + 0x20)
     52 #define DISPID_DOM_ELEMENT_GETTAGNAME (DISPID_DOM_ELEMENT + 1)
     53 #define DISPID_DOM_ELEMENT_GETATTRIBUTES (DISPID_DOM_ELEMENT + 2)
     54 #define DISPID_DOM_ELEMENT_GETATTRIBUTE (DISPID_DOM_ELEMENT + 3)
     55 #define DISPID_DOM_ELEMENT_SETATTRIBUTE (DISPID_DOM_ELEMENT + 4)
     56 #define DISPID_DOM_ELEMENT_REMOVEATTRIBUTE (DISPID_DOM_ELEMENT + 5)
     57 #define DISPID_DOM_ELEMENT_GETATTRIBUTENODE (DISPID_DOM_ELEMENT + 6)
     58 #define DISPID_DOM_ELEMENT_SETATTRIBUTENODE (DISPID_DOM_ELEMENT + 7)
     59 #define DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE (DISPID_DOM_ELEMENT + 8)
     60 #define DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME (DISPID_DOM_ELEMENT + 9)
     61 #define DISPID_DOM_ELEMENT_NORMALIZE (DISPID_DOM_ELEMENT + 10)
     62 #define DISPID_DOM_ELEMENT_TOP (DISPID_DOM_ELEMENT + 11)
     63 
     64 #define DISPID_DOM_DATA (DISPID_DOM_ELEMENT + 0x20)
     65 #define DISPID_DOM_DATA_LENGTH (DISPID_DOM_DATA + 1)
     66 #define DISPID_DOM_DATA_SUBSTRING (DISPID_DOM_DATA + 2)
     67 #define DISPID_DOM_DATA_APPEND (DISPID_DOM_DATA + 3)
     68 #define DISPID_DOM_DATA_INSERT (DISPID_DOM_DATA + 4)
     69 #define DISPID_DOM_DATA_DELETE (DISPID_DOM_DATA + 5)
     70 #define DISPID_DOM_DATA_REPLACE (DISPID_DOM_DATA + 6)
     71 #define DISPID_DOM_DATA_TOP (DISPID_DOM_DATA + 7)
     72 
     73 #define DISPID_DOM_ATTRIBUTE (DISPID_DOM_DATA + 0x20)
     74 #define DISPID_DOM_ATTRIBUTE_GETNAME (DISPID_DOM_ATTRIBUTE + 1)
     75 #define DISPID_DOM_ATTRIBUTE_SPECIFIED (DISPID_DOM_ATTRIBUTE + 2)
     76 #define DISPID_DOM_ATTRIBUTE_GETVALUE (DISPID_DOM_ATTRIBUTE + 3)
     77 #define DISPID_DOM_ATTRIBUTE_TOP (DISPID_DOM_ATTRIBUTE + 4)
     78 
     79 #define DISPID_DOM_TEXT (DISPID_DOM_ATTRIBUTE + 0x20)
     80 #define DISPID_DOM_TEXT_SPLITTEXT (DISPID_DOM_TEXT + 1)
     81 #define DISPID_DOM_TEXT_JOINTEXT (DISPID_DOM_TEXT + 2)
     82 #define DISPID_DOM_TEXT_TOP (DISPID_DOM_TEXT + 3)
     83 
     84 #define DISPID_DOM_PI (DISPID_DOM_TEXT + 0x20)
     85 #define DISPID_DOM_PI_TARGET (DISPID_DOM_PI + 1)
     86 #define DISPID_DOM_PI_DATA (DISPID_DOM_PI + 2)
     87 #define DISPID_DOM_PI_TOP (DISPID_DOM_PI + 3)
     88 
     89 #define DISPID_DOM_DOCUMENTTYPE (DISPID_DOM_PI + 0x20)
     90 #define DISPID_DOM_DOCUMENTTYPE_NAME (DISPID_DOM_DOCUMENTTYPE + 1)
     91 #define DISPID_DOM_DOCUMENTTYPE_ENTITIES (DISPID_DOM_DOCUMENTTYPE + 2)
     92 #define DISPID_DOM_DOCUMENTTYPE_NOTATIONS (DISPID_DOM_DOCUMENTTYPE + 3)
     93 #define DISPID_DOM_DOCUMENTTYPE_TOP (DISPID_DOM_DOCUMENTTYPE + 4)
     94 
     95 #define DISPID_DOM_NOTATION (DISPID_DOM_DOCUMENTTYPE + 0x20)
     96 #define DISPID_DOM_NOTATION_PUBLICID (DISPID_DOM_NOTATION + 1)
     97 #define DISPID_DOM_NOTATION_SYSTEMID (DISPID_DOM_NOTATION + 2)
     98 #define DISPID_DOM_NOTATION_TOP (DISPID_DOM_NOTATION + 3)
     99 
    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 
    106 #define DISPID_DOM_W3CWRAPPERS_TOP (DISPID_DOM_ENTITY + 0x20)
    107 
    108 #define DISPID_DOM_NODELIST (DISPID_DOM_W3CWRAPPERS_TOP + 0x20)
    109 #define DISPID_DOM_NODELIST_ITEM (DISPID_DOM_NODELIST + 1)
    110 #define DISPID_DOM_NODELIST_LENGTH (DISPID_DOM_NODELIST + 2)
    111 
    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 
    117 #define DISPID_DOM_IMPLEMENTATION (DISPID_DOM_NAMEDNODEMAP + 0x20)
    118 #define DISPID_DOM_IMPLEMENTATION_HASFEATURE (DISPID_DOM_IMPLEMENTATION + 1)
    119 
    120 #define DISPID_DOM_TOP (DISPID_DOM_IMPLEMENTATION + 0x20)
    121 #endif
    122