From: <ped...@us...> - 2006-08-23 15:15:17
|
Revision: 333 Author: pedroalves Date: 2006-08-23 08:15:02 -0700 (Wed, 23 Aug 2006) ViewCVS: http://svn.sourceforge.net/cegcc/?rev=333&view=rev Log Message: ----------- A few fixes Modified Paths: -------------- trunk/cegcc/src/w32api/include/windef.h trunk/cegcc/src/w32api/include/windows.h trunk/cegcc/src/w32api/include/winsock.h trunk/cegcc/src/w32api/include/winsock2.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-08-23 15:39:52
|
Revision: 334 Author: pedroalves Date: 2006-08-23 08:39:38 -0700 (Wed, 23 Aug 2006) ViewCVS: http://svn.sourceforge.net/cegcc/?rev=334&view=rev Log Message: ----------- Uups, wrong defines. Corrected now. Modified Paths: -------------- trunk/cegcc/src/w32api/include/winsock.h trunk/cegcc/src/w32api/include/winsock2.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-08-24 11:57:26
|
Revision: 355 Author: pedroalves Date: 2006-08-24 04:57:13 -0700 (Thu, 24 Aug 2006) ViewCVS: http://svn.sourceforge.net/cegcc/?rev=355&view=rev Log Message: ----------- More WinCE stuff from oldsys/wcethread.h. Modified Paths: -------------- trunk/cegcc/src/w32api/include/kfuncs.h trunk/cegcc/src/w32api/include/winbase.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 19:45:09
|
Revision: 794 http://svn.sourceforge.net/cegcc/?rev=794&view=rev Author: pedroalves Date: 2006-11-12 11:44:25 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/tlhelp32.h (CloseToolhelp32Snapshot): Define. CE's Toolhelp functions/structures although wide, don't take the W suffix. Adapt. * include/winnt.h (PAGE_PHYSICAL): Define. * include/winbase.h (GetStoreInformation, CeSetThreadQuantum, LockResource): Define. * include/winuser.h (CheckDlgButton): Define in terms of SendDlgItemMessage. (CreateDialogParamW): Define using CreateDialogIndirectParamW. Modified Paths: -------------- trunk/cegcc/src/w32api/include/tlhelp32.h trunk/cegcc/src/w32api/include/winbase.h trunk/cegcc/src/w32api/include/winnt.h trunk/cegcc/src/w32api/include/winuser.h Modified: trunk/cegcc/src/w32api/include/tlhelp32.h =================================================================== --- trunk/cegcc/src/w32api/include/tlhelp32.h 2006-11-12 18:22:09 UTC (rev 793) +++ trunk/cegcc/src/w32api/include/tlhelp32.h 2006-11-12 19:44:25 UTC (rev 794) @@ -70,7 +70,11 @@ DWORD th32ParentProcessID; LONG pcPriClassBase; DWORD dwFlags; - CHAR szExeFile[MAX_PATH]; +#ifdef _WIN32_WCE + WCHAR szExeFile[MAX_PATH]; +#else + CHAR szExeFile[MAX_PATH]; +#endif } PROCESSENTRY32,*PPROCESSENTRY32,*LPPROCESSENTRY32; typedef struct tagTHREADENTRY32 { DWORD dwSize; @@ -102,8 +106,13 @@ BYTE *modBaseAddr; DWORD modBaseSize; HMODULE hModule; - char szModule[MAX_MODULE_NAME32 + 1]; - char szExePath[MAX_PATH]; +#ifdef _WIN32_WCE + WCHAR szModule[MAX_MODULE_NAME32 + 1]; + WCHAR szExePath[MAX_PATH]; +#else + CHAR szModule[MAX_MODULE_NAME32 + 1]; + CHAR szExePath[MAX_PATH]; +#endif } MODULEENTRY32,*PMODULEENTRY32,*LPMODULEENTRY32; BOOL WINAPI Heap32First(LPHEAPENTRY32,DWORD,DWORD); BOOL WINAPI Heap32ListFirst(HANDLE,LPHEAPLIST32); @@ -121,7 +130,10 @@ BOOL WINAPI Thread32Next(HANDLE,LPTHREADENTRY32); BOOL WINAPI Toolhelp32ReadProcessMemory(DWORD,LPCVOID,LPVOID,DWORD,LPDWORD); HANDLE WINAPI CreateToolhelp32Snapshot(DWORD,DWORD); -#ifdef UNICODE +#if (_WIN32_WCE >= 0x200) +BOOL WINAPI CloseToolhelp32Snapshot(HANDLE hSnapshot); +#endif +#if defined(UNICODE) && !defined(_WIN32_WCE) #define LPMODULEENTRY32 LPMODULEENTRY32W #define LPPROCESSENTRY32 LPPROCESSENTRY32W #define MODULEENTRY32 MODULEENTRY32W @@ -132,7 +144,7 @@ #define PROCESSENTRY32 PROCESSENTRY32W #define Process32First Process32FirstW #define Process32Next Process32NextW -#endif /* UNICODE */ +#endif /* UNICODE && !_WIN32_WCE */ #ifdef __cplusplus } #endif Modified: trunk/cegcc/src/w32api/include/winbase.h =================================================================== --- trunk/cegcc/src/w32api/include/winbase.h 2006-11-12 18:22:09 UTC (rev 793) +++ trunk/cegcc/src/w32api/include/winbase.h 2006-11-12 19:44:25 UTC (rev 794) @@ -1728,7 +1728,11 @@ WINBASEAPI BOOL WINAPI LocalUnlock(HLOCAL); WINBASEAPI BOOL WINAPI LockFile(HANDLE,DWORD,DWORD,DWORD,DWORD); WINBASEAPI BOOL WINAPI LockFileEx(HANDLE,DWORD,DWORD,DWORD,DWORD,LPOVERLAPPED); +#ifdef _WIN32_WCE +#define LockResource(h) ((PVOID)(h)) +#else WINBASEAPI PVOID WINAPI LockResource(HGLOBAL); +#endif #define LockSegment(w) GlobalFix((HANDLE)(w)) /* Obsolete: Has no effect. */ WINBASEAPI BOOL WINAPI LogonUserA(LPSTR,LPSTR,LPSTR,DWORD,DWORD,PHANDLE); WINBASEAPI BOOL WINAPI LogonUserW(LPWSTR,LPWSTR,LPWSTR,DWORD,DWORD,PHANDLE); @@ -2040,6 +2044,18 @@ WINBASEAPI BOOL WINAPI MapUserPhysicalPagesScatter(PVOID*,ULONG_PTR,PULONG_PTR); #endif +#ifdef _WIN32_WCE +typedef struct STORE_INFORMATION { + DWORD dwStoreSize; + DWORD dwFreeSize; +} STORE_INFORMATION, *LPSTORE_INFORMATION; +WINBASEAPI BOOL GetStoreInformation(LPSTORE_INFORMATION lpsi); +#endif + +#if (_WIN32_WCE >= 0x300) +WINBASEAPI BOOL CeSetThreadQuantum(HANDLE hThread, DWORD dwTime); +#endif + #ifdef UNICODE typedef STARTUPINFOW STARTUPINFO,*LPSTARTUPINFO; typedef WIN32_FIND_DATAW WIN32_FIND_DATA,*PWIN32_FIND_DATA,*LPWIN32_FIND_DATA; Modified: trunk/cegcc/src/w32api/include/winnt.h =================================================================== --- trunk/cegcc/src/w32api/include/winnt.h 2006-11-12 18:22:09 UTC (rev 793) +++ trunk/cegcc/src/w32api/include/winnt.h 2006-11-12 19:44:25 UTC (rev 794) @@ -1015,6 +1015,7 @@ #define PAGE_EXECUTE_WRITECOPY 0x0080 #define PAGE_GUARD 0x0100 #define PAGE_NOCACHE 0x0200 +#define PAGE_PHYSICAL 0x0400 #define MEM_COMMIT 0x1000 #define MEM_RESERVE 0x2000 #define MEM_DECOMMIT 0x4000 Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 18:22:09 UTC (rev 793) +++ trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 19:44:25 UTC (rev 794) @@ -3396,7 +3396,11 @@ WINUSERAPI LPWSTR WINAPI CharUpperW(LPWSTR); WINUSERAPI DWORD WINAPI CharUpperBuffA(LPSTR,DWORD); WINUSERAPI DWORD WINAPI CharUpperBuffW(LPWSTR,DWORD); +#ifdef _WIN32_WCE +#define CheckDlgButton(h,i,c) SendDlgItemMessageW(h, i, BM_SETCHECK, (WPARAM)(c), 0) +#else WINUSERAPI BOOL WINAPI CheckDlgButton(HWND,int,UINT); +#endif WINUSERAPI DWORD WINAPI CheckMenuItem(HMENU,UINT,UINT); WINUSERAPI BOOL WINAPI CheckMenuRadioItem(HMENU,UINT,UINT,UINT,UINT); WINUSERAPI BOOL WINAPI CheckRadioButton(HWND,int,int,int); @@ -3429,8 +3433,12 @@ #define CreateDialogIndirectW(h,t,w,f) CreateDialogIndirectParamW(h,t,w,f,0) WINUSERAPI HWND WINAPI CreateDialogIndirectParamA(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM); WINUSERAPI HWND WINAPI CreateDialogIndirectParamW(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM); +#ifdef _WIN32_WCE +#define CreateDialogParamW(h,n,w,f,p) CreateDialogIndirectParamW(h, (LPCDLGTEMPLATE)LoadResource(h, FindResource(h, n, RT_DIALOG)), w, f, p) +#else WINUSERAPI HWND WINAPI CreateDialogParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); WINUSERAPI HWND WINAPI CreateDialogParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); +#endif WINUSERAPI HICON WINAPI CreateIcon(HINSTANCE,int,int,BYTE,BYTE,const BYTE*,const BYTE*); WINUSERAPI HICON WINAPI CreateIconFromResource(PBYTE,DWORD,BOOL,DWORD); WINUSERAPI HICON WINAPI CreateIconFromResourceEx(PBYTE,DWORD,BOOL,DWORD,int,int,UINT); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2007-02-04 23:26:10
|
Revision: 884 http://svn.sourceforge.net/cegcc/?rev=884&view=rev Author: pedroalves Date: 2007-02-04 15:26:09 -0800 (Sun, 04 Feb 2007) Log Message: ----------- Setting eol style native on some files. Added Paths: ----------- trunk/cegcc/src/w32api/include/sipapi.h trunk/cegcc/src/w32api/include/types.h Added: trunk/cegcc/src/w32api/include/sipapi.h =================================================================== Property changes on: trunk/cegcc/src/w32api/include/sipapi.h ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/cegcc/src/w32api/include/types.h =================================================================== Property changes on: trunk/cegcc/src/w32api/include/types.h ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2007-02-04 23:30:25
|
Revision: 885 http://svn.sourceforge.net/cegcc/?rev=885&view=rev Author: pedroalves Date: 2007-02-04 15:30:24 -0800 (Sun, 04 Feb 2007) Log Message: ----------- Ooops, svn diff misguided me. This wasn't suposed to go in. Removed. Removed Paths: ------------- trunk/cegcc/src/w32api/include/sipapi.h trunk/cegcc/src/w32api/include/types.h Deleted: trunk/cegcc/src/w32api/include/sipapi.h =================================================================== Deleted: trunk/cegcc/src/w32api/include/types.h =================================================================== This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |