In v2, - Fix off-by-one buffer allocation error. - Add GetFileAttributes to verify that the file exists at the specified file path. In other words, we don't search the PATH for the DLL. - use GetSystemDirectoryW instead of kernel32's global variable in kernel32.
Signed-off-by: Akihiro Sagawa sagawa.aki@gmail.com --- dlls/advapi32/registry.c | 45 +++++++++++++++++++++++++++++++----------- dlls/advapi32/tests/registry.c | 4 ++-- dlls/kernel32/time.c | 4 +++- 3 files changed, 38 insertions(+), 15 deletions(-)