Commit Graph

53 Commits

Author SHA1 Message Date
Francois Gouget 9591836ffb 'sizeof type' is best avoided as it won't always compile (e.g. 'int
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Jon Griffiths cd4234aa49 Documentation updates. 2003-03-18 18:35:48 +00:00
Tony Lambregts 4550b8b7cf Janitorial. Get rid of W->A calls. 2003-03-14 04:50:34 +00:00
Matthew Davison 6f2a071df1 Remove some calls to HEAP_strdupAtoW from advapi32. 2003-01-20 23:23:12 +00:00
Mike McCormack 11f4b44451 Implemented registry change notifications. 2002-11-25 02:47:32 +00:00
Aric Stewart cdb9be7ba9 Work with the correct subkey with loading keys. Not a true fix to the
LoadKey/SaveKey situation.
2002-11-13 19:45:27 +00:00
Michael Stefaniuc cbacde5256 Compile the advapi32 dll with -DSTRICT. 2002-10-25 19:17:33 +00:00
Alexandre Julliard 5cf56a3afe Removed LPxxx handle types that don't exist under Windows. 2002-10-03 19:46:27 +00:00
Alexandre Julliard f2ef2c2bb2 Handle special registry root keys directly in advapi32, and avoid
using them in kernel and ntdll.
2002-09-13 21:42:28 +00:00
Alexandre Julliard a9298731fa Fixed requested access rights in RegDeleteKey[AW]. 2002-09-12 20:47:14 +00:00
Patrik Stridvall 09570edaa5 MSVC compatibility fixes. 2002-08-17 01:22:59 +00:00
Alexandre Julliard 7375597fe2 Fixed some handle type mismatches and added a few casts in prevision
of void* handles.
2002-07-31 19:26:03 +00:00
Dominik Strasser 751c4544b0 Implemented RegQueryMultipleValues. 2002-07-20 20:02:55 +00:00
Alexandre Julliard c1dddbea55 RegEnumValue[AW] need to update the data size on buffer overflow
(spotted by Massimo <max@veneto.com>).
2002-07-10 03:27:35 +00:00
Alexandre Julliard a010932a3f More explicit initialization of info_size for stupid compilers. 2002-07-05 21:30:38 +00:00
Rein Klazes 0bb6fdda90 Check for NULL keyvalue in RegEnumKeyExA/W. 2002-07-05 01:21:13 +00:00
Mike McCormack da00742aa7 Implemented recursive RegDeleteKey in Win95 emulation. 2002-06-14 23:35:37 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Juergen Schmied a44e0b0fbd Make use of access mask MAXIMUM_ALLOWED possible. 2002-05-09 19:39:10 +00:00
Dmitry Timoshkov 79313d371a Make sure the security descriptor is initialized in RegGetKeySecurity. 2002-04-02 02:41:27 +00:00
Michael Cardenas 7dbce65bb2 Changed registry handling in RegOpenKeyExA to behave like windows95
when winver==win95.
2002-03-21 01:24:52 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Aric Stewart 20a4cc3116 Don't return overflow if no class buffer was specified. 2002-02-05 19:45:55 +00:00
Alexandre Julliard 60fd03d248 Use ntdll functions instead of MultiByteToWideChar/WideCharToMultiByte
to avoid corrupting the last error code.
2001-12-05 22:18:48 +00:00
Alexandre Julliard 9caa71eef4 Redesign of the server communication protocol to allow arbitrary sized
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Alexandre Julliard b0fa2a8ca8 Fixed registry routines broken by the structure sizes fix. 2001-11-24 03:41:37 +00:00
Dmitry Timoshkov 6b6596a1e3 Fixed packing and layout of many system structures. 2001-11-23 18:44:43 +00:00
Alexandre Julliard 37e9503ae8 Moved server.h to include/wine. 2001-07-19 00:39:09 +00:00
Alexandre Julliard 918da64ae2 RegSetValueExA/W: fixed REG_SZ string length handling for Win95. 2001-04-10 21:30:24 +00:00
Alexandre Julliard ab5e975907 Use TEB static buffer for Unicode conversion. 2001-03-23 19:12:01 +00:00
Alexandre Julliard 67a749999a New set of macros for server calls; makes requests without variable
part somewhat faster.
2001-02-27 02:09:16 +00:00
Patrik Stridvall d0a41774a3 Documentation ordinal fixes. 2001-02-14 23:11:17 +00:00
Alexandre Julliard c661583200 Always return success instead of overflow if caller didn't specify a
buffer.
2001-02-14 21:45:52 +00:00
François Gouget da2b6a9f26 Fixed some HFILE vs. HANDLE mismatches.
If not used the last parameter of CreateFile must be 0, not -1.
2001-01-06 01:29:18 +00:00
Alexandre Julliard 0b6a79c961 Converted enum_key_value request to the new request mechanism. 2000-12-15 20:57:00 +00:00
Alexandre Julliard 5ce2329a95 Finished separation of advapi32. 2000-11-30 20:31:41 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
David Elliott 44f84b55f3 Added basic working stubs of new Windows 2000 API functions. 2000-10-29 01:24:54 +00:00
Alexandre Julliard 57f05e1913 Converted a few more server requests to the new mechanism. 2000-10-15 00:40:25 +00:00
Alexandre Julliard 454355ece1 Convert NtQueryKey and NtEnumerateKey to the new request mechanism.
Fixed a few bugs.
2000-10-02 03:46:58 +00:00
Alexandre Julliard bcf393a5e5 Converted some of the registry server requests to the new request
mechanism.
2000-10-01 01:44:50 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Alexandre Julliard a01004d828 Added support for registry values larger than the server buffer.
When loading a registry file, automatically determine overlap between
key name and file contents based on the first key name.
Removed v1 saving code.
Save USER\.Default separately into ~/.wine/userdef.reg.
2000-05-14 22:57:57 +00:00
Andreas Mohr 6297451d73 Added some reg temp file clutter check (more than 100 temp files in
~/.wine).
2000-05-09 22:31:43 +00:00
Alexandre Julliard 5354417519 Fixed error checking in registry saving. 2000-03-26 18:18:03 +00:00
Alexandre Julliard 45a4b0a2ec Avoid crash on NULL data pointer. 2000-02-20 13:57:13 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Alexandre Julliard cb1fc735f0 Changed the server to return STATUS_* error codes. 2000-01-24 21:58:06 +00:00
Juergen Schmied 927525a9b3 If there is enough space in the buffer and the type is REG_SZ and the
string is not 0-terminated RegQueryValue and RegEnumValue are appending a 0.
2000-01-15 23:38:49 +00:00