Truxton usb add note

From truxwiki.com
Revision as of 09:12, 1 October 2022 by Sam (talk | contribs) (Created page with "This will add a note to the USB device. It will cause a record to be created in the <code>[InvestigatorNote]</code> table. =Syntax= <source lang="C"> int truxton_usb_add_note...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This will add a note to the USB device. It will cause a record to be created in the [InvestigatorNote] table.

Syntax

int truxton_usb_add_note( uint64_t usb_handle, char const * text );

Parameters

usb_handle

The handle to the USB device created by calling truxton_usb_create().

text

The contents of the note.

Return value

A non-zero value on success, zero on failure.

Sample

void target_item( uint64_t usb_handle )
{
   truxton_usb_add_note( usb_handle, "This is my number one target." );
}