<?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_event_get_investigation_id</id>
	<title>Truxton investigation event get investigation id - 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_event_get_investigation_id"/>
	<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_investigation_event_get_investigation_id&amp;action=history"/>
	<updated>2026-09-09T16:16:24Z</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_event_get_investigation_id&amp;diff=8412&amp;oldid=prev</id>
		<title>Sam: /* Sample */</title>
		<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_investigation_event_get_investigation_id&amp;diff=8412&amp;oldid=prev"/>
		<updated>2024-04-14T11:57:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Sample&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 11:57, 14 April 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l39&quot; &gt;Line 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    char guid[MINIMUM_GUID_STRING_BUFFER_SIZE + 5];&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    char guid[MINIMUM_GUID_STRING_BUFFER_SIZE + 5];&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    truxton_investigation_event_get_investigation_id( &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;group_handle&lt;/del&gt;, guid, sizeof(guid) );&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    truxton_investigation_event_get_investigation_id( &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;event&lt;/ins&gt;, guid, sizeof(guid) );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    printf(&amp;quot;Investigation ID: %s\n&amp;quot;, guid);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    printf(&amp;quot;Investigation ID: %s\n&amp;quot;, guid);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sam</name></author>
		
	</entry>
	<entry>
		<id>https://truxwiki.com/index.php?title=Truxton_investigation_event_get_investigation_id&amp;diff=8403&amp;oldid=prev</id>
		<title>Sam: Created page with &quot;This retrieves the identifier of the investigation this event belongs to.  =Syntax= &lt;source lang=&quot;C&quot;&gt; void truxton_investigation_event_get_investigation_id( uint64_t investiga...&quot;</title>
		<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_investigation_event_get_investigation_id&amp;diff=8403&amp;oldid=prev"/>
		<updated>2024-04-14T11:41:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This retrieves the identifier of the investigation this event belongs to.  =Syntax= &amp;lt;source lang=&amp;quot;C&amp;quot;&amp;gt; void truxton_investigation_event_get_investigation_id( uint64_t investiga...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This retrieves the identifier of the investigation this event belongs to.&lt;br /&gt;
&lt;br /&gt;
=Syntax=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot;&amp;gt;&lt;br /&gt;
void truxton_investigation_event_get_investigation_id( uint64_t investigation_handle, char * destination_string, size_t max_size );&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 &amp;lt;code&amp;gt;[[truxton_investigation_create]]()&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;destination_string&amp;lt;/code&amp;gt;==&lt;br /&gt;
The string to be written to. &lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;max_size&amp;lt;/code&amp;gt;==&lt;br /&gt;
The maximum number of characters that can be written to &amp;lt;code&amp;gt;destination_string&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Sample=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot; highlight=&amp;quot;22&amp;quot;&amp;gt;&lt;br /&gt;
void create_event( void )&lt;br /&gt;
{&lt;br /&gt;
   uint64_t truxton = truxton_create();&lt;br /&gt;
&lt;br /&gt;
   uint64_t event = truxton_investigation_event_create( truxton );&lt;br /&gt;
&lt;br /&gt;
   truxton_investigation_event_set_id(event , &amp;quot;C229B12A-BDBC-4526-BC91-574FDCE0D650&amp;quot;); &lt;br /&gt;
   truxton_investigation_event_set_investigation_id(event , &amp;quot;01da7796-a010-3685-0000-018902cb3b22&amp;quot;);&lt;br /&gt;
   truxton_investigation_event_set_color(event , 0xFF9E1B18);&lt;br /&gt;
   truxton_investigation_event_set_text(event , &amp;quot;Case Opened&amp;quot;);&lt;br /&gt;
   truxton_investigation_event_set_status(event , INVESTIGATION_STATUS_OPEN);&lt;br /&gt;
   truxton_investigation_event_set_type(event , INVESTIGATION_EVENT_TYPE_STATUS_CHANGE);&lt;br /&gt;
   truxton_investigation_event_set_when(event , truxton_time_now());&lt;br /&gt;
&lt;br /&gt;
   if ( truxton_investigation_event_save( event ) == 0 )&lt;br /&gt;
   {&lt;br /&gt;
      printf( &amp;quot;Cannot save investigation event to the database.\n&amp;quot; );&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
   char guid[MINIMUM_GUID_STRING_BUFFER_SIZE + 5];&lt;br /&gt;
&lt;br /&gt;
   truxton_investigation_event_get_investigation_id( group_handle, guid, sizeof(guid) );&lt;br /&gt;
   printf(&amp;quot;Investigation ID: %s\n&amp;quot;, guid);&lt;br /&gt;
&lt;br /&gt;
   truxton_investigation_event_destroy(event);&lt;br /&gt;
   truxton_destroy( truxton );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sam</name></author>
		
	</entry>
</feed>