Truxton investigation get active group id

From truxwiki.com
Jump to navigation Jump to search

This retrieves the identifier of the investigation's active group.

Syntax

void truxton_investigation_get_active_group_id( uint64_t investigation_handle, char * destination_string, size_t max_size );

Parameters

investigation_handle

The handle created by the truxton_investigation_create().

destination_string

The string to be written to.

max_size

The maximum number of characters that can be written to destination_string.

Sample

void dump( uint64_t investigation_handle )
{
   char string_value[ 256 ];

   truxton_investigation_get_active_group_id( investigation_handle, string_value, sizeof( string_value ) ) ;
   printf( "Active Group ID: %s\n", string_value );
}