Robert Shearman wrote: > Byeong-Sik Jeon wrote: > > Hi, > > > > MS-Windows's RegQueryKeyInfo function test result: > > > > 1. MSDN means TCHARS when it says 'character' for this function. > > ==> No. > > 2. why RegQueryInfoKey is returning a number that is too small > > ==> No. Currently Wine's RegQueryInfoKey set the right values. > > > > Sorry, but I think you are wrong. Every Windows function (except for > CharNext and CharPrev) that mentions "character" actually means TCHARs. > Thank you. you are right.
1. MSDN means TCHARS when it says 'in characters' ==> Yes. I'm sorry to everyboby. 2. MSDN means TCHARS when it says 'in characters' for RegQueryInfoKey's lpcMaxValueNameLen parameter. ==> No, I think this is missed MSDN documentation. RegQueryInfoKey don't process the 'registry valuename string'