Paul Chitescu
590cc1ad55
kernel32: Reduce registry access to KEY_READ wherever possible.
2009-11-30 16:33:54 +01:00
Vitaly Lipatov
aa5358fdae
kernel32: gethostname returns string in CP_UNIXCP encoding.
2008-12-01 14:01:10 +01:00
Andrew Talbot
59651999b3
kernel32: Exclude unused headers.
2007-05-07 20:34:41 +02:00
Andrew Talbot
503b338e88
kernel32: Replace inline static with static inline.
2007-03-17 20:03:39 +01:00
Alasdair Sinclair
81c922398e
kernel32: Fix GetComputerNameA to not count trailing NULL, with test.
2007-03-09 13:55:43 +01:00
Rob Shearman
e716c5b1ef
kernel32: Fix crash in dns_gethostbyname.
2007-02-23 11:18:40 +01:00
Rob Shearman
a5317eb846
kernel32: Fix an off-by-one error in GetComputerNameExA/W.
...
The dns_* functions expect the input buffer to have space for size
characters plus the nul terminating character.
2007-02-21 19:50:57 +01:00
Rob Shearman
fc5b795f7c
kernel32: Fix the GetComputerName* functions to not write to the buffer at all if there is not enough space.
...
Add tests for the GetComputerName* functions that show this issue.
Fix an off-by-one error in setting the size when there is not enough space.
Remove the exception handlers for GetComputerNameW,
GetComputerNameExA/W, since testing on XP SP2 shows that access
violations are not caught and these are not present on Win9x, which
does have an exception handler.
2007-02-16 13:13:17 +01:00
Alexandre Julliard
b0ea577ae5
Avoid usage of sizeof in traces that causes warnings on MacOSX.
2006-10-20 12:16:45 +02:00
Michael Stefaniuc
8c38b88068
kernel32: Win64 printf format warning fixes.
2006-10-13 12:08:25 +02:00
Alexandre Julliard
489d87d1e5
kernel32: Renamed the kernel directory to kernel32.
...
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00