[RESEND] regedit: Convert from WCHAR size to maximum required TCHAR size.

Byeong-Sik Jeon wjsqudtlr at gmail.com
Thu Apr 5 12:38:44 CDT 2007


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'






More information about the wine-devel mailing list