Truxton media set case number

From truxwiki.com
Revision as of 16:50, 23 November 2020 by Sam (talk | contribs)
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" );
}