aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32-ce.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-11-02 20:17:57 +0000
committerWerner Koch <[email protected]>2010-11-02 20:17:57 +0000
commit753375ffcf25b63e6f8e0c05aa36bb2fe0094329 (patch)
tree1af5bb58b8f0bd5c6b06d12d9bddffd260068b3e /src/w32-ce.h
parentFirst take on changes to allow building with MSC for W32CE. (diff)
downloadgpgme-753375ffcf25b63e6f8e0c05aa36bb2fe0094329.tar.gz
gpgme-753375ffcf25b63e6f8e0c05aa36bb2fe0094329.zip
Might now build for CE using MSC.
Diffstat (limited to '')
-rw-r--r--src/w32-ce.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/w32-ce.h b/src/w32-ce.h
index bcd5344c..f34eb1b3 100644
--- a/src/w32-ce.h
+++ b/src/w32-ce.h
@@ -33,13 +33,6 @@ typedef int pid_t;
#include <windows.h>
-/* shlobj.h declares these only for _WIN32_IE that we don't want to define.
- In any case, with mingw32ce we only get a SHGetSpecialFolderPath. */
-#define SHGetSpecialFolderPathW SHGetSpecialFolderPath
-BOOL WINAPI SHGetSpecialFolderPathA(HWND,LPSTR,int,BOOL);
-BOOL WINAPI SHGetSpecialFolderPathW(HWND,LPWSTR,int,BOOL);
-
-
#define getenv _gpgme_wince_getenv
char *getenv (const char *name);
@@ -55,6 +48,10 @@ void GetSystemTimeAsFileTime (LPFILETIME ftp);
#define DeleteFileA _gpgme_wince_DeleteFileA
BOOL DeleteFileA(LPCSTR);
+#define CreateFileA _gpgme_wince_CreateFileA
+HANDLE CreateFileA (LPCSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES,
+ DWORD, DWORD, HANDLE);
+
#define CreateProcessA _gpgme_wince_CreateProcessA
BOOL CreateProcessA(LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION);