Truxton investigation get active group id

From truxwiki.com
Revision as of 05:36, 30 May 2023 by Sam (talk | contribs) (Created page with "This retrieves the identifier of the investigation's active group. =Syntax= <source lang="C"> void truxton_investigation_get_active_group_id( uint64_t investigation_handle, c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 );
}