Truxton investigation get opened

From truxwiki.com
Revision as of 05:06, 30 May 2023 by Sam (talk | contribs) (Created page with "This retrieves the create date of the investigation. This corresponds to the <code>[Opened]</code> column of the <code>[Investigation]</code> table. It represents when this in...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This retrieves the create date of the investigation. This corresponds to the [Opened] column of the [Investigation] table. It represents when this investigation was created in Truxton.

Syntax

uint64_t truxton_investigation_get_opened( uint64_t investigation_handle );

Parameters

investigation_handle

The handle created by the truxton_investigation_create().

Return value

The creation date of the investigation in FILETIME ticks.

Sample

void print_valid( uint64_t investigation )
{
   uint64_t creation_date = truxton_investigation_get_opened( investigation );

   if ( creation_date == 0 )
   {
      printf( "The investigation has no opened date\n" );
   }
   else
   {
      printf( "The investigation has a opened date\n" );
   }
}