Patent ID: 7284240

Claim:
One or more computer storage media having stored thereon a plurality of instructions that, when executed by a transformation engine comprising a series of instructions executed by one or more processors, causes the transformation engine to: access a plurality of constructs in an application programming interface description, wherein the description is written in an extensible markup language (XML) format; and transform each of the plurality of constructs into computer executable instructions and declarations for a component object module (COM) application programming interface header file, wherein to transform one or more of the plurality of constructs is to: check an attribute of a declare enumeration construct of the plurality of constructs to determine whether the declare enumeration construct is to be transformed into a series of manifest constants or into a component object model enumeration declaration; and transform the declare enumeration construct into the component object model enumeration declaration if the attribute has a first value, and otherwise transform the declare enumeration construct into the series of manifest constants.