2010-05-11 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Tue, 11 May 2010 17:20:45 +0000 (17:20 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Tue, 11 May 2010 17:20:45 +0000 (17:20 +0000)
commit383ede75dc9530e6fcbfb2ef111d0e101079c0de
tree727ee17fa446cb871b22843b31d2d7647b4961f0
parent3da380293d146f74f52ca81db0e31a18b51a1c27
2010-05-11  Marcus Brinkmann  <marcus@g10code.de>

* w32-util.c: Include ath.h
(HAVE_ALLOW_SET_FOREGROUND_WINDOW) [!HAVE_W32CE_SYSTEM]: Define
it.
(RTLD_LAZY, dlopen, dlsym,
dlclose) [!HAVE_ALLOW_SET_FORGROUND_WINDOW]: Don't define anymore.
(_gpgme_allow_set_foreground_window) [!HAVE_ALLOW_SET_FOREGROUND_WINDOW]:
Make it a stub.
(read_w32_registry_string): Use FooA variants of Windows functions
instead of Foo (which dispatches depending on UNICODE).
[!HAVE_W32CE_SYSTEM]: Don't check environment.
(w32_shgetfolderpath): Remove.
(find_program_at_standard_place): Call
SHGetSpecialFolderPath (which is available on all Windows systems
and also Windows CE).
(mkstemp): Use ath_self instead of getpid.
(_gpgme_mkstemp): Use GetTempPathA instead of GetTempPath.
src/ChangeLog
src/w32-util.c