Difference between revisions of "Truxton media set evidence bag"
Jump to navigation
Jump to search
| Line 4: | Line 4: | ||
=Syntax= | =Syntax= | ||
<source lang="C"> | <source lang="C"> | ||
| − | void truxton_media_set_evidence_bag( uint64_t media_handle, char * id ); | + | void truxton_media_set_evidence_bag( uint64_t media_handle, char const * id ); |
</source> | </source> | ||
Revision as of 16:16, 16 February 2021
Sets the identifier of the evidence bag holding the media.
This corresponds to the EvidenceBag column of the Media table.
Contents
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" );
}