...
The application includes support for some simple Dynamic Data Exchange (DDE ) transactions to allow other Windows applications to send data to the 3270 session and receive data from the 3270 session. Only the following DDE support is included.
...
To send data to the 3270 session: Use a WM_DDE_POKE message with a data item of "3270_data" and data that is in the same syntax as the scripting language.
To request the current screen contents: Use a WM_DDE_REQUEST message with a data item of "3270_data". This will return an array containing the screen data. Please note that all nulls in the screen data will be replaced with blanks.
...