Returning an array of a struct is now a list sometimes?

I opened an old .RODL with my new RO build 1629 and it changed the interface

For one function which has an output parameter which is an array of a struct it returns this as a list

For other structs it does not do this.

Is it because the name ends with list?

This however breaks the compatibility (code does not compile anymore)I have not checked what it does for the runtime (does running the exe without modified generated itf files work?)

The TNotificationList array has a Documentation text in the RODL, and that is what makes it generated as a class.

To keep the documentation, adjust the calling code:

declare the variable as TNotificationList and use .Count instead of .Length

(or .ToArray() where you need a real array)

If you don’t need the documentation on this array:

  • open the RODL in Service Builder,
    clear the Documentation field of TNotificationList, save and regenerate the \_Intf.

The parameter goes back to out TNotificationItem\[\]

Logged as bugs://D19762.

bugs://D19762 was closed as fixed.

Fix will be in the next release.