Difference between revisions of "Truxton media set originator"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
Sets where this media came from. | Sets where this media came from. | ||
| − | This corresponds to the <code>[Originator]</code> column of the <code>[Media]</code> table. | + | This corresponds to the <code>[Originator]</code> column of the <code><nowiki>[</nowiki>[[Media Table|Media]]<nowiki>]</nowiki></code> table. |
=Syntax= | =Syntax= | ||
Latest revision as of 07:43, 3 February 2024
Sets where this media came from.
This corresponds to the [Originator] column of the [Media] table.
Syntax
void truxton_media_set_originator( uint64_t media_handle, char const * originator );
Parameters
media_handle
The handle created by the truxton_media_create or truxton_media_open_id call.
originator
Who gave you this media.
Sample
void set_origin( uint64_t media_handle )
{
truxton_media_set_originator( media_handle, "Mayberry R.F.D. Sheriff Taylor" );
}