From: <ped...@us...> - 2006-10-16 22:14:47
|
Revision: 730 http://svn.sourceforge.net/cegcc/?rev=730&view=rev Author: pedroalves Date: 2006-10-16 15:14:39 -0700 (Mon, 16 Oct 2006) Log Message: ----------- * include/kfuncs.h (EventModify) : Declare. (TlsCall) : Add WINBASEAPI and WINAPI to declaration. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/kfuncs.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-10-29 06:13:20
|
Revision: 752 http://svn.sourceforge.net/cegcc/?rev=752&view=rev Author: dannybackx Date: 2006-10-28 23:13:13 -0700 (Sat, 28 Oct 2006) Log Message: ----------- Define WS_EX_NODRAG (required to compile the examples in the Boling book). Use a value that many pages show when you look for this word on Yahoo!. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winuser.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-10-27 22:18:16 UTC (rev 751) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-10-29 06:13:13 UTC (rev 752) @@ -1,3 +1,7 @@ +2006-10-29 Danny Backx <dan...@us...> + + * include/winuser.h (WS_EX_NODRAG) : Define. + 2006-10-16 Pedro Alves <ped...@po...> * include/kfuncs.h (EventModify) : Declare. Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2006-10-27 22:18:16 UTC (rev 751) +++ trunk/cegcc/src/w32api/include/winuser.h 2006-10-29 06:13:13 UTC (rev 752) @@ -373,6 +373,9 @@ #define WS_EX_TOPMOST 8 #define WS_EX_TRANSPARENT 32 #define WS_EX_WINDOWEDGE 256 +#if (_WIN32_WCE >= 0x0400) +#define WS_EX_NODRAG 0x40000000L +#endif #define WINSTA_ALL_ACCESS 895 #define WINSTA_ACCESSCLIPBOARD 4 #define WINSTA_ACCESSGLOBALATOMS 32 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-01 13:11:52
|
Revision: 769 http://svn.sourceforge.net/cegcc/?rev=769&view=rev Author: dannybackx Date: 2006-11-01 05:09:36 -0800 (Wed, 01 Nov 2006) Log Message: ----------- Add file submitted by Nuno Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce Added Paths: ----------- trunk/cegcc/src/w32api/include/todaycmn.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-01 12:57:57 UTC (rev 768) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-01 13:09:36 UTC (rev 769) @@ -1,3 +1,12 @@ +2006-11-01 Danny Backx <dan...@us...> + + * include/todaycmn.h : Add file. + +2006-11-01 Danny Backx <dan...@us...> + + * include/winbase.h (lstrcpy, lstrcat, lstrlen) : Add includes + to define these. + 2006-10-29 Danny Backx <dan...@us...> * include/winuser.h (WS_EX_NODRAG) : Define. Added: trunk/cegcc/src/w32api/include/todaycmn.h =================================================================== --- trunk/cegcc/src/w32api/include/todaycmn.h (rev 0) +++ trunk/cegcc/src/w32api/include/todaycmn.h 2006-11-01 13:09:36 UTC (rev 769) @@ -0,0 +1,83 @@ +#ifndef _TODAYCMN_H_ +#define _TODAYCMN_H_ + +#if __GNUC__ >=3 +#pragma GCC system_header +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* List item types */ +typedef enum _TODAYLISTITEMTYPE +{ + tlitOwnerInfo = 0, + tlitAppointments, + tlitMail, + tlitTasks, + tlitCustom, + tlitNil /* sentinel */ +} TODAYLISTITEMTYPE; + +#define MAX_ITEMNAME 32 + +/* Information for a single today item */ +typedef struct _TODAYLISTITEM +{ + TCHAR szName[MAX_ITEMNAME]; + TODAYLISTITEMTYPE tlit; + DWORD dwOrder; + DWORD cyp; + BOOL fEnabled; + BOOL fOptions; + DWORD grfFlags; + TCHAR szDLLPath[MAX_PATH]; + HINSTANCE hinstDLL; + HWND hwndCustom; + BOOL fSizeOnDraw; + BYTE *prgbCachedData; + DWORD cbCachedData; +} TODAYLISTITEM; + +/* Maximum number of today items */ +#define k_cTodayItemsMax 12 + +/* Custom DLL resources */ +#define IDI_ICON 128 +#define IDD_TODAY_CUSTOM 500 + +/* Custom DLL functions */ +#define ORDINAL_INITIALIZEITEM 240 +typedef HWND (*PFNCUSTOMINITIALIZEITEM)(TODAYLISTITEM *, HWND); +#define ORDINAL_OPTIONSDIALOGPROC 241 +typedef BOOL (*PFNCUSTOMOPTIONSDLGPROC)(HWND, UINT, UINT, LONG); + +/* Custom DLL messages */ +#define WM_TODAYCUSTOM_CLEARCACHE (WM_USER + 242) +#define WM_TODAYCUSTOM_QUERYREFRESHCACHE (WM_USER + 243) +#define WM_TODAYCUSTOM_RECEIVEDSELECTION (WM_USER + 244) +#define WM_TODAYCUSTOM_LOSTSELECTION (WM_USER + 245) +#define WM_TODAYCUSTOM_USERNAVIGATION (WM_USER + 246) +#define WM_TODAYCUSTOM_ACTION (WM_USER + 247) + +/* Messages to parent window */ +#define TODAYM_DRAWWATERMARK (WM_USER + 101) +#define TODAYM_TOOKSELECTION (WM_USER + 102) + +/* Today screen system colors */ +#define TODAYCOLOR_HIGHLIGHT (0x10000022) +#define TODAYCOLOR_HIGHLIGHTEDTEXT (0x10000023) + +/* Watermark drawing info */ +typedef struct { + HDC hdc; + RECT rc; + HWND hwnd; +} TODAYDRAWWATERMARKINFO; + +#ifdef __cplusplus +} +#endif + +#endif /* !_TODAYCMN_H_ */ Property changes on: trunk/cegcc/src/w32api/include/todaycmn.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...> - 2006-11-02 01:52:49
|
Revision: 770 http://svn.sourceforge.net/cegcc/?rev=770&view=rev Author: pedroalves Date: 2006-11-01 17:52:36 -0800 (Wed, 01 Nov 2006) Log Message: ----------- * include/winuser.h (DialogBoxParamW) : Implement on terms of DialogBoxIndirectParamW. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winuser.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-01 13:09:36 UTC (rev 769) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-02 01:52:36 UTC (rev 770) @@ -1,3 +1,8 @@ +2006-11-02 Kevin O'Connor <ke...@ko...> + + * include/winuser.h (DialogBoxParamW) : Implement on terms of + DialogBoxIndirectParamW. + 2006-11-01 Danny Backx <dan...@us...> * include/todaycmn.h : Add file. Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2006-11-01 13:09:36 UTC (rev 769) +++ trunk/cegcc/src/w32api/include/winuser.h 2006-11-02 01:52:36 UTC (rev 770) @@ -3472,8 +3472,12 @@ #define DialogBoxIndirectW(i,t,p,f) DialogBoxIndirectParamW(i,t,p,f,0) WINUSERAPI int WINAPI DialogBoxIndirectParamA(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM); WINUSERAPI int WINAPI DialogBoxIndirectParamW(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM); +#ifdef _WIN32_WCE +#define DialogBoxParamW(i,t,p,f,o) DialogBoxIndirectParamW(i, (LPCDLGTEMPLATE)LoadResource(i, FindResource(i, t, RT_DIALOG)), p, f, o) +#else WINUSERAPI int WINAPI DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); WINUSERAPI int WINAPI DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); +#endif WINUSERAPI LONG WINAPI DispatchMessageA(const MSG*); WINUSERAPI LONG WINAPI DispatchMessageW(const MSG*); WINUSERAPI int WINAPI DlgDirListA(HWND,LPSTR,int,int,UINT); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-06 23:26:52
|
Revision: 778 http://svn.sourceforge.net/cegcc/?rev=778&view=rev Author: pedroalves Date: 2006-11-06 15:25:15 -0800 (Mon, 06 Nov 2006) Log Message: ----------- * include/commctrl.h (LVCF_IMAGE, LVCF_ORDER) : Also declare on Windows CE >= 2. (LVCOLUMNW) : Use the version with iImage and iOrder on Windows CE >= 2. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/commctrl.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-03 18:00:58 UTC (rev 777) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-06 23:25:15 UTC (rev 778) @@ -1,3 +1,10 @@ +2006-11-16 Pedro Alves <ped...@po...> + + * include/commctrl.h (LVCF_IMAGE, LVCF_ORDER) : Also declare on + Windows CE >= 2. + (LVCOLUMNW) : Use the version with iImage and iOrder + on Windows CE >= 2. + 2006-11-02 Kevin O'Connor <ke...@ko...> * include/winuser.h (DialogBoxParamW) : Implement on terms of Modified: trunk/cegcc/src/w32api/include/commctrl.h =================================================================== --- trunk/cegcc/src/w32api/include/commctrl.h 2006-11-03 18:00:58 UTC (rev 777) +++ trunk/cegcc/src/w32api/include/commctrl.h 2006-11-06 23:25:15 UTC (rev 778) @@ -1147,7 +1147,7 @@ #define LVCF_WIDTH 2 #define LVCF_TEXT 4 #define LVCF_SUBITEM 8 -#if (_WIN32_IE >= 0x0300) +#if (_WIN32_IE >= 0x0300) || (_WIN32_WCE >= 0x200) #define LVCF_IMAGE 16 #define LVCF_ORDER 32 #endif @@ -2504,7 +2504,7 @@ LPWSTR pszText; int cchTextMax; int iSubItem; -#if (_WIN32_IE >= 0x0300) +#if (_WIN32_IE >= 0x0300) || (_WIN32_WCE >= 0x200) int iImage; int iOrder; #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-11 12:53:44
|
Revision: 781 http://svn.sourceforge.net/cegcc/?rev=781&view=rev Author: dannybackx Date: 2006-11-11 04:53:30 -0800 (Sat, 11 Nov 2006) Log Message: ----------- Define WC_SIPPREF as indicated in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/html/_cerefwc_sippref.asp . Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/aygshell.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-08 12:42:26 UTC (rev 780) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-11 12:53:30 UTC (rev 781) @@ -1,3 +1,7 @@ +2006-11-11 Danny Backx <dan...@us...> + + * include/aygshell.h : Define WC_SIPPREF. + 2006-11-06 Pedro Alves <ped...@po...> * include/commctrl.h (LVCF_IMAGE, LVCF_ORDER) : Also declare on Modified: trunk/cegcc/src/w32api/include/aygshell.h =================================================================== --- trunk/cegcc/src/w32api/include/aygshell.h 2006-11-08 12:42:26 UTC (rev 780) +++ trunk/cegcc/src/w32api/include/aygshell.h 2006-11-11 12:53:30 UTC (rev 781) @@ -151,6 +151,14 @@ #define SHFS_SHOWSTARTICON 16 #define SHFS_HIDESTARTICON 32 +/* + * SIPPREF appears to be some magic control to automatically display the SIP. + * Use with + * CONTROL "",-1,WC_SIPPREF, NOT WS_VISIBLE,-10,-10,5,5 + * See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/html/_cerefwc_sippref.asp + */ +#define WC_SIPPREF L"SIPPREF" + #ifdef __cplusplus } #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-11 15:29:03
|
Revision: 783 http://svn.sourceforge.net/cegcc/?rev=783&view=rev Author: dannybackx Date: 2006-11-11 07:28:54 -0800 (Sat, 11 Nov 2006) Log Message: ----------- Clean up the contents of todaycmn.h because it is tainted. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/todaycmn.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-11 15:24:35 UTC (rev 782) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-11 15:28:54 UTC (rev 783) @@ -1,6 +1,9 @@ 2006-11-11 Danny Backx <dan...@us...> * include/aygshell.h (WC_SIPPREF): Define. + * include/todaycmn.h : Clear the contents of this file, + it was tainted. We must do clean work to create a file + such as this one, so I'm leaving the (empty) file as a placeholder. 2006-11-06 Pedro Alves <ped...@po...> Modified: trunk/cegcc/src/w32api/include/todaycmn.h =================================================================== --- trunk/cegcc/src/w32api/include/todaycmn.h 2006-11-11 15:24:35 UTC (rev 782) +++ trunk/cegcc/src/w32api/include/todaycmn.h 2006-11-11 15:28:54 UTC (rev 783) @@ -9,73 +9,6 @@ extern "C" { #endif -/* List item types */ -typedef enum _TODAYLISTITEMTYPE -{ - tlitOwnerInfo = 0, - tlitAppointments, - tlitMail, - tlitTasks, - tlitCustom, - tlitNil /* sentinel */ -} TODAYLISTITEMTYPE; - -#define MAX_ITEMNAME 32 - -/* Information for a single today item */ -typedef struct _TODAYLISTITEM -{ - TCHAR szName[MAX_ITEMNAME]; - TODAYLISTITEMTYPE tlit; - DWORD dwOrder; - DWORD cyp; - BOOL fEnabled; - BOOL fOptions; - DWORD grfFlags; - TCHAR szDLLPath[MAX_PATH]; - HINSTANCE hinstDLL; - HWND hwndCustom; - BOOL fSizeOnDraw; - BYTE *prgbCachedData; - DWORD cbCachedData; -} TODAYLISTITEM; - -/* Maximum number of today items */ -#define k_cTodayItemsMax 12 - -/* Custom DLL resources */ -#define IDI_ICON 128 -#define IDD_TODAY_CUSTOM 500 - -/* Custom DLL functions */ -#define ORDINAL_INITIALIZEITEM 240 -typedef HWND (*PFNCUSTOMINITIALIZEITEM)(TODAYLISTITEM *, HWND); -#define ORDINAL_OPTIONSDIALOGPROC 241 -typedef BOOL (*PFNCUSTOMOPTIONSDLGPROC)(HWND, UINT, UINT, LONG); - -/* Custom DLL messages */ -#define WM_TODAYCUSTOM_CLEARCACHE (WM_USER + 242) -#define WM_TODAYCUSTOM_QUERYREFRESHCACHE (WM_USER + 243) -#define WM_TODAYCUSTOM_RECEIVEDSELECTION (WM_USER + 244) -#define WM_TODAYCUSTOM_LOSTSELECTION (WM_USER + 245) -#define WM_TODAYCUSTOM_USERNAVIGATION (WM_USER + 246) -#define WM_TODAYCUSTOM_ACTION (WM_USER + 247) - -/* Messages to parent window */ -#define TODAYM_DRAWWATERMARK (WM_USER + 101) -#define TODAYM_TOOKSELECTION (WM_USER + 102) - -/* Today screen system colors */ -#define TODAYCOLOR_HIGHLIGHT (0x10000022) -#define TODAYCOLOR_HIGHLIGHTEDTEXT (0x10000023) - -/* Watermark drawing info */ -typedef struct { - HDC hdc; - RECT rc; - HWND hwnd; -} TODAYDRAWWATERMARKINFO; - #ifdef __cplusplus } #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 18:22:24
|
Revision: 793 http://svn.sourceforge.net/cegcc/?rev=793&view=rev Author: pedroalves Date: 2006-11-12 10:22:09 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/winnt.h (_M_ARM, ARM): Translate from gcc target defines. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winnt.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 18:10:58 UTC (rev 792) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 18:22:09 UTC (rev 793) @@ -1,3 +1,7 @@ +2006-11-12 Pedro Alves <ped...@po...> + + * include/winnt.h (_M_ARM, ARM): Translate from gcc target defines. + 2006-11-11 Danny Backx <dan...@us...> * include/aygshell.h (WC_SIPPREF): Define. Modified: trunk/cegcc/src/w32api/include/winnt.h =================================================================== --- trunk/cegcc/src/w32api/include/winnt.h 2006-11-12 18:10:58 UTC (rev 792) +++ trunk/cegcc/src/w32api/include/winnt.h 2006-11-12 18:22:09 UTC (rev 793) @@ -15,6 +15,30 @@ #elif defined(__i386__) && !defined(_M_IX86) #define _M_IX86 300 #endif + +#if !defined(_M_ARM) +#if defined (__ARM_ARCH_4__) || defined (__ARM_ARCH_4T__) +#define _M_ARM 4 +#elif defined (__ARM_ARCH_5__) || defined (__ARM_ARCH_5T__) \ + || defined (__ARM_ARCH_5TE__) || defined (__ARM_ARCH_5TEJ__) +#define _M_ARM 5 +#elif defined (__ARM_ARCH_6J__) || defined (__ARM_ARCH_6ZK__) \ + || defined (__ARM_ARCH_6K__) +#define _M_ARM 6 +#endif +#endif /* !defined(_M_ARM) */ + +#if !defined(_M_ARMT) +#if defined (__ARM_ARCH_4T__) +#define _M_ARMT 4 +#elif defined (__ARM_ARCH_5T__) || defined (__ARM_ARCH_5TE__) || defined (__ARM_ARCH_5TEJ__) +#define _M_ARMT 5 +#elif defined (__ARM_ARCH_6J__) || defined (__ARM_ARCH_6ZK__) \ + || defined (__ARM_ARCH_6K__) +#define _M_ARMT 6 +#endif +#endif /* !defined(_M_ARMT) */ + #if defined(_M_IX86) && !defined(_X86_) #define _X86_ #elif defined(_M_ALPHA) && !defined(_ALPHA_) @@ -25,6 +49,8 @@ #define _MIPS_ #elif defined(_M_M68K) && !defined(_68K_) #define _68K_ +#elif defined(_M_ARM) && !defined(ARM) +#define ARM #endif #ifdef __cplusplus This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 20:10:11
|
Revision: 796 http://svn.sourceforge.net/cegcc/?rev=796&view=rev Author: pedroalves Date: 2006-11-12 12:09:43 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/winuser.h (SPI_GETOEMINFO, SPI_GETPLATFORMTYPE): Define. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winuser.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 19:50:24 UTC (rev 795) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 20:09:43 UTC (rev 796) @@ -1,4 +1,7 @@ 2006-11-12 Kevin O'Connor <ke...@ko...> + * include/winuser.h (SPI_GETOEMINFO, SPI_GETPLATFORMTYPE): Define. + +2006-11-12 Kevin O'Connor <ke...@ko...> * include/tlhelp32.h (CloseToolhelp32Snapshot): Define. CE's Toolhelp functions/structures although wide, don't take the W suffix. Adapt. Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 19:50:24 UTC (rev 795) +++ trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 20:09:43 UTC (rev 796) @@ -1204,6 +1204,8 @@ #define SPI_GETMOUSESPEED 0x0070 #define SPI_GETMOUSETRAILS 0x005E #define SPI_GETNONCLIENTMETRICS 0x0029 +#define SPI_GETOEMINFO 0x0102 +#define SPI_GETPLATFORMTYPE 0x0101 #define SPI_GETPOWEROFFACTIVE 0x0054 #define SPI_GETPOWEROFFTIMEOUT 0x0050 #define SPI_GETSCREENREADER 0x0046 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 20:31:01
|
Revision: 797 http://svn.sourceforge.net/cegcc/?rev=797&view=rev Author: pedroalves Date: 2006-11-12 12:30:41 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/commctrl.h (IMAGELISTDRAWPARAMS): There are no fState, Frame or crEffect members in CE version. (ImageList_Duplicate, ImageList_SetImageCount, ImageList_Copy, ImageList_DrawIndirect): Enable on Windows CE >= 2. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/commctrl.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 20:09:43 UTC (rev 796) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 20:30:41 UTC (rev 797) @@ -1,7 +1,16 @@ +2006-11-12 Pedro Alves <ped...@po...> + + * include/commctrl.h (IMAGELISTDRAWPARAMS): There are no fState, + Frame or crEffect members in CE version. + (ImageList_Duplicate, ImageList_SetImageCount, ImageList_Copy, + ImageList_DrawIndirect): Enable on Windows CE >= 2. + 2006-11-12 Kevin O'Connor <ke...@ko...> + * include/winuser.h (SPI_GETOEMINFO, SPI_GETPLATFORMTYPE): Define. 2006-11-12 Kevin O'Connor <ke...@ko...> + * include/tlhelp32.h (CloseToolhelp32Snapshot): Define. CE's Toolhelp functions/structures although wide, don't take the W suffix. Adapt. Modified: trunk/cegcc/src/w32api/include/commctrl.h =================================================================== --- trunk/cegcc/src/w32api/include/commctrl.h 2006-11-12 20:09:43 UTC (rev 796) +++ trunk/cegcc/src/w32api/include/commctrl.h 2006-11-12 20:30:41 UTC (rev 797) @@ -2854,7 +2854,7 @@ typedef REBARBANDINFOW const *LPCREBARBANDINFOW; #define REBARBANDINFOA_V3_SIZE CCSIZEOF_STRUCT(REBARBANDINFOA,wID) #define REBARBANDINFOW_V3_SIZE CCSIZEOF_STRUCT(REBARBANDINFOW, wID) -#if (_WIN32_IE >= 0x0300) +#if (_WIN32_IE >= 0x0300) || (_WIN32_WCE >= 0x0200) typedef struct tagIMAGELISTDRAWPARAMS { DWORD cbSize; HIMAGELIST himl; @@ -2870,13 +2870,13 @@ COLORREF rgbFg; UINT fStyle; DWORD dwRop; -#if (_WIN32_WINNT >= 0x0501) +#if (_WIN32_WINNT >= 0x0501) && !defined (_WIN32_WCE) DWORD fState; DWORD Frame; COLORREF crEffect; #endif } IMAGELISTDRAWPARAMS,*LPIMAGELISTDRAWPARAMS; -#endif /* (_WIN32_IE >= 0x0300) */ +#endif /* (_WIN32_IE >= 0x0300) || (_WIN32_WCE >= 0x0200) */ #if (_WIN32_IE >= 0x0400) typedef struct tagNMREBARCHILDSIZE { NMHDR hdr; @@ -3076,7 +3076,7 @@ HIMAGELIST WINAPI ImageList_Read(LPSTREAM); BOOL WINAPI ImageList_Write(HIMAGELIST,LPSTREAM); #endif -#if (_WIN32_IE >= 0x0400) +#if (_WIN32_IE >= 0x0400) || (_WIN32_WCE >= 0x0200) HIMAGELIST WINAPI ImageList_Duplicate(HIMAGELIST himl); #endif void WINAPI InitCommonControls(void); @@ -3303,9 +3303,13 @@ #define ListView_SetIconSpacing(w,x,y) (DWORD)SNDMSG((w),LVM_SETICONSPACING,0,MAKELONG(x,y)) #define ListView_SubItemHitTest(w,p) (INT)SNDMSG((w),LVM_SUBITEMHITTEST,0,(LPARAM)(LPLVHITTESTINFO)(p)) #define ListView_SetItemCountEx(w,i,f) (void)SNDMSG((w),LVM_SETITEMCOUNT,(WPARAM)(i),(LPARAM)(f)) +#endif +#if (_WIN32_IE >= 0x0300) || (_WIN32_WCE >= 0x200) WINBOOL WINAPI ImageList_SetImageCount(HIMAGELIST,UINT); WINBOOL WINAPI ImageList_Copy(HIMAGELIST,int,HIMAGELIST,int,UINT); WINBOOL WINAPI ImageList_DrawIndirect(IMAGELISTDRAWPARAMS*); +#endif +#if (_WIN32_IE >= 0x0300) #define TabCtrl_SetMinTabWidth(hwnd,x) SNDMSG((hwnd),TCM_SETMINTABWIDTH,0,x) #define TabCtrl_DeselectAll(hwnd,fExcludeFocus) SNDMSG((hwnd),TCM_DESELECTALL,fExcludeFocus,0) #define TreeView_GetToolTips(w) (HWND)SNDMSG((w),TVM_GETTOOLTIPS,0,0) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 20:35:47
|
Revision: 798 http://svn.sourceforge.net/cegcc/?rev=798&view=rev Author: pedroalves Date: 2006-11-12 12:35:31 -0800 (Sun, 12 Nov 2006) Log Message: ----------- This should have been committed before. Windows.h and winnt.h must be synchronized as the headers say. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/windows.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 20:30:41 UTC (rev 797) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 20:35:31 UTC (rev 798) @@ -24,6 +24,7 @@ 2006-11-12 Pedro Alves <ped...@po...> * include/winnt.h (_M_ARM, ARM): Translate from gcc target defines. + * include/windows.h (_M_ARM, ARM): Likewise. 2006-11-11 Danny Backx <dan...@us...> Modified: trunk/cegcc/src/w32api/include/windows.h =================================================================== --- trunk/cegcc/src/w32api/include/windows.h 2006-11-12 20:30:41 UTC (rev 797) +++ trunk/cegcc/src/w32api/include/windows.h 2006-11-12 20:35:31 UTC (rev 798) @@ -27,6 +27,30 @@ #elif defined(__i386__) && !defined(_M_IX86) #define _M_IX86 300 #endif + +#if !defined(_M_ARM) +#if defined (__ARM_ARCH_4__) || defined (__ARM_ARCH_4T__) +#define _M_ARM 4 +#elif defined (__ARM_ARCH_5__) || defined (__ARM_ARCH_5T__) \ + || defined (__ARM_ARCH_5TE__) || defined (__ARM_ARCH_5TEJ__) +#define _M_ARM 5 +#elif defined (__ARM_ARCH_6J__) || defined (__ARM_ARCH_6ZK__) \ + || defined (__ARM_ARCH_6K__) +#define _M_ARM 6 +#endif +#endif /* !defined(_M_ARM) */ + +#if !defined(_M_ARMT) +#if defined (__ARM_ARCH_4T__) +#define _M_ARMT 4 +#elif defined (__ARM_ARCH_5T__) || defined (__ARM_ARCH_5TE__) || defined (__ARM_ARCH_5TEJ__) +#define _M_ARMT 5 +#elif defined (__ARM_ARCH_6J__) || defined (__ARM_ARCH_6ZK__) \ + || defined (__ARM_ARCH_6K__) +#define _M_ARMT 6 +#endif +#endif /* !defined(_M_ARMT) */ + #if defined(_M_IX86) && !defined(_X86_) #define _X86_ #elif defined(_M_ALPHA) && !defined(_ALPHA_) @@ -37,6 +61,8 @@ #define _MIPS_ #elif defined(_M_M68K) && !defined(_68K_) #define _68K_ +#elif defined(_M_ARM) && !defined(ARM) +#define ARM #endif #ifdef RC_INVOKED This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 20:45:27
|
Revision: 799 http://svn.sourceforge.net/cegcc/?rev=799&view=rev Author: pedroalves Date: 2006-11-12 12:44:45 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/winnt.h (GetCurrentFiber, GetFiberData, GetCurrentFiber, GetFiberData, NtCurrentTeb): There is no Fiber support in Windows CE. Hide the functions. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winnt.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 20:35:31 UTC (rev 798) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 20:44:45 UTC (rev 799) @@ -1,5 +1,11 @@ 2006-11-12 Pedro Alves <ped...@po...> + * include/winnt.h (GetCurrentFiber, GetFiberData, + GetCurrentFiber, GetFiberData, NtCurrentTeb): There is no Fiber + support in Windows CE. Hide the functions. + +2006-11-12 Pedro Alves <ped...@po...> + * include/commctrl.h (IMAGELISTDRAWPARAMS): There are no fState, Frame or crEffect members in CE version. (ImageList_Duplicate, ImageList_SetImageCount, ImageList_Copy, Modified: trunk/cegcc/src/w32api/include/winnt.h =================================================================== --- trunk/cegcc/src/w32api/include/winnt.h 2006-11-12 20:35:31 UTC (rev 798) +++ trunk/cegcc/src/w32api/include/winnt.h 2006-11-12 20:44:45 UTC (rev 799) @@ -3833,6 +3833,7 @@ (TypeBitMask), (ComparisonType))) #endif +#ifndef _WIN32_WCE PVOID GetCurrentFiber(void); PVOID GetFiberData(void); @@ -3924,6 +3925,7 @@ #endif /* __GNUC__ */ #endif /* _X86_ */ +#endif /* _WIN32_WCE */ #ifdef _WIN32_WCE typedef unsigned int size_t; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 21:06:20
|
Revision: 800 http://svn.sourceforge.net/cegcc/?rev=800&view=rev Author: pedroalves Date: 2006-11-12 13:05:34 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/shellapi.h (SHGetSpecialFolderPath, SHGetShortcutTarget, SHCreateShortcut): Declare. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/shellapi.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 20:44:45 UTC (rev 799) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 21:05:34 UTC (rev 800) @@ -1,5 +1,10 @@ 2006-11-12 Pedro Alves <ped...@po...> + * include/shellapi.h (SHGetSpecialFolderPath, + SHGetShortcutTarget, SHCreateShortcut): Declare. + +2006-11-12 Pedro Alves <ped...@po...> + * include/winnt.h (GetCurrentFiber, GetFiberData, GetCurrentFiber, GetFiberData, NtCurrentTeb): There is no Fiber support in Windows CE. Hide the functions. Modified: trunk/cegcc/src/w32api/include/shellapi.h =================================================================== --- trunk/cegcc/src/w32api/include/shellapi.h 2006-11-12 20:44:45 UTC (rev 799) +++ trunk/cegcc/src/w32api/include/shellapi.h 2006-11-12 21:05:34 UTC (rev 800) @@ -311,6 +311,15 @@ HRESULT WINAPI SHEmptyRecycleBinA(HWND,LPCSTR,DWORD); HRESULT WINAPI SHEmptyRecycleBinW(HWND,LPCWSTR,DWORD); +#if (_WIN32_WCE >= 0x300) +BOOL WINAPI SHGetSpecialFolderPath(HWND,LPWSTR,int,BOOL); +#endif + +#ifdef _WIN32_WCE +BOOL WINAPI SHGetShortcutTarget(LPCTSTR,LPTSTR,int); +BOOL WINAPI SHCreateShortcut(LPTSTR,LPTSTR); +#endif + #ifdef UNICODE typedef NOTIFYICONDATAW NOTIFYICONDATA,*PNOTIFYICONDATA; typedef SHELLEXECUTEINFOW SHELLEXECUTEINFO,*LPSHELLEXECUTEINFO; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 21:38:12
|
Revision: 801 http://svn.sourceforge.net/cegcc/?rev=801&view=rev Author: pedroalves Date: 2006-11-12 13:37:58 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/wingdi.h (GetTextExtentPoint32, GetTextExtentPointW): Implement in terms of GetTextExtentExPointW. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/wingdi.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 21:05:34 UTC (rev 800) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 21:37:58 UTC (rev 801) @@ -1,5 +1,10 @@ 2006-11-12 Pedro Alves <ped...@po...> + * include/wingdi.h (GetTextExtentPoint32, GetTextExtentPointW): + Implement in terms of GetTextExtentExPointW. + +2006-11-12 Pedro Alves <ped...@po...> + * include/shellapi.h (SHGetSpecialFolderPath, SHGetShortcutTarget, SHCreateShortcut): Declare. Modified: trunk/cegcc/src/w32api/include/wingdi.h =================================================================== --- trunk/cegcc/src/w32api/include/wingdi.h 2006-11-12 21:05:34 UTC (rev 800) +++ trunk/cegcc/src/w32api/include/wingdi.h 2006-11-12 21:37:58 UTC (rev 801) @@ -2877,15 +2877,17 @@ WINGDIAPI COLORREF WINAPI GetTextColor(HDC); WINGDIAPI BOOL WINAPI GetTextExtentExPointA(HDC,LPCSTR,int,int,LPINT,LPINT,LPSIZE); WINGDIAPI BOOL WINAPI GetTextExtentExPointW( HDC,LPCWSTR,int,int,LPINT,LPINT,LPSIZE ); +#ifndef _WIN32_WCE WINGDIAPI BOOL WINAPI GetTextExtentPointA(HDC,LPCSTR,int,LPSIZE); WINGDIAPI BOOL WINAPI GetTextExtentPointW(HDC,LPCWSTR,int,LPSIZE); -#ifdef _WIN32_WCE -extern BOOL GetTextExtentPoint32A(HDC,LPCSTR,int,LPSIZE); -extern BOOL GetTextExtentPoint32W( HDC,LPCWSTR,int,LPSIZE); -#else WINGDIAPI BOOL WINAPI GetTextExtentPoint32A(HDC,LPCSTR,int,LPSIZE); WINGDIAPI BOOL WINAPI GetTextExtentPoint32W( HDC,LPCWSTR,int,LPSIZE); +#else +#if (_WIN32_WCE >= 0x200) +#define GetTextExtentPointW(hdc,cstr,len,size) GetTextExtentExPointW(hdc,cstr,len,0,NULL,NULL,size) +#define GetTextExtentPoint32W GetTextExtentPointW #endif +#endif WINGDIAPI int WINAPI GetTextFaceA(HDC,int,LPSTR); WINGDIAPI int WINAPI GetTextFaceW(HDC,int,LPWSTR); WINGDIAPI BOOL WINAPI GetTextMetricsA(HDC,LPTEXTMETRICA); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 22:04:56
|
Revision: 802 http://svn.sourceforge.net/cegcc/?rev=802&view=rev Author: pedroalves Date: 2006-11-12 14:04:27 -0800 (Sun, 12 Nov 2006) Log Message: ----------- This is how I should have committed before. SHGetSpecialFolderPath is was already defined in shlobj.h, but in WinCE it should be defined in shellapi.h. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/shlobj.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 21:37:58 UTC (rev 801) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 22:04:27 UTC (rev 802) @@ -5,8 +5,9 @@ 2006-11-12 Pedro Alves <ped...@po...> - * include/shellapi.h (SHGetSpecialFolderPath, - SHGetShortcutTarget, SHCreateShortcut): Declare. + * include/shlobj.h (SHGetSpecialFolderPath): In Windows CE it is declared ... + * include/shellapi.h (SHGetSpecialFolderPath): ... here. + (SHGetShortcutTarget, SHCreateShortcut): Declare. 2006-11-12 Pedro Alves <ped...@po...> Modified: trunk/cegcc/src/w32api/include/shlobj.h =================================================================== --- trunk/cegcc/src/w32api/include/shlobj.h 2006-11-12 21:37:58 UTC (rev 801) +++ trunk/cegcc/src/w32api/include/shlobj.h 2006-11-12 22:04:27 UTC (rev 802) @@ -1431,10 +1431,12 @@ #endif HRESULT WINAPI SHGetSpecialFolderLocation(HWND,int,LPITEMIDLIST*); HRESULT WINAPI SHLoadInProc(REFCLSID); +#ifndef _WIN32_WCE #if (_WIN32_IE >= 0x0400) BOOL WINAPI SHGetSpecialFolderPathA(HWND,LPSTR,int,BOOL); BOOL WINAPI SHGetSpecialFolderPathW(HWND,LPWSTR,int,BOOL); #endif +#endif /* SHGetFolderPath in shfolder.dll on W9x, NT4, also in shell32.dll on W2K */ HRESULT WINAPI SHGetFolderPathA(HWND,int,HANDLE,DWORD,LPSTR); HRESULT WINAPI SHGetFolderPathW(HWND,int,HANDLE,DWORD,LPWSTR); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 22:21:19
|
Revision: 803 http://svn.sourceforge.net/cegcc/?rev=803&view=rev Author: pedroalves Date: 2006-11-12 14:21:06 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/winuser.h (DrawIcon): Implement in terms of DrawIconEx. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winuser.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 22:04:27 UTC (rev 802) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 22:21:06 UTC (rev 803) @@ -1,5 +1,9 @@ 2006-11-12 Pedro Alves <ped...@po...> + * include/winuser.h (DrawIcon): Implement in terms of DrawIconEx. + +2006-11-12 Pedro Alves <ped...@po...> + * include/wingdi.h (GetTextExtentPoint32, GetTextExtentPointW): Implement in terms of GetTextExtentExPointW. Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 22:04:27 UTC (rev 802) +++ trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 22:21:06 UTC (rev 803) @@ -3505,7 +3505,11 @@ WINUSERAPI BOOL WINAPI DrawEdge(HDC,LPRECT,UINT,UINT); WINUSERAPI BOOL WINAPI DrawFocusRect(HDC,LPCRECT); WINUSERAPI BOOL WINAPI DrawFrameControl(HDC,LPRECT,UINT,UINT); +#ifndef _WIN32_WCE WINUSERAPI BOOL WINAPI DrawIcon(HDC,int,int,HICON); +#else +#define DrawIcon(hdc,x,y,hicon) DrawIconEx(hdc,x,y,hicon,0,0,0,NULL,DI_NORMAL) +#endif WINUSERAPI BOOL WINAPI DrawIconEx(HDC,int,int,HICON,int,int,UINT,HBRUSH,UINT); WINUSERAPI BOOL WINAPI DrawMenuBar(HWND); WINUSERAPI BOOL WINAPI DrawStateA(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,int,int,int,int,UINT); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 22:39:51
|
Revision: 804 http://svn.sourceforge.net/cegcc/?rev=804&view=rev Author: pedroalves Date: 2006-11-12 14:39:37 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/winuser.h (GetSystemMenu): Implement as macro. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winuser.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 22:21:06 UTC (rev 803) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 22:39:37 UTC (rev 804) @@ -1,5 +1,9 @@ 2006-11-12 Pedro Alves <ped...@po...> + * include/winuser.h (GetSystemMenu): Implement as macro. + +2006-11-12 Pedro Alves <ped...@po...> + * include/winuser.h (DrawIcon): Implement in terms of DrawIconEx. 2006-11-12 Pedro Alves <ped...@po...> Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 22:21:06 UTC (rev 803) +++ trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 22:39:37 UTC (rev 804) @@ -3675,7 +3675,11 @@ WINUSERAPI DWORD WINAPI GetSysColor(int); WINUSERAPI HBRUSH WINAPI GetSysColorBrush(int); #define GetSysModalWindow() (NULL) +#ifndef _WIN32_WCE WINUSERAPI HMENU WINAPI GetSystemMenu(HWND,BOOL); +#else +# define GetSystemMenu(hwnd, revert) ((revert)?NULL:(HMENU)(hwnd)) +#endif WINUSERAPI int WINAPI GetSystemMetrics(int); WINUSERAPI DWORD WINAPI GetTabbedTextExtentA(HDC,LPCSTR,int,int,LPINT); WINUSERAPI DWORD WINAPI GetTabbedTextExtentW(HDC,LPCWSTR,int,int,LPINT); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-18 07:45:24
|
Revision: 809 http://svn.sourceforge.net/cegcc/?rev=809&view=rev Author: dannybackx Date: 2006-11-17 23:45:23 -0800 (Fri, 17 Nov 2006) Log Message: ----------- Fix typo and missing prototypes; this now enables the mingw compiler to correctly build the ctlview application from the Boling book. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winbase.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-16 14:25:37 UTC (rev 808) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-18 07:45:23 UTC (rev 809) @@ -1,3 +1,9 @@ +2006-11-18 Danny Backx <dan...@us...> + + * include/winbase.h (lstrcpy, lstrcat, lstrlen) : Add prototypes + for the functions pointed to. + * include/winbase.h (lstrcpy) : Fix typo. + 2006-11-12 Pedro Alves <ped...@po...> * include/winuser.h (GetSystemMenu): Implement as macro. Modified: trunk/cegcc/src/w32api/include/winbase.h =================================================================== --- trunk/cegcc/src/w32api/include/winbase.h 2006-11-16 14:25:37 UTC (rev 808) +++ trunk/cegcc/src/w32api/include/winbase.h 2006-11-18 07:45:23 UTC (rev 809) @@ -2459,10 +2459,14 @@ #ifdef _WIN32_WCE #include <kfuncs.h> -#define lstrcpyW wscpy +#define lstrcpyW wcscpy #define lstrcatW wcscat #define lstrlenW wcslen +wchar_t *wcscpy(wchar_t *dest, const wchar_t *src); +wchar_t *wcscat(wchar_t *dest, const wchar_t *src); +size_t wcslen(const wchar_t *string); + #endif #ifdef __cplusplus This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-18 14:53:37
|
Revision: 811 http://svn.sourceforge.net/cegcc/?rev=811&view=rev Author: dannybackx Date: 2006-11-18 06:53:36 -0800 (Sat, 18 Nov 2006) Log Message: ----------- Rolling back the function prototypes, Pedro's remark was correct. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winbase.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-18 07:54:09 UTC (rev 810) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-18 14:53:36 UTC (rev 811) @@ -1,7 +1,5 @@ 2006-11-18 Danny Backx <dan...@us...> - * include/winbase.h (lstrcpy, lstrcat, lstrlen) : Add prototypes - for the functions pointed to. * include/winbase.h (lstrcpy) : Fix typo. 2006-11-12 Pedro Alves <ped...@po...> Modified: trunk/cegcc/src/w32api/include/winbase.h =================================================================== --- trunk/cegcc/src/w32api/include/winbase.h 2006-11-18 07:54:09 UTC (rev 810) +++ trunk/cegcc/src/w32api/include/winbase.h 2006-11-18 14:53:36 UTC (rev 811) @@ -2463,10 +2463,6 @@ #define lstrcatW wcscat #define lstrlenW wcslen -wchar_t *wcscpy(wchar_t *dest, const wchar_t *src); -wchar_t *wcscat(wchar_t *dest, const wchar_t *src); -size_t wcslen(const wchar_t *string); - #endif #ifdef __cplusplus This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-19 04:54:34
|
Revision: 815 http://svn.sourceforge.net/cegcc/?rev=815&view=rev Author: pedroalves Date: 2006-11-18 20:54:28 -0800 (Sat, 18 Nov 2006) Log Message: ----------- * include/tlhelp32.h (PROCESSENTRY32, THREADENTRY32, MODULEENTRY32): Update fields. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/tlhelp32.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-19 04:34:22 UTC (rev 814) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-19 04:54:28 UTC (rev 815) @@ -1,93 +1,98 @@ -2006-11-18 Danny Backx <dan...@us...> - - * include/winbase.h (lstrcpy) : Fix typo. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/winuser.h (GetSystemMenu): Implement as macro. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/winuser.h (DrawIcon): Implement in terms of DrawIconEx. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/wingdi.h (GetTextExtentPoint32, GetTextExtentPointW): - Implement in terms of GetTextExtentExPointW. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/shlobj.h (SHGetSpecialFolderPath): In Windows CE it is declared ... - * include/shellapi.h (SHGetSpecialFolderPath): ... here. - (SHGetShortcutTarget, SHCreateShortcut): Declare. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/winnt.h (GetCurrentFiber, GetFiberData, - GetCurrentFiber, GetFiberData, NtCurrentTeb): There is no Fiber - support in Windows CE. Hide the functions. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/commctrl.h (IMAGELISTDRAWPARAMS): There are no fState, - Frame or crEffect members in CE version. - (ImageList_Duplicate, ImageList_SetImageCount, ImageList_Copy, - ImageList_DrawIndirect): Enable on Windows CE >= 2. - -2006-11-12 Kevin O'Connor <ke...@ko...> - - * include/winuser.h (SPI_GETOEMINFO, SPI_GETPLATFORMTYPE): Define. - -2006-11-12 Kevin O'Connor <ke...@ko...> - - * 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. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/winnt.h (_M_ARM, ARM): Translate from gcc target defines. - * include/windows.h (_M_ARM, ARM): Likewise. - -2006-11-11 Danny Backx <dan...@us...> - - * include/aygshell.h (WC_SIPPREF): Define. - * include/todaycmn.h : Clear the contents of this file, - it was tainted. We must do clean work to create a file - such as this one, so I'm leaving the (empty) file as a placeholder. - -2006-11-06 Pedro Alves <ped...@po...> - - * include/commctrl.h (LVCF_IMAGE, LVCF_ORDER) : Also declare on - Windows CE >= 2. - (LVCOLUMNW) : Use the version with iImage and iOrder - on Windows CE >= 2. - -2006-11-02 Kevin O'Connor <ke...@ko...> - - * include/winuser.h (DialogBoxParamW) : Implement on terms of - DialogBoxIndirectParamW. - -2006-11-01 Danny Backx <dan...@us...> - - * include/todaycmn.h : Add file. - -2006-11-01 Danny Backx <dan...@us...> - - * include/winbase.h (lstrcpy, lstrcat, lstrlen) : Add includes - to define these. - -2006-10-29 Danny Backx <dan...@us...> - - * include/winuser.h (WS_EX_NODRAG) : Define. - -2006-10-16 Pedro Alves <ped...@po...> - - * include/kfuncs.h (EventModify) : Declare. - (TlsCall) : Add WINBASEAPI and WINAPI to declaration. +2006-11-19 Kevin O'Connor <ke...@ko...> + + * include/tlhelp32.h (PROCESSENTRY32, THREADENTRY32, + MODULEENTRY32): Update fields. + +2006-11-18 Danny Backx <dan...@us...> + + * include/winbase.h (lstrcpy) : Fix typo. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/winuser.h (GetSystemMenu): Implement as macro. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/winuser.h (DrawIcon): Implement in terms of DrawIconEx. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/wingdi.h (GetTextExtentPoint32, GetTextExtentPointW): + Implement in terms of GetTextExtentExPointW. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/shlobj.h (SHGetSpecialFolderPath): In Windows CE it is declared ... + * include/shellapi.h (SHGetSpecialFolderPath): ... here. + (SHGetShortcutTarget, SHCreateShortcut): Declare. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/winnt.h (GetCurrentFiber, GetFiberData, + GetCurrentFiber, GetFiberData, NtCurrentTeb): There is no Fiber + support in Windows CE. Hide the functions. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/commctrl.h (IMAGELISTDRAWPARAMS): There are no fState, + Frame or crEffect members in CE version. + (ImageList_Duplicate, ImageList_SetImageCount, ImageList_Copy, + ImageList_DrawIndirect): Enable on Windows CE >= 2. + +2006-11-12 Kevin O'Connor <ke...@ko...> + + * include/winuser.h (SPI_GETOEMINFO, SPI_GETPLATFORMTYPE): Define. + +2006-11-12 Kevin O'Connor <ke...@ko...> + + * 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. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/winnt.h (_M_ARM, ARM): Translate from gcc target defines. + * include/windows.h (_M_ARM, ARM): Likewise. + +2006-11-11 Danny Backx <dan...@us...> + + * include/aygshell.h (WC_SIPPREF): Define. + * include/todaycmn.h : Clear the contents of this file, + it was tainted. We must do clean work to create a file + such as this one, so I'm leaving the (empty) file as a placeholder. + +2006-11-06 Pedro Alves <ped...@po...> + + * include/commctrl.h (LVCF_IMAGE, LVCF_ORDER) : Also declare on + Windows CE >= 2. + (LVCOLUMNW) : Use the version with iImage and iOrder + on Windows CE >= 2. + +2006-11-02 Kevin O'Connor <ke...@ko...> + + * include/winuser.h (DialogBoxParamW) : Implement on terms of + DialogBoxIndirectParamW. + +2006-11-01 Danny Backx <dan...@us...> + + * include/todaycmn.h : Add file. + +2006-11-01 Danny Backx <dan...@us...> + + * include/winbase.h (lstrcpy, lstrcat, lstrlen) : Add includes + to define these. + +2006-10-29 Danny Backx <dan...@us...> + + * include/winuser.h (WS_EX_NODRAG) : Define. + +2006-10-16 Pedro Alves <ped...@po...> + + * include/kfuncs.h (EventModify) : Declare. + (TlsCall) : Add WINBASEAPI and WINAPI to declaration. Modified: trunk/cegcc/src/w32api/include/tlhelp32.h =================================================================== --- trunk/cegcc/src/w32api/include/tlhelp32.h 2006-11-19 04:34:22 UTC (rev 814) +++ trunk/cegcc/src/w32api/include/tlhelp32.h 2006-11-19 04:54:28 UTC (rev 815) @@ -72,6 +72,8 @@ DWORD dwFlags; #ifdef _WIN32_WCE WCHAR szExeFile[MAX_PATH]; + DWORD th32MemoryBase; + DWORD th32AccessKey; #else CHAR szExeFile[MAX_PATH]; #endif @@ -84,6 +86,10 @@ LONG tpBasePri; LONG tpDeltaPri; DWORD dwFlags; +#ifdef _WIN32_WCE + DWORD th32AccessKey; + DWORD th32CurrentProcessID; +#endif } THREADENTRY32,*PTHREADENTRY32,*LPTHREADENTRY32; typedef struct tagMODULEENTRY32W { DWORD dwSize; @@ -109,6 +115,7 @@ #ifdef _WIN32_WCE WCHAR szModule[MAX_MODULE_NAME32 + 1]; WCHAR szExePath[MAX_PATH]; + DWORD dwFlags; #else CHAR szModule[MAX_MODULE_NAME32 + 1]; CHAR szExePath[MAX_PATH]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-22 19:58:23
|
Revision: 821 http://svn.sourceforge.net/cegcc/?rev=821&view=rev Author: dannybackx Date: 2006-11-22 11:58:22 -0800 (Wed, 22 Nov 2006) Log Message: ----------- Fix the type of one of the fields in CHOOSECOLOR as described in http://msdn2.microsoft.com/en-us/library/ms959872.aspx : the type of the hInstance field is strangely defined to be HWND in other versions of Windows, on CE it looks right. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/commdlg.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-21 23:01:51 UTC (rev 820) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-22 19:58:22 UTC (rev 821) @@ -1,3 +1,10 @@ +2006-11-22 Danny Backx <dan...@us...> + + * include/commdlg.h (CHOOSECOLOR) : Fix type of hInstance field as + described in http://msdn2.microsoft.com/en-us/library/ms959872.aspx . + This field appears to have an inconsistent type definition in other + versions of Windows. + 2006-11-19 Kevin O'Connor <ke...@ko...> * include/tlhelp32.h (PROCESSENTRY32, THREADENTRY32, Modified: trunk/cegcc/src/w32api/include/commdlg.h =================================================================== --- trunk/cegcc/src/w32api/include/commdlg.h 2006-11-21 23:01:51 UTC (rev 820) +++ trunk/cegcc/src/w32api/include/commdlg.h 2006-11-22 19:58:22 UTC (rev 821) @@ -252,7 +252,11 @@ typedef struct tagCHOOSECOLORW { DWORD lStructSize; HWND hwndOwner; +#if (_WIN32_WCE >= 0x0200) + HINSTANCE hInstance; +#else HWND hInstance; +#endif COLORREF rgbResult; COLORREF* lpCustColors; DWORD Flags; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-26 16:57:36
|
Revision: 824 http://svn.sourceforge.net/cegcc/?rev=824&view=rev Author: dannybackx Date: 2006-11-26 08:57:35 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Define SHRGINFO and SHRecognizeGesture as described in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/html/_cerefshrginfo.asp and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/html/_cerefshrecognizegesture.asp They're needed for the Boling book's DOIView example. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/aygshell.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-25 08:02:38 UTC (rev 823) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-26 16:57:35 UTC (rev 824) @@ -1,3 +1,7 @@ +2006-11-26 Danny Backx <dan...@us...> + + * include/aygshell.h (SHRGINFO, SHRecognizeGesture) : Define. + 2006-11-22 Danny Backx <dan...@us...> * include/commdlg.h (CHOOSECOLOR) : Fix type of hInstance field as Modified: trunk/cegcc/src/w32api/include/aygshell.h =================================================================== --- trunk/cegcc/src/w32api/include/aygshell.h 2006-11-25 08:02:38 UTC (rev 823) +++ trunk/cegcc/src/w32api/include/aygshell.h 2006-11-26 16:57:35 UTC (rev 824) @@ -159,6 +159,25 @@ */ #define WC_SIPPREF L"SIPPREF" +/* + * Stuff for SHRecognizeGesture + * + * See + * http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/html/_cerefshrginfo.asp + * and + * http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/html/_cerefshrecognizegesture.asp + */ +#if (_WIN32_WCE >= 0x0420) +typedef struct tagSHRGI { + DWORD cbSize; + HWND hwndClient; + POINT ptDown; + DWORD dwFlags; +} SHRGINFO, *PSHRGINFO; + +WINSHELLAPI DWORD SHRecognizeGesture(SHRGINFO *shrg); +#endif + #ifdef __cplusplus } #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-27 16:36:26
|
Revision: 825 http://svn.sourceforge.net/cegcc/?rev=825&view=rev Author: dannybackx Date: 2006-11-27 08:36:20 -0800 (Mon, 27 Nov 2006) Log Message: ----------- Submission from Kevin O'Connor on the mailing list. The definition of MODULEENTRY32 is not correct for CE. I'm also adding a new #define. The structure definition comes from: http://msdn2.microsoft.com/en-us/library/ms886756.aspx The #define name comes from: http://msdn.microsoft.com/library/en-us/mobilesdk5/html/wce50lrfCreateToolhelp32Snapshot.asp?frame=true The value comes from a google code search (newlib has the value). Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/tlhelp32.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-26 16:57:35 UTC (rev 824) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-27 16:36:20 UTC (rev 825) @@ -1,3 +1,10 @@ +2006-11-26 Kevin O'Connor <ke...@ko...> + + * include/tlhelp32.h (MODULEENTRY32): szModule is of MAX_PATH + size on CE. + + * include/tlhelp32.h: define TH32CS_GETALLMODS. + 2006-11-26 Danny Backx <dan...@us...> * include/aygshell.h (SHRGINFO, SHRecognizeGesture) : Define. Modified: trunk/cegcc/src/w32api/include/tlhelp32.h =================================================================== --- trunk/cegcc/src/w32api/include/tlhelp32.h 2006-11-26 16:57:35 UTC (rev 824) +++ trunk/cegcc/src/w32api/include/tlhelp32.h 2006-11-27 16:36:20 UTC (rev 825) @@ -29,6 +29,7 @@ #define TH32CS_SNAPPROCESS 0x2 #define TH32CS_SNAPTHREAD 0x4 #define TH32CS_SNAPMODULE 0x8 +#define TH32CS_GETALLMODS 0x80000000 #define TH32CS_SNAPALL (TH32CS_SNAPHEAPLIST|TH32CS_SNAPPROCESS|TH32CS_SNAPTHREAD|TH32CS_SNAPMODULE) #define TH32CS_INHERIT 0x80000000 typedef struct tagHEAPLIST32 { @@ -113,7 +114,7 @@ DWORD modBaseSize; HMODULE hModule; #ifdef _WIN32_WCE - WCHAR szModule[MAX_MODULE_NAME32 + 1]; + WCHAR szModule[MAX_PATH]; WCHAR szExePath[MAX_PATH]; DWORD dwFlags; #else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-27 16:38:20
|
Revision: 826 http://svn.sourceforge.net/cegcc/?rev=826&view=rev Author: dannybackx Date: 2006-11-27 08:38:00 -0800 (Mon, 27 Nov 2006) Log Message: ----------- Another submission by Kevin. There is a function GetSystemPowerStatusEx2 defined for CE. Structure definition: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceshellui5/html/wce50lrfsystempowerstatusex2.asp Function definition: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceshellui5/html/wce50lrfGetSystemPowerStatusEx2.asp Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winbase.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-27 16:36:20 UTC (rev 825) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-27 16:38:00 UTC (rev 826) @@ -1,5 +1,10 @@ 2006-11-26 Kevin O'Connor <ke...@ko...> + * include/winbase.h: Add SYSTEM_POWER_STATUS_EX2 structure. + Add GetSystemPowerStatusEx2 function definition. + +2006-11-26 Kevin O'Connor <ke...@ko...> + * include/tlhelp32.h (MODULEENTRY32): szModule is of MAX_PATH size on CE. Modified: trunk/cegcc/src/w32api/include/winbase.h =================================================================== --- trunk/cegcc/src/w32api/include/winbase.h 2006-11-27 16:36:20 UTC (rev 825) +++ trunk/cegcc/src/w32api/include/winbase.h 2006-11-27 16:38:00 UTC (rev 826) @@ -992,6 +992,30 @@ WORD wCertificateType; BYTE bCertificate[1]; } WIN_CERTIFICATE, *LPWIN_CERTIFICATE; +#ifdef _WIN32_WCE +typedef struct _SYSTEM_POWER_STATUS_EX2 { + BYTE ACLineStatus; + BYTE BatteryFlag; + BYTE BatteryLifePercent; + BYTE Reserved1; + DWORD BatteryLifeTime; + DWORD BatteryFullLifeTime; + BYTE Reserved2; + BYTE BackupBatteryFlag; + BYTE BackupBatteryLifePercent; + BYTE Reserved3; + DWORD BackupBatteryLifeTime; + DWORD BackupBatteryFullLifeTime; + DWORD BatteryVoltage; + DWORD BatteryCurrent; + DWORD BatteryAverageCurrent; + DWORD BatteryAverageInterval; + DWORD BatterymAHourConsumed; + DWORD BatteryTemperature; + DWORD BackupBatteryVoltage; + BYTE BatteryChemistry; +} SYSTEM_POWER_STATUS_EX2, *PSYSTEM_POWER_STATUS_EX2, *LPSYSTEM_POWER_STATUS_EX2; +#endif #if (_WIN32_WINNT >= 0x0501) typedef struct tagACTCTXA { ULONG cbSize; @@ -1547,6 +1571,9 @@ WINBASEAPI UINT WINAPI GetSystemDirectoryW(LPWSTR,UINT); WINBASEAPI VOID WINAPI GetSystemInfo(LPSYSTEM_INFO); WINBASEAPI BOOL WINAPI GetSystemPowerStatus(LPSYSTEM_POWER_STATUS); +#ifdef _WIN32_WCE +WINBASEAPI DWORD GetSystemPowerStatusEx2(PSYSTEM_POWER_STATUS_EX2,DWORD,BOOL); +#endif #if (_WIN32_WINNT >= 0x0502) WINBASEAPI BOOL WINAPI GetSystemRegistryQuota(PDWORD,PDWORD); #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-28 23:20:35
|
Revision: 834 http://svn.sourceforge.net/cegcc/?rev=834&view=rev Author: dannybackx Date: 2006-11-28 15:20:32 -0800 (Tue, 28 Nov 2006) Log Message: ----------- Add some more macros, required for the examples in the Boling book. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/aygshell.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-28 13:18:45 UTC (rev 833) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-28 23:20:32 UTC (rev 834) @@ -1,3 +1,11 @@ +2006-11-28 Danny Backx <dan...@us...> + + * include/aygshell.h (IDM_SHAREDNEW, IDM_SHAREDNEWDEFAULT) : Define. + + * include/aygshell.h (NOMENU) : Define. + + * include/aygshell.h (IDS_SH*) : Define, values from the Boling book. + 2006-11-26 Kevin O'Connor <ke...@ko...> * include/winbase.h: Add SYSTEM_POWER_STATUS_EX2 structure. Modified: trunk/cegcc/src/w32api/include/aygshell.h =================================================================== --- trunk/cegcc/src/w32api/include/aygshell.h 2006-11-28 13:18:45 UTC (rev 833) +++ trunk/cegcc/src/w32api/include/aygshell.h 2006-11-28 23:20:32 UTC (rev 834) @@ -104,6 +104,38 @@ #define IDM_NEWMENUMAX 3000 +/* + * The Shared New menu + * + * See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/html/_ceconnewbutton.asp + * + * Values from several sources are identical + * ftp://ftp.berlios.de/pub/pocketsipmsg/PocketSM-0.7.5-src.tar.gz + * http://www.huihoo.com/doxygen/vlc/html/newres_8h-source.html + * http://www.ee.umd.edu/courses/enee408g.S2002/report/group4/Final/Video/PocketPC/NEWRES.H + */ +#define IDM_SHAREDNEW 10 +#define IDM_SHAREDNEWDEFAULT 11 + +/* + * http://msdn2.microsoft.com/en-us/library/aa457781.aspx + * http://www.ee.umd.edu/courses/enee408g.S2002/report/group4/Final/Video/PocketPC/NEWRES.H + * + */ +#define NOMENU 0xFFFF + +/* + * These are in the Boling book + */ +#define IDS_SHNEW 1 +#define IDS_SHEDIT 2 +#define IDS_SHTOOLS 3 +#define IDS_SHVIEW 4 +#define IDS_SHFILE 5 +#define IDS_SHGO 6 +#define IDS_SHFAVORITES 7 +#define IDS_SHOPEN 8 + /* Values for npPriority */ typedef enum { SHNP_INFORM = 0x1b1, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |