DebugOutput sends a string to the debug terminal.
#define INCL_PM #include <os2.h> PSZ string; APIRET rc; rc = DebugOutput(string);