A DTWAIN_LONGSTRING is an array of 1,024 bytes.  It is used for character data that is passed between the application and DTWAIN.  It is a substitute for the TWAIN defined string types TW_STR1024.