2.2.28.1 User-Defined Data Types

The OLE Automation Protocol supports the specification of UDTs, in the form of structures of related data elements. The data elements MUST consist of scalar and OLE automation types. The structure is considered to be a single type and is referred to as a UDT.

In the IDL, a UDT MUST be identified by the uuid attribute (see section 2.2.49.2). The GUID from this attribute MUST uniquely identify the UDT.

A UDT MUST be specified or referenced from an automation scope (see section 2.2.49.2). For more information about the wire representation of the UDT, see sections 2.2.31 and 2.2.49.2.