I took out my IFs where I would normally test for the Db opens, note opens, etc. I know mail\test.nsf and mail\nadmin.nsf exist and I know NoteID 2298 exist. I stripped this down to keep the code block small. When the logic was in everything passed with no errors. Basically just looking for shortest example of copying a note from one DB to another. Thank you.
void myTest(void)
{
NOTEID noteid = 2298;
DBHANDLE db_handle_src, db_handle_dst;
NOTEHANDLE note_handle;
NSFDbOpen("mail\\nadmin.nsf", &db_handle_src);
NSFDbOpen("mail\\test.nsf", &db_handle_dst);
NSFNoteOpen(db_handle_src, noteid, 0, ¬e_handle);
NSFNoteGetInfo(note_handle, _NOTE_ID, ¬eid);
NSFDbCopyNote(db_handle_src, NULL, NULL, noteid, db_handle_dst, NULL, NULL, NULL, NULL);
NSFNoteClose(note_handle);
NSFDbClose(db_handle_src);
NSFDbClose(db_handle_dst);
}