Difference between revisions of "Truxton media set description"

From truxwiki.com
Jump to navigation Jump to search
Line 4: Line 4:
 
=Syntax=
 
=Syntax=
 
<source lang="C">
 
<source lang="C">
void truxton_media_set_description( uint64_t media_handle, char * description );
+
void truxton_media_set_description( uint64_t media_handle, char const * description );
 
</source>
 
</source>
  

Revision as of 16:15, 16 February 2021

Sets the description of this media object. This corresponds to the [Description] column of the [Media] table.

Syntax

void truxton_media_set_description( uint64_t media_handle, char const * description );

Parameters

media_handle

The handle created by the truxton_media_create or truxton_media_open_id call.

description

The description of the media.

Sample

void set_description( uint64_t media_handle )
{
   truxton_media_set_description( media_handle, "Thumb drive found at the scene" );
}