using (ScriptAPI) { AddUShort("WMChar"); AddField("CharName", 20); AddUInt("No"); AddUInt("CharNo"); AddUShort("ErrorCode"); }