Truxton investigation initialize findings

From truxwiki.com
Jump to navigation Jump to search

This creates the "My Findings" group for this investigation.

Syntax

uint64_t truxton_investigation_initialize_findings( uint64_t investigation_handle );

Parameters

investigation_handle

The handle to the investigation object. This handle comes from calling truxton_investigation_create().

Return value

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

Note

This method is automatically called for you when truxton_investigation_save() is executed.

Sample

void my_findings( void )
{
   uint64_t truxton = truxton_create();
   uint64_t investigation = truxton_investigation_open_id( truxton, "466C796E-6E27-7320-696E-6E6F63656E74" );

   if ( truxton_investigation_initialize_findings( investigation ) == 0 )
   {
      printf("Cannot initialize my findings.\n");
   }

   truxton_investigation_destroy( investigation );
   truxton_destroy( truxton );
}