Difference between revisions of "Truxton communication set sent"
Jump to navigation
Jump to search
(Created page with "Sets the date when the message was sent. This corresponds to the <code>[Sent]</code> column of the <code>[Message]</code> table. =Syntax= <source lang="C"> void truxton_commu...") |
(→Sample) |
||
| Line 15: | Line 15: | ||
=Sample= | =Sample= | ||
| − | <source lang="C" highlight=" | + | <source lang="C" highlight="3"> |
void set_sent_to_now( uint64_t communication_handle ) | void set_sent_to_now( uint64_t communication_handle ) | ||
{ | { | ||
| − | + | truxton_communication_set_sent( communication_handle , truxton_time_now() ); | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | truxton_communication_set_sent( communication_handle , | ||
} | } | ||
</source> | </source> | ||
Latest revision as of 17:01, 13 April 2024
Sets the date when the message was sent.
This corresponds to the [Sent] column of the [Message] table.
Syntax
void truxton_communication_set_sent( uint64_t communication_handle, uint64_t ticks );
Parameters
communication_handle
The handle created by the truxton_communication_create call.
ticks
The date and time in FILETIME ticks.
Sample
void set_sent_to_now( uint64_t communication_handle )
{
truxton_communication_set_sent( communication_handle , truxton_time_now() );
}