The idl compiler transforms interface definitions written in idl into urd files. The urd files are then going to be merged into the type library (rdb). You could find a syntax description for IDL here.