Truxton media get last updated
Jump to navigation
Jump to search
This retrieves the date when the media last changed.
This corresponds to the [LastUpdated] column of the [Media] table.
Syntax
uint64_t truxton_media_get_last_updated( uint64_t media_handle );
Parameters
media_handle
The handle created by the truxton_media_open_id or truxton_media_create call.
Return value
The last update date of the media in FILETIME ticks.
Sample
void print_valid( uint64_t media )
{
uint64_t date = truxton_media_get_last_updated( media );
if ( date == 0 )
{
printf( "The media has no last update date\n" );
}
else
{
printf( "The media has a last update date\n" );
}
}