Function : Note

NSFNoteCreate - Creates a new in-memory note.
----------------------------------------------------------------------------------------------------------

#include <nsfnote.h>

STATUS LNPUBLIC NSFNoteCreate(
DBHANDLE db_handle,
NOTEHANDLE far *note_handle);

Description :

This function creates a new note in memory. The note is empty after creation and is not yet stored in the on-disk database. You may use NSFItemAppend to add fields to the note, and NSFNoteUpdate to write the note to disk. Use NSFNoteClose to close the note handle and deallocate the memory associated with it.


Parameters :

Sample Usage :


  /* Create a Note in the specified database. */
  if (error_status = NSFNoteCreate(db_handle, &note1_handle))
      goto Exit;
  else
      cleanup_state += CLOSE_NOTE1;


See Also :

NSFItemAppend
----------------------------------------------------------------------------------------------------------