wine
25 years agoOnly check number of tasks after first message.
Alexandre Julliard [Sun, 2 May 1999 19:09:07 +0000 (19:09 +0000)] 
Only check number of tasks after first message.
Use a 16-bit module for creating the initial task.

25 years agoUpdated authors list from the Changelog. Please let me know if you
Alexandre Julliard [Sun, 2 May 1999 18:13:33 +0000 (18:13 +0000)] 
Updated authors list from the Changelog. Please let me know if you
have been left out.

25 years agoConverted to the new debugging interface (done with the help of the
Alexandre Julliard [Sun, 2 May 1999 14:33:41 +0000 (14:33 +0000)] 
Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
Some changes to the initialisation sequence for 32-bit processes.

25 years agoConverted to the new debugging interface (done with the help of the
Alexandre Julliard [Sun, 2 May 1999 14:32:27 +0000 (14:32 +0000)] 
Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).

25 years agoMisc fixes and improvements.
Alexandre Julliard [Sun, 2 May 1999 14:24:15 +0000 (14:24 +0000)] 
Misc fixes and improvements.

25 years agoAdded check for -lmmap for OS/2.
Alexandre Julliard [Sun, 2 May 1999 11:46:02 +0000 (11:46 +0000)] 
Added check for -lmmap for OS/2.

25 years agoFixed a few bugs in the OLE storage implementation, added a new set of
Francis Beaudet [Sun, 2 May 1999 11:41:10 +0000 (11:41 +0000)] 
Fixed a few bugs in the OLE storage implementation, added a new set of
trace statements for the OLE storage related methods and introduced a
new debug channel for the storage subsystem.

25 years agoRemoved redundant include of winbase.h from winuser16.h.
Michael Veksler [Sun, 2 May 1999 11:39:09 +0000 (11:39 +0000)] 
Removed redundant include of winbase.h from winuser16.h.
Moved types from winbase.h to winuser16.h .

25 years agoMore implementation of PrintDlgA.
Klaas van Gend [Sun, 2 May 1999 11:34:26 +0000 (11:34 +0000)] 
More implementation of PrintDlgA.
Conversion of resource identifiers of Print32 window to comply to the
M$ numbering.

25 years agoDon't crash if queuing an APC on a thread that doesn't wait.
Ulrich Weigand [Sun, 2 May 1999 11:33:01 +0000 (11:33 +0000)] 
Don't crash if queuing an APC on a thread that doesn't wait.

25 years agoUse SERVICES callback to implement Windows timers.
Ulrich Weigand [Sun, 2 May 1999 11:30:39 +0000 (11:30 +0000)] 
Use SERVICES callback to implement Windows timers.
Timer expiration handling removed from EVENT_WaitNetEvent loop.

25 years agoCall SetLastError in HeapCompact().
Huw D M Davies [Sun, 2 May 1999 11:27:14 +0000 (11:27 +0000)] 
Call SetLastError in HeapCompact().

25 years agoAdded prototype for TryEnterCriticalSection.
Ove Kaaven [Sun, 2 May 1999 11:26:07 +0000 (11:26 +0000)] 
Added prototype for TryEnterCriticalSection.

25 years agoMake all structures packed and removal of some WINE_PACKED.
Klaas van Gend [Sun, 2 May 1999 11:22:50 +0000 (11:22 +0000)] 
Make all structures packed and removal of some WINE_PACKED.

25 years agoPushbuttons should only be rounded in Win31 look.
Pavel Roskin [Sun, 2 May 1999 11:21:45 +0000 (11:21 +0000)] 
Pushbuttons should only be rounded in Win31 look.

25 years ago- default item handling
Juergen Schmied [Sun, 2 May 1999 11:21:08 +0000 (11:21 +0000)] 
- default item handling
- small drawing fixes

25 years agoFixed an unbalanced windows lock/unlock sequence in
Noel Borthwick [Sun, 2 May 1999 11:20:00 +0000 (11:20 +0000)] 
Fixed an unbalanced windows lock/unlock sequence in
WINPOS_ActivateOtherWindow.

25 years agoenhmetafile added
Alexandre Julliard [Sun, 2 May 1999 10:23:40 +0000 (10:23 +0000)] 
enhmetafile added

25 years ago- got rid of all the internal MM tweaks to load builtin MCI
Eric Pouech [Sun, 2 May 1999 10:21:49 +0000 (10:21 +0000)] 
- got rid of all the internal MM tweaks to load builtin MCI
  drivers. They are all seen as drivers, loaded as DLLs and standard
  module loadorder is used to know which type to use (builtin vs
  native).
- first full working implementation of mmThread??? functions (to
  support gracefully native MCI drivers).
- support of mmShowMMCPLPropertySheet.
- fix of some heap validate bugs (thanks to Ulrich for reporting them).

25 years agoFix CreateProcessA to implement correct actions on ambiguous command
Guy Albertelli [Sun, 2 May 1999 10:17:31 +0000 (10:17 +0000)] 
Fix CreateProcessA to implement correct actions on ambiguous command
line names (try longer and longer strings).

25 years agoStarted implementing Enhanced MetaFile driver.
Huw D M Davies [Sun, 2 May 1999 10:15:16 +0000 (10:15 +0000)] 
Started implementing Enhanced MetaFile driver.

25 years agoImplemented the OLE object default handler and data cache.
Francis Beaudet [Sun, 2 May 1999 09:27:08 +0000 (09:27 +0000)] 
Implemented the OLE object default handler and data cache.

25 years agoSeveral improvements to Enhanced MetaFile playback.
Huw D M Davies [Sun, 2 May 1999 09:23:51 +0000 (09:23 +0000)] 
Several improvements to Enhanced MetaFile playback.

25 years agoOnly try to append ".dll" if a library is loaded implicitely.
Bertho Stultiens [Sun, 2 May 1999 09:21:31 +0000 (09:21 +0000)] 
Only try to append ".dll" if a library is loaded implicitely.

25 years agoFix TRACE formatting warnings.
Michael Veksler [Sun, 2 May 1999 09:20:45 +0000 (09:20 +0000)] 
Fix TRACE formatting warnings.

25 years agoFixed a small syntax problem.
Andreas Mohr [Sun, 2 May 1999 09:20:07 +0000 (09:20 +0000)] 
Fixed a small syntax problem.

25 years ago- better stubs for Get/Set special (Progman/Taskman) window functions
Juergen Schmied [Sun, 2 May 1999 09:19:19 +0000 (09:19 +0000)] 
- better stubs for Get/Set special (Progman/Taskman) window functions

25 years ago- new SendMessageCallbackW
Juergen Schmied [Sun, 2 May 1999 09:17:48 +0000 (09:17 +0000)] 
- new SendMessageCallbackW
- some fixme's for missing A<->W conversion

25 years agoFixed an unbalanced windows lock/unlock sequence in GetNextDlgTabItem.
Noel Borthwick [Sun, 2 May 1999 09:16:44 +0000 (09:16 +0000)] 
Fixed an unbalanced windows lock/unlock sequence in GetNextDlgTabItem.

25 years agoBugfix for EnumPrinters level 2.
Klaas van Gend [Sun, 2 May 1999 09:14:00 +0000 (09:14 +0000)] 
Bugfix for EnumPrinters level 2.

25 years agoCorrect logic in GetKeyNameText.
Guy Albertelli [Sun, 2 May 1999 09:11:33 +0000 (09:11 +0000)] 
Correct logic in GetKeyNameText.

25 years agoRemoved +snoop from documentation/bugreports.
Andreas Mohr [Sun, 2 May 1999 09:09:48 +0000 (09:09 +0000)] 
Removed +snoop from documentation/bugreports.

25 years agoLoadImageW fixed for hicolor displays.
Pavel Roskin [Sat, 1 May 1999 10:41:02 +0000 (10:41 +0000)] 
LoadImageW fixed for hicolor displays.

25 years agoMCI_ANIM_OPEN_PARMSW should be LPCWSTR, MCI_DefYieldProc should be WINAPI.
Marcus Meissner [Sat, 1 May 1999 10:39:28 +0000 (10:39 +0000)] 
MCI_ANIM_OPEN_PARMSW should be LPCWSTR, MCI_DefYieldProc should be WINAPI.

25 years agoAuthors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Alexandre Julliard [Sat, 1 May 1999 10:37:00 +0000 (10:37 +0000)] 
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Fixed HEADER_InsertItemA and HEADER_InsertItemW null pointer checking
to handle wide character strings properly.  Fix of our previous patch
for null pointer checking.

25 years agoImplemented CreateILockBytesOnHGloba, GetHGlobalFromILockBytes and
Thuy Nguyen [Sat, 1 May 1999 10:36:07 +0000 (10:36 +0000)] 
Implemented CreateILockBytesOnHGloba, GetHGlobalFromILockBytes and
the ILockBytes interface based on an HGLOBAL.

25 years agoFixed a bug in CoRegisterClassObject.
Francis Beaudet [Sat, 1 May 1999 10:32:32 +0000 (10:32 +0000)] 
Fixed a bug in CoRegisterClassObject.

25 years agoRemoved some flickering when inserting or deleting buttons.
Luc Tourangeau [Sat, 1 May 1999 10:30:53 +0000 (10:30 +0000)] 
Removed some flickering when inserting or deleting buttons.

25 years agoAuthors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Alexandre Julliard [Sat, 1 May 1999 10:29:37 +0000 (10:29 +0000)] 
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Fixed LISTVIEW_GetItemChanges() to perform a more complete comparison
between lpItem and lpLVItem.  Now compares the pszText string of the
lpItem and lpLVItem structs.  Fixes a bug where the old and new item
have the same attributes but their text differs and GetItemChanges()
compares them as equal.

25 years agoAdded support for adding and removing pages dynamically from a
Thuy Nguyen [Sat, 1 May 1999 10:27:05 +0000 (10:27 +0000)] 
Added support for adding and removing pages dynamically from a
property sheet.

25 years agoRemoved the gotos from the WndProcs, always use a small wrapper that
Marcus Meissner [Sat, 1 May 1999 10:23:45 +0000 (10:23 +0000)] 
Removed the gotos from the WndProcs, always use a small wrapper that
locks the window, calls the real wndproc, unlocks the window.

25 years agoFixed default menu item.
Juergen Schmied [Sat, 1 May 1999 10:22:22 +0000 (10:22 +0000)] 
Fixed default menu item.

25 years agoFixed typo.
Juergen Schmied [Sat, 1 May 1999 10:21:06 +0000 (10:21 +0000)] 
Fixed typo.

25 years agoAdded a missing LeaveCriticalSection.
Andreas Mohr [Sat, 1 May 1999 10:20:18 +0000 (10:20 +0000)] 
Added a missing LeaveCriticalSection.

25 years agoFixed a wrong usage of WIN_FindWndPtr/WIN_ReleaseWndPtr in
Francois Boisvert [Sat, 1 May 1999 10:19:35 +0000 (10:19 +0000)] 
Fixed a wrong usage of WIN_FindWndPtr/WIN_ReleaseWndPtr in
TranslateMDISysAccel16.

25 years agoFixed off-by-one bug in async output buffers.
Ove Kaaven [Sat, 1 May 1999 10:18:21 +0000 (10:18 +0000)] 
Fixed off-by-one bug in async output buffers.

25 years agoFixed a little Drag and Drop bug.
Francis Beaudet [Sat, 1 May 1999 10:10:30 +0000 (10:10 +0000)] 
Fixed a little Drag and Drop bug.

25 years agoRelease 990426. wine-990426
Alexandre Julliard [Mon, 26 Apr 1999 18:19:22 +0000 (18:19 +0000)] 
Release 990426.

25 years agoAdded autoconf check for "inline". You can now use it, it will be
Marcus Meissner [Mon, 26 Apr 1999 14:58:58 +0000 (14:58 +0000)] 
Added autoconf check for "inline". You can now use it, it will be
defined to (empty) for compilers that do not have it.

25 years agoDon't include alloca.h.
Gerald Pfeifer [Mon, 26 Apr 1999 14:57:54 +0000 (14:57 +0000)] 
Don't include alloca.h.

25 years agoUpdate to reflect recent changes and discussions.
James Juran [Mon, 26 Apr 1999 14:57:06 +0000 (14:57 +0000)] 
Update to reflect recent changes and discussions.

25 years agoThe load order parser should not always complain about extensions.
Bertho Stultiens [Mon, 26 Apr 1999 14:55:24 +0000 (14:55 +0000)] 
The load order parser should not always complain about extensions.

25 years ago- align magic buttons right
Juergen Schmied [Mon, 26 Apr 1999 14:54:38 +0000 (14:54 +0000)] 
- align magic buttons right
- shortcuts alignment working again

25 years agoFixed loading of native NE dlls.
Eric Pouech [Mon, 26 Apr 1999 14:53:32 +0000 (14:53 +0000)] 
Fixed loading of native NE dlls.

25 years agoFixed __builtin_return_address arg.
Alexandre Julliard [Sun, 25 Apr 1999 19:04:42 +0000 (19:04 +0000)] 
Fixed __builtin_return_address arg.

25 years agoFixed ANSI compabillity.
Patrik Stridvall [Sun, 25 Apr 1999 19:01:52 +0000 (19:01 +0000)] 
Fixed ANSI compabillity.

25 years agoBuilt-in dlls now have resources attached via the PE-header like
Bertho Stultiens [Sun, 25 Apr 1999 18:31:35 +0000 (18:31 +0000)] 
Built-in dlls now have resources attached via the PE-header like
normal dlls. This enables the use of the resource API.

25 years agoUse $HOME instead of getpwuid for user's home directory.
Alexandre Julliard [Sun, 25 Apr 1999 12:41:36 +0000 (12:41 +0000)] 
Use $HOME instead of getpwuid for user's home directory.
Fixed messed up indentation.

25 years agoUse $HOME instead of getpwuid for user's home directory.
Alexandre Julliard [Sun, 25 Apr 1999 12:39:33 +0000 (12:39 +0000)] 
Use $HOME instead of getpwuid for user's home directory.

25 years ago#pragma pack(?) changed to #include "*pack*.h"
Patrik Stridvall [Sun, 25 Apr 1999 12:36:53 +0000 (12:36 +0000)] 
#pragma pack(?) changed to #include "*pack*.h"

25 years agoAdded some missing #defines I've run across.
Jim Aston [Sun, 25 Apr 1999 12:31:20 +0000 (12:31 +0000)] 
Added some missing #defines I've run across.

25 years agoIgnore trailing dots on file names.
Andreas Mohr [Sun, 25 Apr 1999 12:27:58 +0000 (12:27 +0000)] 
Ignore trailing dots on file names.

25 years agoAdded a possibility to let the internal debugger use a separate
Ove Kaaven [Sun, 25 Apr 1999 12:24:42 +0000 (12:24 +0000)] 
Added a possibility to let the internal debugger use a separate
heap. Not enabled by default, change #if in include/debugger.h to use
this (the heap allocator is very slow).

25 years agowine.conf should not overrule content of burned in data in
Eric Pouech [Sun, 25 Apr 1999 12:23:26 +0000 (12:23 +0000)] 
wine.conf should not overrule content of burned in data in
loadorder.c.

25 years agoSetMapMode should not reset the window and viewport origins to 0.
Karl Lessard [Sun, 25 Apr 1999 12:19:30 +0000 (12:19 +0000)] 
SetMapMode should not reset the window and viewport origins to 0.

25 years agoAllow to automatically copy part of wine.ini into generated file.
Eric Pouech [Sun, 25 Apr 1999 12:18:36 +0000 (12:18 +0000)] 
Allow to automatically copy part of wine.ini into generated file.
Small perl enhancement (work in strict mode).
Small updates in heuristics.

25 years agoUpgraded to have a decent multimedia DLLs configuration.
Eric Pouech [Sun, 25 Apr 1999 12:16:49 +0000 (12:16 +0000)] 
Upgraded to have a decent multimedia DLLs configuration.

25 years ago- Fixed a counting bug in the win32 count and sort routine.
Bertho Stultiens [Sun, 25 Apr 1999 11:06:12 +0000 (11:06 +0000)] 
- Fixed a counting bug in the win32 count and sort routine.
- Fixed sort order of resources (must be name before ordinal).
- Shuffled a couple of global variables so that built-in dlls now can
  load resources through the proper PE interface.

25 years agoAdded support for strict handles. Only works on machines where
Adrian Thurston [Sun, 25 Apr 1999 11:05:30 +0000 (11:05 +0000)] 
Added support for strict handles. Only works on machines where
sizeof(UINT) == sizeof(void*).

25 years agoInitialize process critical section in the correct process context.
Ulrich Weigand [Sun, 25 Apr 1999 11:04:45 +0000 (11:04 +0000)] 
Initialize process critical section in the correct process context.

25 years agoWarn if wrong process tries to enter critical section.
Ulrich Weigand [Sun, 25 Apr 1999 11:03:59 +0000 (11:03 +0000)] 
Warn if wrong process tries to enter critical section.
Better implementation of Reinitialize/UninitializeCriticalSection
(still not quite correct).

25 years agodebug.h must be last in list of includes.
Marcus Meissner [Sun, 25 Apr 1999 11:03:11 +0000 (11:03 +0000)] 
debug.h must be last in list of includes.

25 years agoReturn 32-bit module in GetModuleHandle16() if appropriate.
Ulrich Weigand [Sun, 25 Apr 1999 11:02:33 +0000 (11:02 +0000)] 
Return 32-bit module in GetModuleHandle16() if appropriate.

25 years agoFixed crash when status was read with cd-rom tray open.
Eric Pouech [Sun, 25 Apr 1999 11:01:12 +0000 (11:01 +0000)] 
Fixed crash when status was read with cd-rom tray open.

25 years agoFixed a bug in msg conversion.
Eric Pouech [Sun, 25 Apr 1999 11:00:36 +0000 (11:00 +0000)] 
Fixed a bug in msg conversion.

25 years agoPrevent crash when nMinRange > nMaxRange.
Eric Pouech [Sun, 25 Apr 1999 10:59:46 +0000 (10:59 +0000)] 
Prevent crash when nMinRange > nMaxRange.

25 years agoAdded some missing manifest constants for Queue Status functions (QS_????).
Eric Pouech [Sun, 25 Apr 1999 10:59:01 +0000 (10:59 +0000)] 
Added some missing manifest constants for Queue Status functions (QS_????).

25 years agoAdded missing WIN_ReleaseWndPtr.
Eric Pouech [Sun, 25 Apr 1999 10:58:04 +0000 (10:58 +0000)] 
Added missing WIN_ReleaseWndPtr.

25 years agoAuthors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Alexandre Julliard [Sun, 25 Apr 1999 10:57:03 +0000 (10:57 +0000)] 
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
More appropriate default size for fonts with invalid sizes.

25 years agoAuthors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Alexandre Julliard [Sun, 25 Apr 1999 10:56:10 +0000 (10:56 +0000)] 
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Implemented SetColumnWidth for ListView control.

25 years agoAdded new documentation for the configuration file.
Adam Sacarny [Sun, 25 Apr 1999 10:55:22 +0000 (10:55 +0000)] 
Added new documentation for the configuration file.

25 years agoImproved VERSION_GetVersion.
Andreas Mohr [Sun, 25 Apr 1999 10:54:16 +0000 (10:54 +0000)] 
Improved VERSION_GetVersion.

25 years agoAdded Swedish keyboard layout.
Peter Bortas [Sun, 25 Apr 1999 10:53:22 +0000 (10:53 +0000)] 
Added Swedish keyboard layout.

25 years agoGeneral tidy up of the MetaFile driver - make sure that everything
Huw D M Davies [Sun, 25 Apr 1999 09:24:23 +0000 (09:24 +0000)] 
General tidy up of the MetaFile driver - make sure that everything
goes through the DCFuncs table.

25 years agoAdd a stub for GlobalMasterHandle.
Uwe Bonnes [Sun, 25 Apr 1999 09:22:13 +0000 (09:22 +0000)] 
Add a stub for GlobalMasterHandle.

25 years agoMuch nicer way to select wine's location.
Adam Sacarny [Sun, 25 Apr 1999 09:20:40 +0000 (09:20 +0000)] 
Much nicer way to select wine's location.
Option to disable creation of debugging output.
Debugging output is now created in directory script was started in.

25 years agoFixed a problem with managed mode, where popup windows with a WS_DLGFRAME
Noel Borthwick [Sun, 25 Apr 1999 09:19:21 +0000 (09:19 +0000)] 
Fixed a problem with managed mode, where popup windows with a WS_DLGFRAME
style were appearing with a title bar. According to the docs for
WS_DLGFRAME a window with this style cannot have a title bar.

25 years agoUse DllOverrides from wine.ini as defaults also in
Marcus Meissner [Sun, 25 Apr 1999 09:15:25 +0000 (09:15 +0000)] 
Use DllOverrides from wine.ini as defaults also in
loadorder.c (merged in some MM dlls lines from Eric Poeuch).

25 years agoFixed some bogus infinite expiration time.
Eric Pouech [Sun, 25 Apr 1999 09:12:27 +0000 (09:12 +0000)] 
Fixed some bogus infinite expiration time.

25 years ago- consolidate both cases of !pending in WaitNetEvent
David Luyer [Sun, 25 Apr 1999 09:11:05 +0000 (09:11 +0000)] 
- consolidate both cases of !pending in WaitNetEvent
- select() returns -1 not 0 on error in WaitNetEvent

25 years agoMade HeapValidate threadsafe, and added some macros to track callerEIP
Ove Kaaven [Sun, 25 Apr 1999 09:09:15 +0000 (09:09 +0000)] 
Made HeapValidate threadsafe, and added some macros to track callerEIP
a little better.
Added HEAP_xrealloc.

25 years agoautoconf fixes and cleanups (check for dlopen() in libc too).
Marcus Meissner [Sat, 24 Apr 1999 12:02:14 +0000 (12:02 +0000)] 
autoconf fixes and cleanups (check for dlopen() in libc too).

25 years agoImplemented CreateStreamOnHGLOBAL.
Francis Beaudet [Sat, 24 Apr 1999 12:00:31 +0000 (12:00 +0000)] 
Implemented CreateStreamOnHGLOBAL.

25 years agoLet CoSetState() accept state == NULL.
Andreas Mohr [Sat, 24 Apr 1999 11:57:30 +0000 (11:57 +0000)] 
Let CoSetState() accept state == NULL.

25 years agoMade internal format more compatible.
Juergen Schmied [Sat, 24 Apr 1999 11:56:51 +0000 (11:56 +0000)] 
Made internal format more compatible.

25 years agoSmall fixes.
Juergen Schmied [Sat, 24 Apr 1999 11:55:46 +0000 (11:55 +0000)] 
Small fixes.

25 years agoFix locking with proper calls to WIN_ReleaseWndPtr.
Guy Albertelli [Sat, 24 Apr 1999 11:54:40 +0000 (11:54 +0000)] 
Fix locking with proper calls to WIN_ReleaseWndPtr.

25 years agoDon't malloc/free for every mixing operation, use the same buffer over
Ove Kaaven [Sat, 24 Apr 1999 11:53:38 +0000 (11:53 +0000)] 
Don't malloc/free for every mixing operation, use the same buffer over
instead...

25 years agoAuthors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbejy@wpi.edu>
Alexandre Julliard [Sat, 24 Apr 1999 11:51:13 +0000 (11:51 +0000)] 
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbejy@wpi.edu>
HEADER_InsertItemA and HEADER_InsertItemW now treat null pointers to
text strings as null strings, as Windows does.  Fixes wine crash on
startup of CuteFTP.

25 years agoSet (when registry loaded) data to "\0" and length to 2 in empty
Noomen Hamza [Sat, 24 Apr 1999 11:49:26 +0000 (11:49 +0000)] 
Set (when registry loaded) data to "\0" and length to 2 in empty
string value case, in place of setting data to NULL and length to 0,
and this is without initializing output buffer parameter of
RegQueryValue*.