Truxton usb add note

From truxwiki.com
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." );
}