Difference between revisions of "Truxton delete media by name"
Jump to navigation
Jump to search
(Created page with "This deletes a piece of media in Truxton. =Syntax= <source lang="C"> void truxton_delete_media_by_name( uint64_t truxton_handle, char const * media_name ); </source> =Parame...") |
|||
| Line 21: | Line 21: | ||
uint64_t truxton = truxton_create(); | uint64_t truxton = truxton_create(); | ||
| − | truxton_delete_media_by_name( "Emilio Lizardo" ) | + | truxton_delete_media_by_name( "Emilio Lizardo" ); |
truxton_delete_investigation_by_name( "Yoyodyne Propulsion Systems" ); | truxton_delete_investigation_by_name( "Yoyodyne Propulsion Systems" ); | ||
Latest revision as of 16:22, 3 April 2025
This deletes a piece of media in Truxton.
Syntax
void truxton_delete_media_by_name( uint64_t truxton_handle, char const * media_name );
Parameters
truxton_handle
The Truxton instance where this media exists.
This handle comes from calling truxton_create().
media_name
The name of the media to delete. This must be an exact match.
Sample
void destroy_investigation( void )
{
uint64_t truxton = truxton_create();
truxton_delete_media_by_name( "Emilio Lizardo" );
truxton_delete_investigation_by_name( "Yoyodyne Propulsion Systems" );
truxton_destroy( truxton );
}