Truxton media set case number

From truxwiki.com
Revision as of 03:55, 10 July 2020 by Sam (talk | contribs) (Created page with "Sets the case number of this media object. This corresponds to the <code>CaseNumber</code> column of the <code>Media</code> table. This is an arbitrary string value that Trux...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets the case number of this media object. This corresponds to the CaseNumber column of the Media table.

This is an arbitrary string value that Truxton will associate with the media. The format of the case number is whatever the user wishes.

Syntax

void truxton_media_set_case_number( uint64_t media_handle, char * case_number);

Parameters

media_handle

The handle created by the truxton_media_create or truxton_media_open_id call.

case_number

The case number of the media.

Sample

void set_case(uint64_t media_handle)
{
   truxton_media_set_case_number( media_handle, "2020:55:A 14-D" );
}