I’m a bit worried about using wm_strGetParameterString (ascii * dst, const ascii * src, u16 Position), because I don’t know how big to make ‘dst’.
Or have I got the wrong idea ? Does wm_strGetParameterString do the allocation for me ? So all i have to do is declare a pointer.
I know the parameters I’m expecting will be xx in length, but its those unexpected things that I’m worried about. Especially when you consider that many OpenAT parameter string types seem to have u16 length fields.
It would be great if someone knows this, else I’ll just have to do some testing and find out the hard way.
John