<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://truxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Truxton_investigation_create_group</id>
	<title>Truxton investigation create group - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://truxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Truxton_investigation_create_group"/>
	<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_investigation_create_group&amp;action=history"/>
	<updated>2026-09-09T19:39:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://truxwiki.com/index.php?title=Truxton_investigation_create_group&amp;diff=6497&amp;oldid=prev</id>
		<title>Sam: Created page with &quot;This creates a group associated with the investigation.  =Syntax= &lt;source lang=&quot;C&quot;&gt; uint64_t truxton_investigation_create_group( uint64_t investigation_handle ); &lt;/source&gt;  =P...&quot;</title>
		<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_investigation_create_group&amp;diff=6497&amp;oldid=prev"/>
		<updated>2023-05-30T09:31:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This creates a group associated with the investigation.  =Syntax= &amp;lt;source lang=&amp;quot;C&amp;quot;&amp;gt; uint64_t truxton_investigation_create_group( uint64_t investigation_handle ); &amp;lt;/source&amp;gt;  =P...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This creates a group associated with the investigation.&lt;br /&gt;
&lt;br /&gt;
=Syntax=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot;&amp;gt;&lt;br /&gt;
uint64_t truxton_investigation_create_group( uint64_t investigation_handle );&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Parameters=&lt;br /&gt;
==&amp;lt;code&amp;gt;investigation_handle&amp;lt;/code&amp;gt;==&lt;br /&gt;
The handle created by the [[truxton_investigation_create|truxton_investigation_create()]].&lt;br /&gt;
&lt;br /&gt;
=Return value=&lt;br /&gt;
The handle to the parent group object.&lt;br /&gt;
&lt;br /&gt;
=Sample=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot; highlight=&amp;quot;8&amp;quot;&amp;gt;&lt;br /&gt;
void create_my_things( uint64_t investigation_handle )&lt;br /&gt;
{&lt;br /&gt;
    if ( investigation_handle == 0 )&lt;br /&gt;
    {&lt;br /&gt;
        return;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    uint64_t group_handle = truxton_investigation_create_group( investigation_handle );&lt;br /&gt;
 &lt;br /&gt;
    truxton_group_set_name( group_handle, &amp;quot;My Things&amp;quot; );&lt;br /&gt;
    truxton_group_set_description( group_handle, &amp;quot;These are my things&amp;quot; );&lt;br /&gt;
    truxton_group_set_is_default( group_handle, 1 );&lt;br /&gt;
    truxton_group_set_type( group_handle, GROUP_TYPE_USER );&lt;br /&gt;
&lt;br /&gt;
    if ( truxton_group_save( group_handle ) != 0 )&lt;br /&gt;
    {&lt;br /&gt;
        char guid[MINIMUM_GUID_STRING_BUFFER_SIZE + 5];&lt;br /&gt;
&lt;br /&gt;
        truxton_group_get_id( group_handle, guid, sizeof(guid) );&lt;br /&gt;
        truxton_investigation_set_active_group_id( investigation_handle, guid );&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    truxton_group_destroy( group_handle );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sam</name></author>
		
	</entry>
</feed>