Truxton communication get subject

From truxwiki.com
Revision as of 08:16, 19 May 2023 by Sam (talk | contribs) (Created page with "Retrieves the subject of the message. This corresponds to the <code>[Text]</code> column of the <code>[MessageSubject]</code> table. =Syntax= <source lang="C"> void truxton_c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Retrieves the subject of the message. This corresponds to the [Text] column of the [MessageSubject] table.

Syntax

void truxton_communication_get_subject( uint64_t communication_handle, char * destination_string, size_t max_size );

Parameters

communication_handle

The handle created by the truxton_communication_create call.

destination_string

The string to be written to.

max_size

The maximum number of characters that can be written to destination_string

Sample

void print_subject( uint64_t communication_handle )
{
   char subject[512];

   truxton_communication_get_subject( child_file, subject, sizeof(subject) );
   printf( "%s\n", subject);
}