Inserts variable text-string information into a message.
#define INCL_DOSMISC #include <os2.h> PCHAR *pTable; /* A pointer table. */ ULONG cTable; /* The number of variable insertion text strings. */ PSZ pszMsg; /* The address of the input message. */ ULONG cbMsg; /* The length, in bytes, of the input message. */ PCHAR pBuf; /* The address of the caller's buffer area where the system returns the requested message. */ ULONG cbBuf; /* The length, in bytes, of the caller's buffer area. */ PULONG pcbMsg; /* The length, in bytes, of the updated message returned. */ APIRET ulrc; /* Return Code. */ ulrc = DosInsertMessage(pTable, cTable, pszMsg, cbMsg, pBuf, cbBuf, pcbMsg);