Truxton media add note

From truxwiki.com
Jump to navigation Jump to search

This will add a note to the the media. It will cause a record to be created in the [InvestigatorNote] table.

Syntax

int truxton_media_add_note( uint64_t media_handle, char const * text );

Parameters

media_handle

The handle created by the truxton_media_open_id or truxton_media_create call.

text

The contents of the note.

Return value

A non-zero value on success, zero on failure.

Sample

void process_media( uint64_t truxton )
{
   uint64_t media = truxton_media_open_id( truxton, "92A86F8F-DFD0-4DBE-B9FF-257D4EB17B4C" );

   truxton_media_add_note( media, "I processed this media." );

   truxton_media_destroy( media );
}