TLB2IDC allows you to easily import the type information contained in a COM type library into your IDA database. The tool generates an IDC script that defines all enums/interfaces/records and unions within the type library.