<?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_get_status</id>
	<title>Truxton investigation get status - 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_get_status"/>
	<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_investigation_get_status&amp;action=history"/>
	<updated>2026-09-09T16:12:19Z</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_get_status&amp;diff=4599&amp;oldid=prev</id>
		<title>Sam: Created page with &quot;This retrieves the status of the investigation. It corresponds to the &lt;code&gt;[InvestigationStatusID]&lt;/code&gt; column of the &lt;code&gt;[Investigation]&lt;/code&gt; table. It should contain...&quot;</title>
		<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_investigation_get_status&amp;diff=4599&amp;oldid=prev"/>
		<updated>2021-02-18T15:47:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This retrieves the status of the investigation. It corresponds to the &amp;lt;code&amp;gt;[InvestigationStatusID]&amp;lt;/code&amp;gt; column of the &amp;lt;code&amp;gt;[Investigation]&amp;lt;/code&amp;gt; table. It should contain...&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 status of the investigation.&lt;br /&gt;
It corresponds to the &amp;lt;code&amp;gt;[InvestigationStatusID]&amp;lt;/code&amp;gt; column of the &amp;lt;code&amp;gt;[Investigation]&amp;lt;/code&amp;gt; table.&lt;br /&gt;
It should contain a value from the &amp;lt;code&amp;gt;[ID]&amp;lt;/code&amp;gt; column of the &amp;lt;code&amp;gt;[InvestigationStatus]&amp;lt;/code&amp;gt; table.&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_get_status( 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 identifier of the jurisdiction.&lt;br /&gt;
&lt;br /&gt;
=Sample=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot; highlight=&amp;quot;21&amp;quot;&amp;gt;&lt;br /&gt;
void dump( uint64_t investigation_handle )&lt;br /&gt;
{&lt;br /&gt;
   uint64_t integer_value = 0;&lt;br /&gt;
   char string_value[ 256 ];&lt;br /&gt;
&lt;br /&gt;
   truxton_investigation_get_id( investigation_handle, string_value, sizeof( string_value ) ) ;&lt;br /&gt;
   printf( &amp;quot;ID: %s\n&amp;quot;, string_value );&lt;br /&gt;
&lt;br /&gt;
   truxton_investigation_get_name( investigation_handle, string_value, sizeof( string_value ) );&lt;br /&gt;
   printf( &amp;quot;Name: %s\n&amp;quot;, string_value );&lt;br /&gt;
&lt;br /&gt;
   truxton_investigation_get_description( investigation_handle, string_value, sizeof( string_value ) );&lt;br /&gt;
   printf( &amp;quot;Description: %s\n&amp;quot;, string_value );&lt;br /&gt;
&lt;br /&gt;
   truxton_investigation_get_case_number( investigation_handle, string_value, sizeof( string_value ) );&lt;br /&gt;
   printf( &amp;quot;Case: %s\n&amp;quot;, string_value );&lt;br /&gt;
&lt;br /&gt;
   integer_value  = truxton_investigation_get_jurisdiction( investigation_handle );&lt;br /&gt;
   printf( &amp;quot;Jurisdiction: &amp;quot; PRIu64 &amp;quot;\n&amp;quot;, integer_value );&lt;br /&gt;
&lt;br /&gt;
   integer_value = truxton_investigation_get_status( investigation_handle );&lt;br /&gt;
   printf( &amp;quot;Status: &amp;quot; PRIu64 &amp;quot;\n&amp;quot;, integer_value );&lt;br /&gt;
&lt;br /&gt;
   integer_value = truxton_investigation_get_type( investigation_handle );&lt;br /&gt;
   printf( &amp;quot;Type: &amp;quot; PRIu64 &amp;quot;\n&amp;quot;, integer_value );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note, the &amp;lt;code&amp;gt;PRIu64&amp;lt;/code&amp;gt; in the sample code above is the new standard way of [https://en.wikipedia.org/wiki/C_data_types#Printf_and_scanf_format_specifiers formatting] a 64-bit integer in C.&lt;br /&gt;
Over the years, different compilers on different operating systems used different format specifiers for things, these &amp;lt;code&amp;gt;PRI&amp;lt;/code&amp;gt; macros, along with some tricky string concatenation the compilers perform for you, allow you to maintain a single code base without a bunch of macro magic.&lt;/div&gt;</summary>
		<author><name>Sam</name></author>
		
	</entry>
</feed>