BUG: RegQueryValueEx() Fails When lpValueName Is NULL (189782)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
This article was previously published under Q189782 SYMPTOMS
When you are accessing a remote registry key and you pass NULL as the
second parameter to RegQueryValueEx, the function might fail.
RegQueryValueEx returns 14:
Not enough storage is available to complete this operation.
NOTE: Remote registry access is not supported on Windows Millennium (Me) Edition.
RESOLUTION
Pass the NULL string ("") as the second parameter to RegQueryValueEx().
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. We are researching this bug and will post
new information here in the Microsoft Knowledge Base as it becomes
available.
Modification Type: | Major | Last Reviewed: | 4/9/2004 |
---|
Keywords: | kbbug kbKernBase kbnofix kbRegistry KB189782 |
---|
|