AvailableSeeds and WriteSpeeds return strange data

I am not sure that I am using neroCMD properly.

I am basically trying to build a little app for myself that use JNI.

I can succesfully query the drives available to me, I can then select the drive I want.

When I call AvailableSpeeds or WriteSpeeds on NeroDrive the following occurs

if I call WriteSpeeds with no parameters i get

i get

36
36
36
36
55
73

if I call AvailableSpeeds with parameters 0 for acces_type (WRITE) and 2052 for media_type (DVD_M_R) i get

5540
5540
5540
5540
8310
11080

if I call AvailableSpeeds with parameters 0 for acces_type (WRITE) and 257 for media_type (CDR) i get

I get nothing returned.

Am I doing something wrong?

Is there something i need to initialise first??

am I interpreting the information incorrectly??

The sequence of calls I make are

on Nero

GetDrives(4100) - NERO_MEDIA_DVD_M_RW
GetDrives(4100) - again - Yes I know I know

on NeroDrive

AvailableDriveSpeeds(0, 257) - NERO_ACCESSTYPE_WRITE, NERO_MEDIA_CDR)

That’s when I get the values returned.

I am a completely newbie to trying this.

Would appreciate any help

Regards

Steve