[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: More registry wows
From: Huw D M Davies <h.davies1 () physics ! ox ! ac ! uk>
Date: 1999-11-30 16:19:47
[Download RAW message or body]
On Sat, Nov 27, 1999 at 10:12:14PM +0100, Huw D M Davies wrote:
> OK just checked (again win98)
> RegEnumKeyEx(HKEY_LOCAL_MACHINE, 0, NULL, NULL, NULL, NULL, NULL, NULL)
> returns ERROR_INVALID_PARAMETER
> While
> DWORD no = 0;
> RegEnumKeyEx(HKEY_LOCAL_MACHINE, 0, NULL, &no, NULL, NULL, NULL, NULL)
> RegEnumKeyEx(HKEY_LOCAL_MACHINE, 0, buf, &no, NULL, NULL, NULL, NULL)
> both return ERROR_MORE_DATA
>
> Indeed these aren't the same as RegEnumKey. So I guess you need
> something like my patch to RegEnumKey[A|W] but with a version check in
> there. I'll try to check what win95 does on Monday.
Sorry to keep this dragging on but it just gets better and better...
Under win95 RegEnumKeyEx behaves like above but
RegEnumKey(HKEY_LOCAL_MACHINE, 0, NULL, 0) returns ERROR_MORE_DATA,
like you say NT does. Any guesses for win2000?
Huw.
--
Dr. Huw D M Davies | Clarendon Laboratory
h.davies1@physics.ox.ac.uk | Parks Road
Tel: +44 1865 272390 | Oxford OX1 3PU
Fax: +44 1865 272400 | UK
=========================================================================
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic