2.2.49.4.3 Dispinterface Interfaces

A dispinterface is an automation interface that specifies the properties and methods (see section 2.2.49.5) that the IDispatch implementation of the automation server MUST implement.

A dispinterface is specified as:

 oa-dispinterface  = 
     oa-dispitf-header LWSP "{" LWSP oa-dispitf-body LWSP "}"
 oa-dispitf-header =   "[" interface-attributes "]" 
     LWSP kw-dispinterface LWSP Identifier
 oa-dispitf-body   = oa-itf-ref / oa-odl-body
 oa-itf-ref        = kw-interface LWSP Identifier LWSP ";"
  

A dispinterface defined using the <oa-itf-ref> production is a reference dispinterface. The interface referenced from the <oa-itf-ref> production (its "referenced interface") MUST be an automation-compatible interface.

The oleautomation attribute MUST NOT be used on dispinterfaces.