Truxton communication set received

From truxwiki.com
Revision as of 18:15, 13 April 2024 by Sam (talk | contribs) (→‎Sample)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets the date when the message was received. This corresponds to the [Received] column of the [Message] table.

Syntax

void truxton_communication_set_received( 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_received_to_now( uint64_t communication_handle )
{
   truxton_communication_set_received( communication_handle , truxton_time_now() );
}