a libmsidatabase
an exisiting table name
a libmsirecord containing the names of all the primary key columns.