Difference between revisions of "Truxton media set name"
Jump to navigation
Jump to search
| Line 4: | Line 4: | ||
=Syntax= | =Syntax= | ||
<source lang="C"> | <source lang="C"> | ||
| − | void truxton_media_set_name( uint64_t media_handle, char * name ); | + | void truxton_media_set_name( uint64_t media_handle, char const * name ); |
</source> | </source> | ||
| Line 13: | Line 13: | ||
==<code>name</code>== | ==<code>name</code>== | ||
| − | |||
The name of the media. | The name of the media. | ||
Revision as of 16:15, 16 February 2021
Sets the name of this media object.
This corresponds to the [Name] column of the [Media] table.
Contents
Syntax
void truxton_media_set_name( uint64_t media_handle, char const * name );
Parameters
media_handle
The handle created by the truxton_media_create or truxton_media_open_id call.
name
The name of the media.
Sample
void set_name( uint64_t media_handle )
{
truxton_media_set_name( media_handle, "My Little Thumb Drive" );
}