2 Copyright (C) 2010 g10 Code GmbH
4 This file is part of GPGME.
6 GPGME is free software; you can redistribute it and/or modify it
7 under the terms of the GNU Lesser General Public License as
8 published by the Free Software Foundation; either version 2.1 of
9 the License, or (at your option) any later version.
11 GPGME is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21 #ifndef GPGME_W32_CE_H
22 #define GPGME_W32_CE_H
32 #include <ws2tcpip.h> /* For getaddrinfo. */
36 #define getenv _gpgme_wince_getenv
37 char *getenv (const char *name);
43 /* Windows CE is missing some Windows functions that we want. */
45 #define GetSystemTimeAsFileTime _gpgme_wince_GetSystemTimeAsFileTime
46 void GetSystemTimeAsFileTime (LPFILETIME ftp);
48 #define DeleteFileA _gpgme_wince_DeleteFileA
49 BOOL DeleteFileA(LPCSTR);
51 #define CreateFileA _gpgme_wince_CreateFileA
52 HANDLE CreateFileA (LPCSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES,
53 DWORD, DWORD, HANDLE);
55 #define CreateProcessA _gpgme_wince_CreateProcessA
56 BOOL CreateProcessA(LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION);
58 #define RegOpenKeyExA _gpgme_wince_RegOpenKeyExA
59 LONG RegOpenKeyExA(HKEY,LPCSTR,DWORD,REGSAM,PHKEY);
61 #define RegQueryValueExA _gpgme_wince_RegQueryValueExA
62 LONG WINAPI RegQueryValueExA(HKEY,LPCSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD);
64 #define GetTempPathA _gpgme_wince_GetTempPathA
65 DWORD GetTempPathA(DWORD,LPSTR);
67 #define SHGetSpecialFolderPathA _gpgme_wince_SHGetSpecialFolderPathA
68 BOOL SHGetSpecialFolderPathA(HWND,LPSTR,int,BOOL);
71 #endif /* GPGME_W32_CE_H */