You can use IDatabaseService::GetOpenDatabases to get an IDatabaseList. You can then use IDatabaseList::NewRecordList to create a new IRecordList. You can then use IRecordList::AddRecord with the RecordID.
You can use IDatabaseService::GetOpenDatabases to get an IDatabaseList. You can then use IDatabaseList::NewRecordList to create a new IRecordList. You can then use IRecordList::AddRecord with the RecordID.