using (ScriptAPI) { AddUShort("WMChar"); AddUInt("No"); length = AddUShort("NotifyLength"); AddField("Notify", length); }