Difference between revisions of "Truxton media set evidence bag"

From truxwiki.com
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
Sets the identifier of the evidence bag holding the media.
 
Sets the identifier of the evidence bag holding the media.
This corresponds to the <code>EvidenceBag</code> column of the <code>Media</code> table.
+
This corresponds to the <code>[EvidenceBag]</code> column of the <code><nowiki>[</nowiki>[[Media Table|Media]]<nowiki>]</nowiki></code> table.
  
 
=Syntax=
 
=Syntax=

Latest revision as of 07:44, 3 February 2024

Sets the identifier of the evidence bag holding the media. This corresponds to the [EvidenceBag] column of the [Media] table.

Syntax

void truxton_media_set_evidence_bag( uint64_t media_handle, char const * id );

Parameters

media_handle

The handle created by the truxton_media_create or truxton_media_open_id call.

id

Who gave you this media.

Sample

void set_evidence_bag_control_number( uint64_t media_handle )
{
   truxton_media_set_evidence_bag( media_handle, "EV-17:2020-AHHG5" );
}