Truxton media set evidence bag

From truxwiki.com
Revision as of 06:04, 10 July 2020 by Sam (talk | contribs) (Created page with "Sets the identifier of the evidence bag holding the media. This corresponds to the <code>EvidenceBag</code> column of the <code>Media</code> table. =Syntax= <syntaxhighlight...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 * 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" );
}