From: <dan...@us...> - 2007-09-19 18:51:12
|
Revision: 1062 http://cegcc.svn.sourceforge.net/cegcc/?rev=1062&view=rev Author: dannybackx Date: 2007-09-19 11:51:06 -0700 (Wed, 19 Sep 2007) Log Message: ----------- * include/service.h (ServiceAddPort): Fix type of szRegWritePath parameter, MSDN is wrong. * include/service.h: Use 400, not 0x0400 to conditionally compile. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/service.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2007-09-11 21:36:53 UTC (rev 1061) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-09-19 18:51:06 UTC (rev 1062) @@ -1,3 +1,9 @@ +2007-09-19 Danny Backx <dan...@us...> + + * include/service.h (ServiceAddPort): Fix type of szRegWritePath + parameter, MSDN is wrong. + * include/service.h: Use 400, not 0x0400 to conditionally compile. + 2007-08-09 Danny Backx <dan...@us...> * include/service.h (SERVICE_STATE_OFF, SERVICE_STATE_ON, Modified: trunk/cegcc/src/w32api/include/service.h =================================================================== --- trunk/cegcc/src/w32api/include/service.h 2007-09-11 21:36:53 UTC (rev 1061) +++ trunk/cegcc/src/w32api/include/service.h 2007-09-19 18:51:06 UTC (rev 1062) @@ -19,7 +19,7 @@ extern "C" { #endif -#if defined(_WIN32_WCE) && (_WIN32_WCE >= 0x0400) +#if defined(_WIN32_WCE) && (_WIN32_WCE >= 400) typedef struct ServiceEnumInfo { WCHAR szPrefix[6]; WCHAR szDllName; @@ -43,7 +43,7 @@ BOOL EnumServices (PBYTE pBuffer, DWORD *pdwServiceEntries, DWORD *pdwBufferLen); HANDLE GetServiceHandle (LPWSTR szPrefix, LPWSTR szDllName, DWORD *pdwDllBuf); BOOL ServiceAddPort (HANDLE hService, SOCKADDR *pSockAddr, INT cbSockAddr, - INT iProtocol, WCHAR szRegWritePath); + INT iProtocol, WCHAR *szRegWritePath); BOOL ServiceClosePort (HANDLE hService, SOCKADDR *pSockAddr, int cbSockAddr, int iProtocol, BOOL fRemoveFromRegistry); BOOL ServiceIoControl (HANDLE hService, DWORD dwIoControlCode, LPVOID lpInBuf, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2007-10-16 21:22:44
|
Revision: 1064 http://cegcc.svn.sourceforge.net/cegcc/?rev=1064&view=rev Author: pedroalves Date: 2007-10-16 14:22:00 -0700 (Tue, 16 Oct 2007) Log Message: ----------- 2007-10-16 Erik van Pienbroek <er...@va...> * include/commdlg.h (ChooseColor): New declaration, and hide macro. (ChooseColorA, ChooseColorW): Hide. * include/shellapi.h (SHLoadBIBitmap): Declare. * include/winbase.h (_SYSTEM_POWER_STATUS, _SYSTEM_POWER_STATUS) (LPSYSTEM_POWER_STATUS, GetSystemPowerStatus): Hide. * include/winuser.h (EnumDisplaySettings, EnumDisplayDevices): New declarations, and hide macros. (EnumDisplaySettingsA, EnumDisplaySettingsW) (EnumDisplaySettingsExA, EnumDisplaySettingsExW) (EnumDisplayDevicesA, EnumDisplayDevicesW): Hide. (TrackPopupMenu): Define in terms of TrackPopupMenuEx. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/commdlg.h trunk/cegcc/src/w32api/include/shellapi.h trunk/cegcc/src/w32api/include/winbase.h trunk/cegcc/src/w32api/include/winuser.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2007-10-16 20:52:57 UTC (rev 1063) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-10-16 21:22:00 UTC (rev 1064) @@ -1,3 +1,18 @@ +2007-10-16 Erik van Pienbroek <er...@va...> + + * include/commdlg.h (ChooseColor): New declaration, and hide + macro. + (ChooseColorA, ChooseColorW): Hide. + * include/shellapi.h (SHLoadBIBitmap): Declare. + * include/winbase.h (_SYSTEM_POWER_STATUS, _SYSTEM_POWER_STATUS) + (LPSYSTEM_POWER_STATUS, GetSystemPowerStatus): Hide. + * include/winuser.h (EnumDisplaySettings, EnumDisplayDevices): New + declarations, and hide macros. + (EnumDisplaySettingsA, EnumDisplaySettingsW) + (EnumDisplaySettingsExA, EnumDisplaySettingsExW) + (EnumDisplayDevicesA, EnumDisplayDevicesW): Hide. + (TrackPopupMenu): Define in terms of TrackPopupMenuEx. + 2007-09-19 Danny Backx <dan...@us...> * include/service.h (ServiceAddPort): Fix type of szRegWritePath Modified: trunk/cegcc/src/w32api/include/commdlg.h =================================================================== --- trunk/cegcc/src/w32api/include/commdlg.h 2007-10-16 20:52:57 UTC (rev 1063) +++ trunk/cegcc/src/w32api/include/commdlg.h 2007-10-16 21:22:00 UTC (rev 1064) @@ -525,8 +525,12 @@ } PRINTDLGEXW, *LPPRINTDLGEXW; #endif /* WINVER >= 0x0500 */ +#ifdef _WIN32_WCE +BOOL WINAPI ChooseColor(LPCHOOSECOLORW); +#else BOOL WINAPI ChooseColorA(LPCHOOSECOLORA); BOOL WINAPI ChooseColorW(LPCHOOSECOLORW); +#endif BOOL WINAPI ChooseFontA(LPCHOOSEFONTA); BOOL WINAPI ChooseFontW(LPCHOOSEFONTW); DWORD WINAPI CommDlgExtendedError(void); @@ -568,7 +572,9 @@ typedef OFNOTIFYW OFNOTIFY,*LPOFNOTIFY; typedef PAGESETUPDLGW PAGESETUPDLG,*LPPAGESETUPDLG; typedef PRINTDLGW PRINTDLG,*LPPRINTDLG; +#ifndef _WIN32_WCE #define ChooseColor ChooseColorW +#endif #define ChooseFont ChooseFontW #define FindText FindTextW #define GetFileTitle GetFileTitleW @@ -598,7 +604,9 @@ typedef OFNOTIFYA OFNOTIFY,*LPOFNOTIFY; typedef PAGESETUPDLGA PAGESETUPDLG,*LPPAGESETUPDLG; typedef PRINTDLGA PRINTDLG,*LPPRINTDLG; +#ifndef _WIN32_WCE #define ChooseColor ChooseColorA +#endif #define ChooseFont ChooseFontA #define FindText FindTextA #define GetFileTitle GetFileTitleA Modified: trunk/cegcc/src/w32api/include/shellapi.h =================================================================== --- trunk/cegcc/src/w32api/include/shellapi.h 2007-10-16 20:52:57 UTC (rev 1063) +++ trunk/cegcc/src/w32api/include/shellapi.h 2007-10-16 21:22:00 UTC (rev 1064) @@ -326,6 +326,7 @@ #ifdef _WIN32_WCE BOOL WINAPI SHGetShortcutTarget(LPCTSTR,LPTSTR,int); BOOL WINAPI SHCreateShortcut(LPTSTR,LPTSTR); +HBITMAP WINAPI SHLoadDIBitmap(LPCTSTR); #endif #ifdef UNICODE Modified: trunk/cegcc/src/w32api/include/winbase.h =================================================================== --- trunk/cegcc/src/w32api/include/winbase.h 2007-10-16 20:52:57 UTC (rev 1063) +++ trunk/cegcc/src/w32api/include/winbase.h 2007-10-16 21:22:00 UTC (rev 1064) @@ -900,6 +900,7 @@ WORD wProcessorLevel; WORD wProcessorRevision; } SYSTEM_INFO,*LPSYSTEM_INFO; +#ifndef _WIN32_WCE typedef struct _SYSTEM_POWER_STATUS { BYTE ACLineStatus; BYTE BatteryFlag; @@ -908,6 +909,7 @@ DWORD BatteryLifeTime; DWORD BatteryFullLifeTime; } SYSTEM_POWER_STATUS,*LPSYSTEM_POWER_STATUS; +#endif typedef struct _TIME_ZONE_INFORMATION { LONG Bias; WCHAR StandardName[32]; @@ -1589,8 +1591,9 @@ WINBASEAPI UINT WINAPI GetSystemDirectoryA(LPSTR,UINT); WINBASEAPI UINT WINAPI GetSystemDirectoryW(LPWSTR,UINT); WINBASEAPI VOID WINAPI GetSystemInfo(LPSYSTEM_INFO); +#ifndef _WIN32_WCE WINBASEAPI BOOL WINAPI GetSystemPowerStatus(LPSYSTEM_POWER_STATUS); -#ifdef _WIN32_WCE +#else WINBASEAPI DWORD GetSystemPowerStatusEx2(PSYSTEM_POWER_STATUS_EX2,DWORD,BOOL); WINBASEAPI BOOL GetSystemPowerStatusEx(PSYSTEM_POWER_STATUS_EX,BOOL); #endif Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2007-10-16 20:52:57 UTC (rev 1063) +++ trunk/cegcc/src/w32api/include/winuser.h 2007-10-16 21:22:00 UTC (rev 1064) @@ -3554,6 +3554,10 @@ WINUSERAPI BOOL WINAPI EnumDesktopWindows(HDESK,ENUMWINDOWSPROC,LPARAM); WINUSERAPI BOOL WINAPI EnumDisplayMonitors(HDC,LPCRECT,MONITORENUMPROC,LPARAM); #ifndef NOGDI +#ifdef _WIN32_WCE +WINUSERAPI BOOL WINAPI EnumDisplaySettings(LPCWSTR,DWORD,PDEVMODEW); +WINUSERAPI BOOL WINAPI EnumDisplayDevices(LPCWSTR,DWORD,PDISPLAY_DEVICEW,DWORD); +#else WINUSERAPI BOOL WINAPI EnumDisplaySettingsA(LPCSTR,DWORD,PDEVMODEA); WINUSERAPI BOOL WINAPI EnumDisplaySettingsW(LPCWSTR,DWORD,PDEVMODEW); #if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410) @@ -3563,6 +3567,7 @@ WINUSERAPI BOOL WINAPI EnumDisplayDevicesA(LPCSTR,DWORD,PDISPLAY_DEVICEA,DWORD); WINUSERAPI BOOL WINAPI EnumDisplayDevicesW(LPCWSTR,DWORD,PDISPLAY_DEVICEW,DWORD); #endif +#endif WINUSERAPI int WINAPI EnumPropsA(HWND,PROPENUMPROCA); WINUSERAPI int WINAPI EnumPropsW(HWND,PROPENUMPROCW); WINUSERAPI int WINAPI EnumPropsExA(HWND,PROPENUMPROCEXA,LPARAM); @@ -4029,7 +4034,12 @@ WINUSERAPI int WINAPI ToUnicode(UINT,UINT,PBYTE,LPWSTR,int,UINT); WINUSERAPI int WINAPI ToUnicodeEx(UINT,UINT,PBYTE,LPWSTR,int,UINT,HKL); WINUSERAPI BOOL WINAPI TrackMouseEvent(LPTRACKMOUSEEVENT); +#ifdef _WIN32_WCE +#define TrackPopupMenu(hmenu,uFlags,x,y,nReserved,hWnd,rect) \ + TrackPopupMenuEx(hmenu,uFlags,x,y,hWnd,NULL) +#else WINUSERAPI BOOL WINAPI TrackPopupMenu(HMENU,UINT,int,int,int,HWND,LPCRECT); +#endif WINUSERAPI BOOL WINAPI TrackPopupMenuEx(HMENU,UINT,int,int,HWND,LPTPMPARAMS); WINUSERAPI int WINAPI TranslateAcceleratorA(HWND,HACCEL,LPMSG); WINUSERAPI int WINAPI TranslateAcceleratorW(HWND,HACCEL,LPMSG); @@ -4243,9 +4253,11 @@ #define ChangeDisplaySettings ChangeDisplaySettingsW #define ChangeDisplaySettingsEx ChangeDisplaySettingsExW #define CreateDesktop CreateDesktopW +#ifndef _WIN32_WCE #define EnumDisplaySettings EnumDisplaySettingsW #define EnumDisplaySettingsEx EnumDisplaySettingsExW #define EnumDisplayDevices EnumDisplayDevicesW +#endif #endif /* NOGDI */ #else /* UNICODE */ #define EDITWORDBREAKPROC EDITWORDBREAKPROCA This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2007-10-20 17:25:24
|
Revision: 1065 http://cegcc.svn.sourceforge.net/cegcc/?rev=1065&view=rev Author: dannybackx Date: 2007-10-20 10:25:19 -0700 (Sat, 20 Oct 2007) Log Message: ----------- Change IsDlgButtonChecked into a macro, this matches the description on http://msdn2.microsoft.com/en-us/library/ms909866.aspx . 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 2007-10-16 21:22:00 UTC (rev 1064) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-10-20 17:25:19 UTC (rev 1065) @@ -1,3 +1,8 @@ +2007-10-20 Danny Backx <dan...@us...> + + * include/winuser.h (IsDlgButtonChecked) : Change to a macro for + Windows CE. + 2007-10-16 Erik van Pienbroek <er...@va...> * include/commdlg.h (ChooseColor): New declaration, and hide Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2007-10-16 21:22:00 UTC (rev 1064) +++ trunk/cegcc/src/w32api/include/winuser.h 2007-10-20 17:25:19 UTC (rev 1065) @@ -3785,7 +3785,11 @@ WINUSERAPI BOOL WINAPI IsClipboardFormatAvailable(UINT); WINUSERAPI BOOL WINAPI IsDialogMessageA(HWND,LPMSG); WINUSERAPI BOOL WINAPI IsDialogMessageW(HWND,LPMSG); +#ifdef _WIN32_WCE +#define IsDlgButtonChecked(h, i) SendDlgItemMessageW(h, i, BM_GETCHECK, (WPARAM)(0), 0) +#else WINUSERAPI UINT WINAPI IsDlgButtonChecked(HWND,int); +#endif #if(_WIN32_WINNT >= 0x0501) WINUSERAPI BOOL WINAPI IsGUIThread(BOOL); #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2007-10-20 17:43:49
|
Revision: 1066 http://cegcc.svn.sourceforge.net/cegcc/?rev=1066&view=rev Author: dannybackx Date: 2007-10-20 10:43:44 -0700 (Sat, 20 Oct 2007) Log Message: ----------- 2007-10-20 Jacek M. Holeczek <hol...@us...> * include/winuser.h (ChangeDisplaySettings): Define differently for CE than for other Windows versions. * include/shellapi.h (ShellExecuteEx, ShellExecute): Define only those functions that exist in the CE API. * include/wingdi.h (struct _devicemodeW, DEVMODEW, LPDEVMODEW, PDEVMODEW): Define this structure, the typedefs, and the constants it requires differently for Windows CE than for other Windows platforms. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/shellapi.h trunk/cegcc/src/w32api/include/wingdi.h trunk/cegcc/src/w32api/include/winuser.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2007-10-20 17:25:19 UTC (rev 1065) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-10-20 17:43:44 UTC (rev 1066) @@ -1,3 +1,13 @@ +2007-10-20 Jacek M. Holeczek <hol...@us...> + * include/winuser.h (ChangeDisplaySettings): Define differently for CE + than for other Windows versions. + * include/shellapi.h (ShellExecuteEx, ShellExecute): Define only those + functions that exist in the CE API. + * include/wingdi.h (struct _devicemodeW, DEVMODEW, LPDEVMODEW, + PDEVMODEW): Define this structure, the typedefs, and the constants + it requires differently for Windows CE than for other Windows + platforms. + 2007-10-20 Danny Backx <dan...@us...> * include/winuser.h (IsDlgButtonChecked) : Change to a macro for Modified: trunk/cegcc/src/w32api/include/shellapi.h =================================================================== --- trunk/cegcc/src/w32api/include/shellapi.h 2007-10-20 17:25:19 UTC (rev 1065) +++ trunk/cegcc/src/w32api/include/shellapi.h 2007-10-20 17:43:44 UTC (rev 1066) @@ -297,14 +297,14 @@ BOOL WINAPI Shell_NotifyIconW(DWORD,PNOTIFYICONDATAW); int WINAPI ShellAboutA(HWND,LPCSTR,LPCSTR,HICON); int WINAPI ShellAboutW(HWND,LPCWSTR,LPCWSTR,HICON); +#ifndef _WIN32_WCE HINSTANCE WINAPI ShellExecuteA(HWND,LPCSTR,LPCSTR,LPCSTR,LPCSTR,INT); HINSTANCE WINAPI ShellExecuteW(HWND,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,INT); BOOL WINAPI ShellExecuteExA(LPSHELLEXECUTEINFOA); -#ifndef _WIN32_WCE BOOL WINAPI ShellExecuteExW(LPSHELLEXECUTEINFOW); -#else +#else /* _WIN32_WCE */ BOOL WINAPI ShellExecuteEx(LPSHELLEXECUTEINFOW); -#endif +#endif /* _WIN32_WCE */ int WINAPI SHFileOperationA(LPSHFILEOPSTRUCTA); int WINAPI SHFileOperationW(LPSHFILEOPSTRUCTW); void WINAPI SHFreeNameMappings(HANDLE); @@ -341,10 +341,10 @@ #define FindExecutable FindExecutableW #define Shell_NotifyIcon Shell_NotifyIconW #define ShellAbout ShellAboutW +#ifndef _WIN32_WCE #define ShellExecute ShellExecuteW -#ifndef _WIN32_WCE #define ShellExecuteEx ShellExecuteExW -#endif +#endif /* _WIN32_WCE */ #define SHFileOperation SHFileOperationW #ifndef _WIN32_WCE #define SHGetFileInfo SHGetFileInfoW Modified: trunk/cegcc/src/w32api/include/wingdi.h =================================================================== --- trunk/cegcc/src/w32api/include/wingdi.h 2007-10-20 17:25:19 UTC (rev 1065) +++ trunk/cegcc/src/w32api/include/wingdi.h 2007-10-20 17:43:44 UTC (rev 1066) @@ -1182,10 +1182,20 @@ #define DM_PELSHEIGHT 0x00100000 #define DM_DISPLAYFLAGS 0x00200000 #define DM_DISPLAYFREQUENCY 0x00400000 +#ifndef _WIN32_WCE #define DM_ICMMETHOD 0x00800000 #define DM_ICMINTENT 0x01000000 #define DM_MEDIATYPE 0x02000000 #define DM_DITHERTYPE 0x04000000 +#else /* _WIN32_WCE */ +#define DM_DISPLAYORIENTATION 0x00800000 +#define DM_DISPLAYQUERYORIENTATION 0x01000000 +#define DMDO_0 0 +#define DMDO_DEFAULT DMDO_0 +#define DMDO_90 1 +#define DMDO_180 2 +#define DMDO_270 4 +#endif /* _WIN32_WCE */ #if(WINVER >= 0x0500) #define DM_PANNINGWIDTH 0x08000000 #define DM_PANNINGHEIGHT 0x10000000 @@ -1523,6 +1533,7 @@ #endif #endif /* WINVER >= 0x0400 */ } DEVMODEA,*LPDEVMODEA,*PDEVMODEA; +#ifndef _WIN32_WCE typedef struct _devicemodeW { WCHAR dmDeviceName[CCHDEVICENAME]; WORD dmSpecVersion; @@ -1574,6 +1585,37 @@ #endif #endif /* WINVER >= 0x0400 */ } DEVMODEW,*LPDEVMODEW,*PDEVMODEW; +#else /* _WIN32_WCE */ +typedef struct _devicemodeW { + WCHAR dmDeviceName[CCHDEVICENAME]; + WORD dmSpecVersion; + WORD dmDriverVersion; + WORD dmSize; + WORD dmDriverExtra; + DWORD dmFields; + short dmOrientation; + short dmPaperSize; + short dmPaperLength; + short dmPaperWidth; + short dmScale; + short dmCopies; + short dmDefaultSource; + short dmPrintQuality; + short dmColor; + short dmDuplex; + short dmYResolution; + short dmTTOption; + short dmCollate; + WCHAR dmFormName[CCHFORMNAME]; + WORD dmLogPixels; + DWORD dmBitsPerPel; + DWORD dmPelsWidth; + DWORD dmPelsHeight; + DWORD dmDisplayFlags; + DWORD dmDisplayFrequency; + DWORD dmDisplayOrientation; +} DEVMODEW,*PDEVMODEW,*NPDEVMODEW,*LPDEVMODEW; +#endif /* _WIN32_WCE */ typedef struct tagDIBSECTION { BITMAP dsBm; BITMAPINFOHEADER dsBmih; Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2007-10-20 17:25:19 UTC (rev 1065) +++ trunk/cegcc/src/w32api/include/winuser.h 2007-10-20 17:43:44 UTC (rev 1066) @@ -3391,11 +3391,15 @@ WINUSERAPI WORD WINAPI CascadeWindows(HWND,UINT,LPCRECT,UINT,const HWND*); WINUSERAPI BOOL WINAPI ChangeClipboardChain(HWND,HWND); #ifndef NOGDI +#ifndef _WIN32_WCE WINUSERAPI LONG WINAPI ChangeDisplaySettingsA(PDEVMODEA,DWORD); WINUSERAPI LONG WINAPI ChangeDisplaySettingsW(PDEVMODEW,DWORD); WINUSERAPI LONG WINAPI ChangeDisplaySettingsExA(LPCSTR,LPDEVMODEA,HWND,DWORD,LPVOID); WINUSERAPI LONG WINAPI ChangeDisplaySettingsExW(LPCWSTR,LPDEVMODEW,HWND,DWORD,LPVOID); -#endif +#else /* _WIN32_WCE */ +WINUSERAPI LONG WINAPI ChangeDisplaySettingsEx(LPCWSTR,LPDEVMODEW,HWND,DWORD,LPVOID); +#endif /* _WIN32_WCE */ +#endif /* NOGDI */ WINUSERAPI BOOL WINAPI ChangeMenuA(HMENU,UINT,LPCSTR,UINT,UINT); WINUSERAPI BOOL WINAPI ChangeMenuW(HMENU,UINT,LPCWSTR,UINT,UINT); WINUSERAPI LPSTR WINAPI CharLowerA(LPSTR); @@ -4254,14 +4258,14 @@ #ifndef NOGDI typedef ICONMETRICSW ICONMETRICS,*LPICONMETRICS; typedef NONCLIENTMETRICSW NONCLIENTMETRICS,*LPNONCLIENTMETRICS; +#define CreateDesktop CreateDesktopW +#ifndef _WIN32_WCE #define ChangeDisplaySettings ChangeDisplaySettingsW #define ChangeDisplaySettingsEx ChangeDisplaySettingsExW -#define CreateDesktop CreateDesktopW -#ifndef _WIN32_WCE #define EnumDisplaySettings EnumDisplaySettingsW #define EnumDisplaySettingsEx EnumDisplaySettingsExW #define EnumDisplayDevices EnumDisplayDevicesW -#endif +#endif /* _WIN32_WCE */ #endif /* NOGDI */ #else /* UNICODE */ #define EDITWORDBREAKPROC EDITWORDBREAKPROCA This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2007-11-14 22:45:15
|
Revision: 1070 http://cegcc.svn.sourceforge.net/cegcc/?rev=1070&view=rev Author: pedroalves Date: 2007-11-14 14:45:10 -0800 (Wed, 14 Nov 2007) Log Message: ----------- 2007-11-14 Matthew Kille <ma...@am...> * include/winbase.h (THREAD_PRIORITY_TIME_CRITICAL) (THREAD_PRIORITY_HIGHEST, THREAD_PRIORITY_ABOVE_NORMAL) (THREAD_PRIORITY_NORMAL, THREAD_PRIORITY_BELOW_NORMAL) (THREAD_PRIORITY_LOWEST, THREAD_PRIORITY_IDLE): Correct values for Windows CE. (THREAD_PRIORITY_ABOVE_IDLE): Define. 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 2007-11-05 16:29:52 UTC (rev 1069) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-11-14 22:45:10 UTC (rev 1070) @@ -1,3 +1,12 @@ +2007-11-14 Matthew Kille <ma...@am...> + + * include/winbase.h (THREAD_PRIORITY_TIME_CRITICAL) + (THREAD_PRIORITY_HIGHEST, THREAD_PRIORITY_ABOVE_NORMAL) + (THREAD_PRIORITY_NORMAL, THREAD_PRIORITY_BELOW_NORMAL) + (THREAD_PRIORITY_LOWEST, THREAD_PRIORITY_IDLE): Correct values for + Windows CE. + (THREAD_PRIORITY_ABOVE_IDLE): Define. + 2007-10-20 Jacek M. Holeczek <hol...@us...> * include/winuser.h (ChangeDisplaySettings): Define differently for CE than for other Windows versions. Modified: trunk/cegcc/src/w32api/include/winbase.h =================================================================== --- trunk/cegcc/src/w32api/include/winbase.h 2007-11-05 16:29:52 UTC (rev 1069) +++ trunk/cegcc/src/w32api/include/winbase.h 2007-11-14 22:45:10 UTC (rev 1070) @@ -258,6 +258,16 @@ #define GET_TAPE_DRIVE_INFORMATION 1 #define SET_TAPE_MEDIA_INFORMATION 0 #define SET_TAPE_DRIVE_INFORMATION 1 +#ifdef _WIN32_WCE +#define THREAD_PRIORITY_TIME_CRITICAL 0 +#define THREAD_PRIORITY_HIGHEST 1 +#define THREAD_PRIORITY_ABOVE_NORMAL 2 +#define THREAD_PRIORITY_NORMAL 3 +#define THREAD_PRIORITY_BELOW_NORMAL 4 +#define THREAD_PRIORITY_LOWEST 5 +#define THREAD_PRIORITY_ABOVE_IDLE 6 +#define THREAD_PRIORITY_IDLE 7 +#else #define THREAD_PRIORITY_ABOVE_NORMAL 1 #define THREAD_PRIORITY_BELOW_NORMAL (-1) #define THREAD_PRIORITY_HIGHEST 2 @@ -265,6 +275,7 @@ #define THREAD_PRIORITY_LOWEST (-2) #define THREAD_PRIORITY_NORMAL 0 #define THREAD_PRIORITY_TIME_CRITICAL 15 +#endif #define THREAD_PRIORITY_ERROR_RETURN 2147483647 #define TIME_ZONE_ID_UNKNOWN 0 #define TIME_ZONE_ID_STANDARD 1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2007-11-15 20:44:27
|
Revision: 1072 http://cegcc.svn.sourceforge.net/cegcc/?rev=1072&view=rev Author: dannybackx Date: 2007-11-15 12:44:25 -0800 (Thu, 15 Nov 2007) Log Message: ----------- 2007-11-15 Jacek M. Holeczek <hol...@us...> * include/aygshell.h (SHLoadImageFile, SHLoadImageResource) : Define. * include/sipapi.h (SipShowIM, SipGetCurrentIM, SipSetCurrentIM) : Define. 2007-11-15 Danny Backx <dan...@us...> * include/aygshell.h (SHCMBM_GETSUBMENU) : Define. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/aygshell.h trunk/cegcc/src/w32api/include/sipapi.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2007-11-15 20:11:34 UTC (rev 1071) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-11-15 20:44:25 UTC (rev 1072) @@ -1,3 +1,13 @@ +2007-11-15 Jacek M. Holeczek <hol...@us...> + + * include/aygshell.h (SHLoadImageFile, SHLoadImageResource) : Define. + * include/sipapi.h (SipShowIM, SipGetCurrentIM, SipSetCurrentIM) : + Define. + +2007-11-15 Danny Backx <dan...@us...> + + * include/aygshell.h (SHCMBM_GETSUBMENU) : Define. + 2007-11-14 Matthew Kille <ma...@am...> * include/winbase.h (THREAD_PRIORITY_TIME_CRITICAL) Modified: trunk/cegcc/src/w32api/include/aygshell.h =================================================================== --- trunk/cegcc/src/w32api/include/aygshell.h 2007-11-15 20:11:34 UTC (rev 1071) +++ trunk/cegcc/src/w32api/include/aygshell.h 2007-11-15 20:44:25 UTC (rev 1072) @@ -216,6 +216,18 @@ WINSHELLAPI DWORD SHRecognizeGesture(SHRGINFO *shrg); #endif +#if (_WIN32_WCE >= 0x0300) +/* + * http://www.docjar.com/html/api/org/eclipse/swt/internal/win32/OS.java.html + */ +#define SHCMBM_GETSUBMENU 0x0591 +#endif /* _WIN32_WCE */ + +#if (_WIN32_WCE >= 0x0400) +HBITMAP SHLoadImageFile(LPCTSTR pszFileName); +HBITMAP SHLoadImageResource(HINSTANCE hinst, UINT uIdImageFile); +#endif /* _WIN32_WCE >= 0x0300 */ + #ifdef __cplusplus } #endif Modified: trunk/cegcc/src/w32api/include/sipapi.h =================================================================== --- trunk/cegcc/src/w32api/include/sipapi.h 2007-11-15 20:11:34 UTC (rev 1071) +++ trunk/cegcc/src/w32api/include/sipapi.h 2007-11-15 20:44:25 UTC (rev 1072) @@ -49,8 +49,12 @@ int WINAPI SipEnumIM(IMENUMPROC); -#endif +BOOL WINAPI SipShowIM(DWORD); +BOOL WINAPI SipGetCurrentIM(CLSID *); +BOOL WINAPI SipSetCurrentIM(CLSID *); +#endif /* _WIN32_WCE >= 0x0201 */ + #ifdef __cplusplus } #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2007-11-16 16:31:23
|
Revision: 1073 http://cegcc.svn.sourceforge.net/cegcc/?rev=1073&view=rev Author: dannybackx Date: 2007-11-16 08:30:30 -0800 (Fri, 16 Nov 2007) Log Message: ----------- * include/shlwapi.h (PathCombine) : Define without W or A suffix for Windows CE. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/shlwapi.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2007-11-15 20:44:25 UTC (rev 1072) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-11-16 16:30:30 UTC (rev 1073) @@ -1,3 +1,8 @@ +2007-11-16 Danny Backx <dan...@us...> + + * include/shlwapi.h (PathCombine) : Define without W or A suffix for + Windows CE. + 2007-11-15 Jacek M. Holeczek <hol...@us...> * include/aygshell.h (SHLoadImageFile, SHLoadImageResource) : Define. Modified: trunk/cegcc/src/w32api/include/shlwapi.h =================================================================== --- trunk/cegcc/src/w32api/include/shlwapi.h 2007-11-15 20:44:25 UTC (rev 1072) +++ trunk/cegcc/src/w32api/include/shlwapi.h 2007-11-16 16:30:30 UTC (rev 1073) @@ -196,8 +196,12 @@ WINSHLWAPI LPWSTR WINAPI PathBuildRootW(LPWSTR,int); WINSHLWAPI BOOL WINAPI PathCanonicalizeA(LPSTR,LPCSTR); WINSHLWAPI BOOL WINAPI PathCanonicalizeW(LPWSTR,LPCWSTR); +#ifdef _WIN32_WCE +WINSHLWAPI LPWSTR WINAPI PathCombine(LPWSTR,LPCWSTR,LPCWSTR); +#else WINSHLWAPI LPSTR WINAPI PathCombineA(LPSTR,LPCSTR,LPCSTR); WINSHLWAPI LPWSTR WINAPI PathCombineW(LPWSTR,LPCWSTR,LPCWSTR); +#endif WINSHLWAPI int WINAPI PathCommonPrefixA(LPCSTR,LPCSTR,LPSTR); WINSHLWAPI int WINAPI PathCommonPrefixW(LPCWSTR,LPCWSTR,LPWSTR); WINSHLWAPI BOOL WINAPI PathCompactPathA(HDC,LPSTR,UINT); @@ -459,7 +463,9 @@ #define PathAppend PathAppendW #define PathBuildRoot PathBuildRootW #define PathCanonicalize PathCanonicalizeW +#ifndef _WIN32_WCE #define PathCombine PathCombineW +#endif #define PathCommonPrefix PathCommonPrefixW #define PathCompactPath PathCompactPathW #define PathCompactPathEx PathCompactPathExW This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2007-12-01 19:23:12
|
Revision: 1084 http://cegcc.svn.sourceforge.net/cegcc/?rev=1084&view=rev Author: dannybackx Date: 2007-12-01 11:23:11 -0800 (Sat, 01 Dec 2007) Log Message: ----------- See http://msdn2.microsoft.com/en-us/library/aa455811.aspx . 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 2007-11-29 22:04:30 UTC (rev 1083) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-12-01 19:23:11 UTC (rev 1084) @@ -1,3 +1,7 @@ +2007-12-01 Danny Backx <dan...@us...> + + * w32api/include/aygshell.h : Add SHInitExtraControls. + 2007-11-29 Danny Backx <dan...@us...> * w32api/include/cegcc.h.in : Add file to provide version tracking Modified: trunk/cegcc/src/w32api/include/aygshell.h =================================================================== --- trunk/cegcc/src/w32api/include/aygshell.h 2007-11-29 22:04:30 UTC (rev 1083) +++ trunk/cegcc/src/w32api/include/aygshell.h 2007-12-01 19:23:11 UTC (rev 1084) @@ -234,4 +234,8 @@ #endif /* _WIN32_WCE >= 400 */ +#if (_WIN32_WCE >= 0x0300) +BOOL SHInitExtraControls(void); +#endif + #endif /* _AYGSHELL_H */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2007-12-07 16:49:30
|
Revision: 1089 http://cegcc.svn.sourceforge.net/cegcc/?rev=1089&view=rev Author: dannybackx Date: 2007-12-07 08:49:29 -0800 (Fri, 07 Dec 2007) Log Message: ----------- New file. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce Added Paths: ----------- trunk/cegcc/src/w32api/include/icmpapi.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2007-12-07 16:47:19 UTC (rev 1088) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-12-07 16:49:29 UTC (rev 1089) @@ -1,3 +1,7 @@ +2007-12-07 Danny Backx <dan...@us...> + + * w32api/include/icmpapi.h : Add new file. + 2007-12-01 Danny Backx <dan...@us...> * w32api/include/aygshell.h : Add SHInitExtraControls. Added: trunk/cegcc/src/w32api/include/icmpapi.h =================================================================== --- trunk/cegcc/src/w32api/include/icmpapi.h (rev 0) +++ trunk/cegcc/src/w32api/include/icmpapi.h 2007-12-07 16:49:29 UTC (rev 1089) @@ -0,0 +1,25 @@ +/* + * icmpapi.h + */ +#ifndef _ICMPAPI_H_ +#define _ICMPAPI_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +HANDLE WINAPI IcmpCreateFile(void); +DWORD WINAPI IcmpSendEcho(HANDLE IcmpHandle, + IPAddr DestinationAddress, + LPVOID RequestData, + WORD RequestSize, + PIP_OPTION_INFORMATION RequestOptions, + LPVOID ReplyBuffer, + DWORD ReplySize, + DWORD Timeout); +BOOL WINAPI IcmpCloseHandle(HANDLE IcmpHandle); + +#ifdef __cplusplus +} +#endif +#endif /* _ICMPAPI_H_ */ Property changes on: trunk/cegcc/src/w32api/include/icmpapi.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: <dan...@us...> - 2007-12-21 07:53:46
|
Revision: 1094 http://cegcc.svn.sourceforge.net/cegcc/?rev=1094&view=rev Author: dannybackx Date: 2007-12-20 23:53:44 -0800 (Thu, 20 Dec 2007) Log Message: ----------- Add APP1..6 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 2007-12-17 02:49:57 UTC (rev 1093) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-12-21 07:53:44 UTC (rev 1094) @@ -1,3 +1,8 @@ +2007-12-21 Pavel Chernikov <pch...@gm...> + + * w32api/include/winuser.h (VK_APP1, VK_APP2, VK_APP3, VK_APP4, + VK_APP5, VK_APP6) : Define. + 2007-12-07 Danny Backx <dan...@us...> * w32api/include/icmpapi.h : Add new file. Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2007-12-17 02:49:57 UTC (rev 1093) +++ trunk/cegcc/src/w32api/include/winuser.h 2007-12-21 07:53:44 UTC (rev 1094) @@ -1962,6 +1962,12 @@ #endif #define VK_OEM_2 0xBF #define VK_OEM_3 0xC0 +#define VK_APP1 0xC1 +#define VK_APP2 0xC2 +#define VK_APP3 0xC3 +#define VK_APP4 0xC4 +#define VK_APP5 0xC5 +#define VK_APP6 0xC6 #define VK_OEM_4 0xDB #define VK_OEM_5 0xDC #define VK_OEM_6 0xDD This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2007-12-25 19:56:15
|
Revision: 1103 http://cegcc.svn.sourceforge.net/cegcc/?rev=1103&view=rev Author: pedroalves Date: 2007-12-25 11:56:09 -0800 (Tue, 25 Dec 2007) Log Message: ----------- * configure.in (SUBDIRS): Set depending on host, and pass it to the Makefile. * Makefile.in (SUBDIRS): Get from configure. * libce/Makefile.in: Hardcode CE conditions. * configure: Regenerate. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/Makefile.in trunk/cegcc/src/w32api/configure trunk/cegcc/src/w32api/configure.in trunk/cegcc/src/w32api/libce/Makefile.in Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2007-12-25 19:52:07 UTC (rev 1102) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-12-25 19:56:09 UTC (rev 1103) @@ -1,3 +1,11 @@ +2007-12-25 Pedro Alves <ped...@po...> + + * configure.in (SUBDIRS): Set depending on host, and pass it to + the Makefile. + * Makefile.in (SUBDIRS): Get from configure. + * libce/Makefile.in: Hardcode CE conditions. + * configure: Regenerate. + 2007-12-21 Pavel Chernikov <pch...@gm...> * include/winuser.h (VK_APP1, VK_APP2, VK_APP3, VK_APP4) Modified: trunk/cegcc/src/w32api/Makefile.in =================================================================== --- trunk/cegcc/src/w32api/Makefile.in 2007-12-25 19:52:07 UTC (rev 1102) +++ trunk/cegcc/src/w32api/Makefile.in 2007-12-25 19:56:09 UTC (rev 1103) @@ -14,6 +14,8 @@ srcdir = @srcdir@ VPATH = @srcdir@ +SUBDIRS = @SUBDIRS@ + build_alias = @build@ host_alias = @host@ target_alias = @target@ @@ -87,12 +89,6 @@ # end config section -ifneq (,$(findstring wince,$(target_alias))) - SUBDIRS = libce -else - SUBDIRS = lib -endif - PACKAGE = w32api VERSION = 3.8 CYGRELEASE = 1 Modified: trunk/cegcc/src/w32api/configure =================================================================== --- trunk/cegcc/src/w32api/configure 2007-12-25 19:52:07 UTC (rev 1102) +++ trunk/cegcc/src/w32api/configure 2007-12-25 19:56:09 UTC (rev 1103) @@ -272,7 +272,7 @@ PACKAGE_BUGREPORT= ac_unique_file="lib/scrnsave.c" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC ac_ct_CC CFLAGS with_cross_host AR ac_ct_AR AS ac_ct_AS RANLIB ac_ct_RANLIB LD ac_ct_LD DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES BUILDENV LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC ac_ct_CC CFLAGS with_cross_host AR ac_ct_AR AS ac_ct_AS RANLIB ac_ct_RANLIB LD ac_ct_LD DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES BUILDENV SUBDIRS LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -1998,6 +1998,16 @@ fi +case "${host}" in + *-mingw32ce* | *-cegcc*) + SUBDIRS="libce" + ;; + *) + SUBDIRS="lib" + ;; +esac + + ac_config_files="$ac_config_files Makefile lib/Makefile lib/ddk/Makefile lib/directx/Makefile libce/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -2670,6 +2680,7 @@ s,@WINDRES@,$WINDRES,;t t s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t s,@BUILDENV@,$BUILDENV,;t t +s,@SUBDIRS@,$SUBDIRS,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF Modified: trunk/cegcc/src/w32api/configure.in =================================================================== --- trunk/cegcc/src/w32api/configure.in 2007-12-25 19:52:07 UTC (rev 1102) +++ trunk/cegcc/src/w32api/configure.in 2007-12-25 19:56:09 UTC (rev 1103) @@ -50,4 +50,14 @@ fi AC_SUBST(BUILDENV) +case "${host}" in + *-mingw32ce* | *-cegcc*) + SUBDIRS="libce" + ;; + *) + SUBDIRS="lib" + ;; +esac +AC_SUBST(SUBDIRS) + AC_OUTPUT(Makefile lib/Makefile lib/ddk/Makefile lib/directx/Makefile libce/Makefile) Modified: trunk/cegcc/src/w32api/libce/Makefile.in =================================================================== --- trunk/cegcc/src/w32api/libce/Makefile.in 2007-12-25 19:52:07 UTC (rev 1102) +++ trunk/cegcc/src/w32api/libce/Makefile.in 2007-12-25 19:56:09 UTC (rev 1103) @@ -39,18 +39,8 @@ endif datadir = @datadir@ infodir = @infodir@ -ifneq (,$(findstring cygwin,$(target_alias))) -inst_includedir:=$(tooldir)/include/w32api -inst_libdir:=$(tooldir)/lib/w32api -else -ifneq (,$(findstring wince,$(target_alias))) inst_includedir:=$(tooldir)/include inst_libdir:=$(tooldir)/lib -else -inst_includedir:=$(includedir) -inst_libdir:=$(libdir) -endif -endif INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2007-12-25 23:12:18
|
Revision: 1116 http://cegcc.svn.sourceforge.net/cegcc/?rev=1116&view=rev Author: pedroalves Date: 2007-12-25 15:12:07 -0800 (Tue, 25 Dec 2007) Log Message: ----------- * configure.in (SUBDIRS): Set depending on $host_alias instead of on $host. * Makefile.in: Capture $build_alias, $host_alias, $target_alias verbatim from config. Capture $build, $host, $target from config. Set $tooldir using $host_alias, not $target_alias. * libce/Makefile.in: Get $build, $build_alias, $host, $host_alias, $target and $target_alias from config. Use $build, $host, $target instead of the aliases to detect a native build. Use $host_alias instead of $target_alias to set the $tooldir. * configure: Regenerate. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/Makefile.in trunk/cegcc/src/w32api/configure trunk/cegcc/src/w32api/configure.in trunk/cegcc/src/w32api/libce/Makefile.in Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2007-12-25 23:03:53 UTC (rev 1115) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-12-25 23:12:07 UTC (rev 1116) @@ -1,5 +1,18 @@ 2007-12-25 Pedro Alves <ped...@po...> + * configure.in (SUBDIRS): Set depending on $host_alias instead of + on $host. + * Makefile.in: Capture $build_alias, $host_alias, $target_alias + verbatim from config. Capture $build, $host, $target from config. + Set $tooldir using $host_alias, not $target_alias. + * libce/Makefile.in: Get $build, $build_alias, $host, $host_alias, + $target and $target_alias from config. Use $build, $host, $target + instead of the aliases to detect a native build. Use $host_alias + instead of $target_alias to set the $tooldir. + * configure: Regenerate. + +2007-12-25 Pedro Alves <ped...@po...> + * configure.in (SUBDIRS): Set depending on host, and pass it to the Makefile. * Makefile.in (SUBDIRS): Get from configure. Modified: trunk/cegcc/src/w32api/Makefile.in =================================================================== --- trunk/cegcc/src/w32api/Makefile.in 2007-12-25 23:03:53 UTC (rev 1115) +++ trunk/cegcc/src/w32api/Makefile.in 2007-12-25 23:12:07 UTC (rev 1116) @@ -16,9 +16,13 @@ SUBDIRS = @SUBDIRS@ -build_alias = @build@ -host_alias = @host@ -target_alias = @target@ +build = @build@ +build_alias = @build_alias@ +host = @host@ +host_alias = @host_alias@ +target = @target@ +target_alias = @target_alias@ + with_cross_host = @with_cross_host@ prefix = @prefix@ conf_prefix = @prefix@ @@ -27,7 +31,7 @@ exec_prefix = @exec_prefix@ bindir = @bindir@ libdir = @libdir@ -tooldir = $(exec_prefix)/$(target_alias) +tooldir = $(exec_prefix)/$(host_alias) datadir = @datadir@ infodir = @infodir@ includedir = @includedir@ @@ -81,6 +85,11 @@ inst_libdir="$(inst_libdir)" \ inst_docdir="$(inst_docdir)" \ prefix="$(prefix)" \ + build="$(build)" \ + build_alias="$(build_alias)" \ + host="$(host)" \ + host_alias="$(host_alias)" \ + target="$(target)" \ target_alias="$(target_alias)" \ TAR="$(TAR)" \ TARFLAGS="$(TARFLAGS)" \ Modified: trunk/cegcc/src/w32api/configure =================================================================== --- trunk/cegcc/src/w32api/configure 2007-12-25 23:03:53 UTC (rev 1115) +++ trunk/cegcc/src/w32api/configure 2007-12-25 23:12:07 UTC (rev 1116) @@ -1998,7 +1998,7 @@ fi -case "${host}" in +case "${host_alias}" in *-mingw32ce* | *-cegcc*) SUBDIRS="libce" ;; Modified: trunk/cegcc/src/w32api/configure.in =================================================================== --- trunk/cegcc/src/w32api/configure.in 2007-12-25 23:03:53 UTC (rev 1115) +++ trunk/cegcc/src/w32api/configure.in 2007-12-25 23:12:07 UTC (rev 1116) @@ -50,7 +50,7 @@ fi AC_SUBST(BUILDENV) -case "${host}" in +case "${host_alias}" in *-mingw32ce* | *-cegcc*) SUBDIRS="libce" ;; Modified: trunk/cegcc/src/w32api/libce/Makefile.in =================================================================== --- trunk/cegcc/src/w32api/libce/Makefile.in 2007-12-25 23:03:53 UTC (rev 1115) +++ trunk/cegcc/src/w32api/libce/Makefile.in 2007-12-25 23:12:07 UTC (rev 1116) @@ -18,9 +18,13 @@ SUBDIRS := subdirs := -host_alias = @host@ -build_alias = @build@ -target_alias = @target@ +build = @build@ +build_alias = @build_alias@ +host = @host@ +host_alias = @host_alias@ +target = @target@ +target_alias = @target_alias@ + prefix = @prefix@ includedir:=@includedir@ @@ -28,14 +32,14 @@ exec_prefix = @exec_prefix@ libdir:=@libdir@ bindir = @bindir@ -ifeq ($(target_alias),$(host_alias)) -ifeq ($(build_alias),$(host_alias)) +ifeq ($(target),$(host)) +ifeq ($(build),$(host)) tooldir:=$(exec_prefix) else -tooldir:=$(exec_prefix)/$(target_alias) +tooldir:=$(exec_prefix)/$(host_alias) endif else -tooldir:=$(exec_prefix)/$(target_alias) +tooldir:=$(exec_prefix)/$(host_alias) endif datadir = @datadir@ infodir = @infodir@ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-01-06 10:06:05
|
Revision: 1124 http://cegcc.svn.sourceforge.net/cegcc/?rev=1124&view=rev Author: dannybackx Date: 2008-01-06 02:06:01 -0800 (Sun, 06 Jan 2008) Log Message: ----------- Add some work I had left uncommitted for a while, augmented with remarks from http://www.bradwich.com. 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 2008-01-06 10:03:31 UTC (rev 1123) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2008-01-06 10:06:01 UTC (rev 1124) @@ -1,3 +1,9 @@ +2008-01-06 Danny Backx <dan...@us...> + + * include/aygshell.h (SIPSTATE,SHSipPreference): Define. + * include/aygshell.h (SIPINFO): Define. + * include/aygshell.h (SHCMBM_GETSUBMENU,SETSUBMENU): Define. + 2007-12-25 Pedro Alves <ped...@po...> * configure.in (SUBDIRS): Set depending on $host_alias instead of Modified: trunk/cegcc/src/w32api/include/aygshell.h =================================================================== --- trunk/cegcc/src/w32api/include/aygshell.h 2008-01-06 10:03:31 UTC (rev 1123) +++ trunk/cegcc/src/w32api/include/aygshell.h 2008-01-06 10:06:01 UTC (rev 1124) @@ -80,6 +80,18 @@ extern BOOL SHHandleWMSettingChange(HWND, WPARAM, LPARAM, SHACTIVATEINFO *); extern BOOL SHHandleWMActivate(HWND, WPARAM, LPARAM, SHACTIVATEINFO *, DWORD); +/* + * Query the SIP state + */ +typedef struct SIPINFO { + DWORD cbSize; + DWORD fdwFlags; + RECT rcVisibleDesktop; + RECT rcSipRect; + DWORD dwImDataSize; + void *pvImData; +} SIPINFO, *PSIPINFO; + #define SPI_SETCOMPLETIONINFO 223 #define SPI_SETSIPINFO 224 #define SPI_GETSIPINFO 225 @@ -94,6 +106,19 @@ #define SIPF_DOCKED 2 #define SIPF_LOCKED 4 +#if (_WIN32_WCE >= 0x0300) +typedef enum +{ + SIP_UP = 0, + SIP_DOWN, + SIP_FORCEDOWN, + SIP_UNCHANGED, + SIP_INPUTDIALOG +} SIPSTATE; + +WINSHELLAPI BOOL WINAPI SHSipPreference (HWND hWnd, SIPSTATE st); +#endif /* _WIN32_WCE >= 0x0300 */ + /* * Work with the PocketPC "New" menu. */ @@ -220,7 +245,9 @@ /* * http://www.docjar.com/html/api/org/eclipse/swt/internal/win32/OS.java.html */ +#define SHCMBM_SETSUBMENU 0x0590 #define SHCMBM_GETSUBMENU 0x0591 +#define SHCMBM_GETMENU 0x0592 #endif /* _WIN32_WCE */ #if (_WIN32_WCE >= 0x0400) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-01-09 19:58:50
|
Revision: 1127 http://cegcc.svn.sourceforge.net/cegcc/?rev=1127&view=rev Author: dannybackx Date: 2008-01-09 11:58:46 -0800 (Wed, 09 Jan 2008) Log Message: ----------- Auch, this previous commit contains duplicates with another file. 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 2008-01-08 01:08:58 UTC (rev 1126) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2008-01-09 19:58:46 UTC (rev 1127) @@ -1,3 +1,7 @@ +2008-01-09 Danny Backx <dan...@us...> + + * include/aygshell.h (SIPINFO): Remove, this was a duplicate. + 2008-01-06 Danny Backx <dan...@us...> * include/aygshell.h (SIPSTATE,SHSipPreference): Define. Modified: trunk/cegcc/src/w32api/include/aygshell.h =================================================================== --- trunk/cegcc/src/w32api/include/aygshell.h 2008-01-08 01:08:58 UTC (rev 1126) +++ trunk/cegcc/src/w32api/include/aygshell.h 2008-01-09 19:58:46 UTC (rev 1127) @@ -80,32 +80,6 @@ extern BOOL SHHandleWMSettingChange(HWND, WPARAM, LPARAM, SHACTIVATEINFO *); extern BOOL SHHandleWMActivate(HWND, WPARAM, LPARAM, SHACTIVATEINFO *, DWORD); -/* - * Query the SIP state - */ -typedef struct SIPINFO { - DWORD cbSize; - DWORD fdwFlags; - RECT rcVisibleDesktop; - RECT rcSipRect; - DWORD dwImDataSize; - void *pvImData; -} SIPINFO, *PSIPINFO; - -#define SPI_SETCOMPLETIONINFO 223 -#define SPI_SETSIPINFO 224 -#define SPI_GETSIPINFO 225 -#define SPI_SETCURRENTIM 226 -#define SPI_GETCURRENTIM 227 -#define SPI_APPBUTTONCHANGE 228 -#define SPI_RESERVED 229 -#define SPI_SYNCSETTINGSCHANGE 230 - -#define SIPF_OFF 0 -#define SIPF_ON 1 -#define SIPF_DOCKED 2 -#define SIPF_LOCKED 4 - #if (_WIN32_WCE >= 0x0300) typedef enum { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-02-17 17:00:40
|
Revision: 1140 http://cegcc.svn.sourceforge.net/cegcc/?rev=1140&view=rev Author: dannybackx Date: 2008-02-17 09:00:23 -0800 (Sun, 17 Feb 2008) Log Message: ----------- * include/aygshell.h (SHInitExtraControls): Move into the extern "C" construction. * include/aygshell.h (SHDoneButton, WS_NONAVDONEBUTTON, SHDB_SHOW, SHDB_HIDE): Define. 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 2008-02-08 22:28:01 UTC (rev 1139) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2008-02-17 17:00:23 UTC (rev 1140) @@ -1,3 +1,10 @@ +2008-02-17 Danny Backx <dan...@us...> + + * include/aygshell.h (SHInitExtraControls): Move into the extern "C" + construction. + * include/aygshell.h (SHDoneButton, WS_NONAVDONEBUTTON, SHDB_SHOW, + SHDB_HIDE): Define. + 2008-01-09 Danny Backx <dan...@us...> * include/aygshell.h (SIPINFO): Remove, this was a duplicate. Modified: trunk/cegcc/src/w32api/include/aygshell.h =================================================================== --- trunk/cegcc/src/w32api/include/aygshell.h 2008-02-08 22:28:01 UTC (rev 1139) +++ trunk/cegcc/src/w32api/include/aygshell.h 2008-02-17 17:00:23 UTC (rev 1140) @@ -5,16 +5,16 @@ #pragma GCC system_header #endif +#ifdef __cplusplus +extern "C" { +#endif + #if _WIN32_WCE >= 400 #include <windows.h> #include <basetyps.h> /* Make sure we have a CLSID definition */ #include <shellapi.h> /* for WINSHELLAPI */ -#ifdef __cplusplus -extern "C" { -#endif - /* * Menu Bar */ @@ -229,14 +229,21 @@ HBITMAP SHLoadImageResource(HINSTANCE hinst, UINT uIdImageFile); #endif /* _WIN32_WCE >= 0x0300 */ -#ifdef __cplusplus -} -#endif - #endif /* _WIN32_WCE >= 400 */ #if (_WIN32_WCE >= 0x0300) BOOL SHInitExtraControls(void); + +#define WS_NONAVDONEBUTTON WS_MINIMIZEBOX + +BOOL SHDoneButton(HWND, DWORD); +#define SHDB_SHOW 1 +#define SHDB_HIDE 2 + +#endif /* _WIN32_WCE >= 0x0300 */ + +#ifdef __cplusplus +} #endif #endif /* _AYGSHELL_H */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-02-21 20:18:47
|
Revision: 1141 http://cegcc.svn.sourceforge.net/cegcc/?rev=1141&view=rev Author: dannybackx Date: 2008-02-21 12:14:24 -0800 (Thu, 21 Feb 2008) Log Message: ----------- Add VER_PLATFORM_WIN32_CE 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 2008-02-17 17:00:23 UTC (rev 1140) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2008-02-21 20:14:24 UTC (rev 1141) @@ -1,3 +1,7 @@ +2008-02-21 Danny Backx <dan...@us...> + + * include/winnt.h (VER_PLATFORM_WIN32_CE): Define. + 2008-02-17 Danny Backx <dan...@us...> * include/aygshell.h (SHInitExtraControls): Move into the extern "C" Modified: trunk/cegcc/src/w32api/include/winnt.h =================================================================== --- trunk/cegcc/src/w32api/include/winnt.h 2008-02-17 17:00:23 UTC (rev 1140) +++ trunk/cegcc/src/w32api/include/winnt.h 2008-02-21 20:14:24 UTC (rev 1141) @@ -1664,6 +1664,7 @@ #define VER_PLATFORM_WIN32s 0 #define VER_PLATFORM_WIN32_WINDOWS 1 #define VER_PLATFORM_WIN32_NT 2 +#define VER_PLATFORM_WIN32_CE 3 #define VER_NT_WORKSTATION 1 #define VER_NT_DOMAIN_CONTROLLER 2 #define VER_NT_SERVER 3 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-04-13 10:56:24
|
Revision: 1156 http://cegcc.svn.sourceforge.net/cegcc/?rev=1156&view=rev Author: dannybackx Date: 2008-04-13 03:56:22 -0700 (Sun, 13 Apr 2008) Log Message: ----------- Add include <sipapi.h> 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 2008-03-29 13:30:52 UTC (rev 1155) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2008-04-13 10:56:22 UTC (rev 1156) @@ -1,3 +1,7 @@ +2008-04-13 Danny Backx <dan...@us...> + + * include/aygshell.h: Add <sipapi.h> include. + 2008-02-21 Danny Backx <dan...@us...> * include/winnt.h (VER_PLATFORM_WIN32_CE): Define. Modified: trunk/cegcc/src/w32api/include/aygshell.h =================================================================== --- trunk/cegcc/src/w32api/include/aygshell.h 2008-03-29 13:30:52 UTC (rev 1155) +++ trunk/cegcc/src/w32api/include/aygshell.h 2008-04-13 10:56:22 UTC (rev 1156) @@ -14,6 +14,7 @@ #include <windows.h> #include <basetyps.h> /* Make sure we have a CLSID definition */ #include <shellapi.h> /* for WINSHELLAPI */ +#include <sipapi.h> /* * Menu Bar This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-04-13 13:12:55
|
Revision: 1157 http://cegcc.svn.sourceforge.net/cegcc/?rev=1157&view=rev Author: dannybackx Date: 2008-04-13 06:12:49 -0700 (Sun, 13 Apr 2008) Log Message: ----------- Add a file required for roadmap_editor, definitions from MSDN. Also two definitions in other files. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/aygshell.h trunk/cegcc/src/w32api/include/commctrl.h Added Paths: ----------- trunk/cegcc/src/w32api/include/notify.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2008-04-13 10:56:22 UTC (rev 1156) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2008-04-13 13:12:49 UTC (rev 1157) @@ -1,5 +1,11 @@ 2008-04-13 Danny Backx <dan...@us...> + * include/notify.h: Add. + * include/aygshell.h (SHSetAppKeyWndAssoc): Define. + * include/commctrl (CommandBar_AddButtons): Define. + +2008-04-13 Danny Backx <dan...@us...> + * include/aygshell.h: Add <sipapi.h> include. 2008-02-21 Danny Backx <dan...@us...> Modified: trunk/cegcc/src/w32api/include/aygshell.h =================================================================== --- trunk/cegcc/src/w32api/include/aygshell.h 2008-04-13 10:56:22 UTC (rev 1156) +++ trunk/cegcc/src/w32api/include/aygshell.h 2008-04-13 13:12:49 UTC (rev 1157) @@ -241,6 +241,7 @@ #define SHDB_SHOW 1 #define SHDB_HIDE 2 +BOOL SHSetAppKeyWndAssoc(BYTE bVk, HWND hwnd); #endif /* _WIN32_WCE >= 0x0300 */ #ifdef __cplusplus Modified: trunk/cegcc/src/w32api/include/commctrl.h =================================================================== --- trunk/cegcc/src/w32api/include/commctrl.h 2008-04-13 10:56:22 UTC (rev 1156) +++ trunk/cegcc/src/w32api/include/commctrl.h 2008-04-13 13:12:49 UTC (rev 1157) @@ -3750,6 +3750,7 @@ COMMCTRLAPI HMENU WINAPI CommandBar_GetMenu(HWND,WORD); COMMCTRLAPI BOOL WINAPI CommandBar_AddAdornments(HWND,DWORD,DWORD); COMMCTRLAPI int WINAPI CommandBar_Height(HWND); +BOOL CommandBar_AddButtons(HWND hwndCB, UINT uNumButtons, LPTBBUTTON lpButtons); #define CommandBar_InsertButton(hwnd,i,lptbbutton) ((BOOL)SendMessage((hwnd),TB_INSERTBUTTON,(i),(lptbbutton))) #define CommandBar_Destroy(hwnd) ((void)DestroyWindow(hwnd)) Added: trunk/cegcc/src/w32api/include/notify.h =================================================================== --- trunk/cegcc/src/w32api/include/notify.h (rev 0) +++ trunk/cegcc/src/w32api/include/notify.h 2008-04-13 13:12:49 UTC (rev 1157) @@ -0,0 +1,101 @@ +/* + * The notify component supports the Windows CE event notification system. + */ +#ifndef _NOTIFY_H_ +#define _NOTIFY_H_ + +#if __GNUC__ >= 3 +#pragma GCC system_header +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef _WIN32_WCE /* Valid from Windows CE 1.01 and later */ + +typedef struct UserNotificationType { + DWORD ActionFlags; + wchar_t *pwszDialogTitle; + wchar_t *pwszDialogText; + wchar_t *pwszSound; + DWORD nMaxSound; + DWORD dwReserved; +} CE_USER_NOTIFICATION, *PCE_USER_NOTIFICATION; + +typedef struct UserNotificationTrigger { + DWORD dwSize; + DWORD dwType; + DWORD dwEvent; + WCHAR *lpszApplication; + WCHAR *lpszArguments; + SYSTEMTIME stStartTime; + SYSTEMTIME stEndTime; +} CE_NOTIFICATION_TRIGGER, *PCE_NOTIFICATION_TRIGGER; + +/* Flags for ActionFlags. Values from forums.microsoft.com. */ +#define PUN_LED 1 /* ? */ +#define PUN_VIBRATE 2 /* ? */ +#define PUN_DIALOG 4 /* ? */ +#define PUN_SOUND 8 /* ? */ +#define PUN_REPEAT 16 /* ? */ +#define PUN_PRIVATE 32 /* ? */ + +/* Values for lWhichEvent in CeRunAppAtEvent */ +#define NOTIFICATION_EVENT_NONE 0 /* ? */ +#define NOTIFICATION_EVENT_TIME_CHANGE 1 /* ? */ +#define NOTIFICATION_EVENT_SYNC_END 2 /* ? */ +#define NOTIFICATION_EVENT_ON_AC_POWER 3 /* ? */ +#define NOTIFICATION_EVENT_OFF_AC_POWER 4 /* ? */ +#define NOTIFICATION_EVENT_NET_CONNECT 5 /* ? */ +#define NOTIFICATION_EVENT_NET_DISCONNECT 6 /* ? */ +#define NOTIFICATION_EVENT_DEVICE_CHANGE 7 /* ? */ +#define NOTIFICATION_EVENT_IR_DISCOVERED 8 /* ? */ +#define NOTIFICATION_EVENT_RS232_DETECTED 9 /* ? */ +#define NOTIFICATION_EVENT_RESTORE_END 10 /* ? */ +#define NOTIFICATION_EVENT_WAKEUP 11 /* ? */ +#define NOTIFICATION_EVENT_TZ_CHANGE 12 /* ? */ +#define NOTIFICATION_EVENT_MACHINE_NAME_CHANGE 13 /* ? */ + +/* Command line values */ +#define APP_RUN_AFTER_EXTENDED_EVENT L"AppRunAfterExtendedEvent" +#define APP_RUN_AFTER_SYNC L"AppRunAfterSync" +#define APP_RUN_AFTER_TZ_CHANGE L"AppRunAfterTzChange" +#define APP_RUN_AFTER_WAKEUP L"AppRunAfterWakeup" +#define APP_RUN_AT_AC_POWER_ON L"AppRunAtAcPowerOn" +#define APP_RUN_AT_AC_POWER_OFF L"AppRunAtAcPowerOff" +#define APP_RUN_AT_NET_CONNECT L"AppRunAtNetConnect" +#define APP_RUN_AT_NET_DISCONNECT L"AppRunAtNetDisconnect" +#define APP_RUN_AT_DEVICE_CHANGE L"AppRunDeviceChange" +#define APP_RUN_AT_IR_DISCOVERY L"AppRunAtIrDiscovery" +#define APP_RUN_AT_RS232_DETECT L"AppRunAtRs232Detect" +#define APP_RUN_AFTER_RESTORE L"AppRunAfterRestore" + +BOOL CeClearUserNotification (HANDLE hNotification); +BOOL CeGetUserNotification (HANDLE hNotification, + DWORD cBufferSize, + LPDWORD pcBytesNeeded, + LPBYTE pBuffer); +BOOL CeGetUserNotificationHandles (HANDLE* rghNotifications, + DWORD cHandles, + LPDWORD pcHandlesNeeded); +BOOL CeGetUserNotificationPreferences (HWND hWndParent, + PCE_USER_NOTIFICATION lpNotification); +BOOL CeHandleAppNotifications (wchar_t *pwszAppName); +BOOL CeRunAppAtEvent (wchar_t *pwszAppName, LONG lWhichEvent); +BOOL CeRunAppAtTime (wchar_t *pwszAppName, SYSTEMTIME* lpTime); +HANDLE CeSetUserNotification (HANDLE hNotification, + wchar_t *pwszAppName, + SYSTEMTIME* lpTime, + PCE_USER_NOTIFICATION lpUserNotification); +HANDLE CeSetUserNotificationEx (HANDLE hNotification, + CE_NOTIFICATION_TRIGGER *pcnt, + CE_USER_NOTIFICATION* pceun); + +#endif /* _WIN32_WCE */ + +#ifdef __cplusplus +} +#endif + +#endif /* _NOTIFY_H_ */ Property changes on: trunk/cegcc/src/w32api/include/notify.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: <dan...@us...> - 2008-04-13 13:31:36
|
Revision: 1158 http://cegcc.svn.sourceforge.net/cegcc/?rev=1158&view=rev Author: dannybackx Date: 2008-04-13 06:31:27 -0700 (Sun, 13 Apr 2008) Log Message: ----------- Define SystemIdleTimerReset. 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 2008-04-13 13:12:49 UTC (rev 1157) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2008-04-13 13:31:27 UTC (rev 1158) @@ -1,5 +1,9 @@ 2008-04-13 Danny Backx <dan...@us...> + * include/winuser.h (SystemIdleTimerReset): Define. + +2008-04-13 Danny Backx <dan...@us...> + * include/notify.h: Add. * include/aygshell.h (SHSetAppKeyWndAssoc): Define. * include/commctrl (CommandBar_AddButtons): Define. Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2008-04-13 13:12:49 UTC (rev 1157) +++ trunk/cegcc/src/w32api/include/winuser.h 2008-04-13 13:31:27 UTC (rev 1158) @@ -4106,6 +4106,9 @@ #if (_WIN32_WINNT >= 0x0501) WINUSERAPI BOOL WINAPI GetLayeredWindowAttributes(HWND,COLORREF*,BYTE*,DWORD*); #endif +#if (_WIN32_WCE >= 0x0200) +WINUSERAPI void WINAPI SystemIdleTimerReset(void); +#endif #ifdef UNICODE #define EDITWORDBREAKPROC EDITWORDBREAKPROCW #define PROPENUMPROC PROPENUMPROCW This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-04-27 09:47:49
|
Revision: 1159 http://cegcc.svn.sourceforge.net/cegcc/?rev=1159&view=rev Author: dannybackx Date: 2008-04-27 02:39:53 -0700 (Sun, 27 Apr 2008) Log Message: ----------- Changes to help compile Roadmap. * include/commctrl.h (CommandBar_AddButtons): Change from a function definition into a macro. * include/prsht.h (PSH_MAXIMIZE): Define. * include/winioctl.h (FILE_DEVICE_HAL, FILE_DEVICE_SERVICE, IOCTL_SERVICE_START, IOCTL_SERVICE_STOP, IOCTL_SERVICE_STATUS, IOCTL_SERVICE_CONNECTION): Define. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/commctrl.h trunk/cegcc/src/w32api/include/prsht.h trunk/cegcc/src/w32api/include/winioctl.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2008-04-13 13:31:27 UTC (rev 1158) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2008-04-27 09:39:53 UTC (rev 1159) @@ -1,12 +1,21 @@ 2008-04-13 Danny Backx <dan...@us...> + * include/commctrl.h (CommandBar_AddButtons): Change from a + function definition into a macro. + * include/prsht.h (PSH_MAXIMIZE): Define. + * include/winioctl.h (FILE_DEVICE_HAL, FILE_DEVICE_SERVICE, + IOCTL_SERVICE_START, IOCTL_SERVICE_STOP, IOCTL_SERVICE_STATUS, + IOCTL_SERVICE_CONNECTION): Define. + +2008-04-13 Danny Backx <dan...@us...> + * include/winuser.h (SystemIdleTimerReset): Define. 2008-04-13 Danny Backx <dan...@us...> * include/notify.h: Add. * include/aygshell.h (SHSetAppKeyWndAssoc): Define. - * include/commctrl (CommandBar_AddButtons): Define. + * include/commctrl.h (CommandBar_AddButtons): Define. 2008-04-13 Danny Backx <dan...@us...> Modified: trunk/cegcc/src/w32api/include/commctrl.h =================================================================== --- trunk/cegcc/src/w32api/include/commctrl.h 2008-04-13 13:31:27 UTC (rev 1158) +++ trunk/cegcc/src/w32api/include/commctrl.h 2008-04-27 09:39:53 UTC (rev 1159) @@ -3750,9 +3750,13 @@ COMMCTRLAPI HMENU WINAPI CommandBar_GetMenu(HWND,WORD); COMMCTRLAPI BOOL WINAPI CommandBar_AddAdornments(HWND,DWORD,DWORD); COMMCTRLAPI int WINAPI CommandBar_Height(HWND); -BOOL CommandBar_AddButtons(HWND hwndCB, UINT uNumButtons, LPTBBUTTON lpButtons); -#define CommandBar_InsertButton(hwnd,i,lptbbutton) ((BOOL)SendMessage((hwnd),TB_INSERTBUTTON,(i),(lptbbutton))) +#define CommandBar_AddButtons(h, cb, lp) \ + SendMessage((h), TB_ADDBUTTONS, (WPARAM)(cb), (LPARAM)(lp)) + + +#define CommandBar_InsertButton(hwnd,i,lptbbutton) \ + ((BOOL)SendMessage((hwnd),TB_INSERTBUTTON,(i),(lptbbutton))) #define CommandBar_Destroy(hwnd) ((void)DestroyWindow(hwnd)) #endif /* _WIN32_WCE */ Modified: trunk/cegcc/src/w32api/include/prsht.h =================================================================== --- trunk/cegcc/src/w32api/include/prsht.h 2008-04-13 13:31:27 UTC (rev 1158) +++ trunk/cegcc/src/w32api/include/prsht.h 2008-04-27 09:39:53 UTC (rev 1159) @@ -26,32 +26,36 @@ #endif #define PSPCB_RELEASE 1 #define PSPCB_CREATE 2 -#define PSH_DEFAULT 0 -#define PSH_PROPTITLE 1 -#define PSH_USEHICON 2 -#define PSH_USEICONID 4 -#define PSH_PROPSHEETPAGE 8 -#define PSH_WIZARDHASFINISH 16 -#define PSH_WIZARD 32 -#define PSH_USEPSTARTPAGE 64 -#define PSH_NOAPPLYNOW 128 -#define PSH_USECALLBACK 256 -#define PSH_HASHELP 512 -#define PSH_MODELESS 1024 -#define PSH_RTLREADING 2048 -#define PSH_WIZARDCONTEXTHELP 4096 + +#define PSH_DEFAULT 0x0000 +#define PSH_PROPTITLE 0x0001 +#define PSH_USEHICON 0x0002 +#define PSH_USEICONID 0x0004 +#define PSH_PROPSHEETPAGE 0x0008 +#define PSH_WIZARDHASFINISH 0x0010 +#define PSH_WIZARD 0x0020 +#define PSH_USEPSTARTPAGE 0x0040 +#define PSH_NOAPPLYNOW 0x0080 +#define PSH_USECALLBACK 0x0100 +#define PSH_HASHELP 0x0200 +#define PSH_MODELESS 0x0400 +#define PSH_RTLREADING 0x0800 +#define PSH_WIZARDCONTEXTHELP 0x1000 +#ifdef _WIN32_IE +#define PSH_MAXIMIZE 0x2000 /* ?? */ +#endif #if (_WIN32_IE >= 0x0400) -#define PSH_WATERMARK 32768 -#define PSH_USEHBMWATERMARK 65536 -#define PSH_USEHPLWATERMARK 131072 -#define PSH_STRETCHWATERMARK 262144 -#define PSH_HEADER 524288 -#define PSH_USEHBMHEADER 1048576 -#define PSH_USEPAGELANG 2097152 +#define PSH_WATERMARK 0x4000 +#define PSH_USEHBMWATERMARK 0x010000 +#define PSH_USEHPLWATERMARK 0x020000 +#define PSH_STRETCHWATERMARK 0x040000 +#define PSH_HEADER 0x080000 +#define PSH_USEHBMHEADER 0x100000 +#define PSH_USEPAGELANG 0x200000 #if (_WIN32_IE < 0x0500) -#define PSH_WIZARD97 0x00002000 +#define PSH_WIZARD97 0x00002000 #else -#define PSH_WIZARD97 0x01000000 +#define PSH_WIZARD97 0x01000000 #endif #endif /* _WIN32_IE >= 0x0400 */ #if (_WIN32_IE >= 0x0500) Modified: trunk/cegcc/src/w32api/include/winioctl.h =================================================================== --- trunk/cegcc/src/w32api/include/winioctl.h 2008-04-13 13:31:27 UTC (rev 1158) +++ trunk/cegcc/src/w32api/include/winioctl.h 2008-04-27 09:39:53 UTC (rev 1159) @@ -548,6 +548,21 @@ ((t&PARTITION_NTFT)&&((t&~VALID_NTFT)==PARTITION_XINT13_EXTENDED))||\ ((t&~PARTITION_NTFT)==PARTITION_EXTENDED)||\ ((t&~PARTITION_NTFT)==PARTITION_XINT13_EXTENDED)) + +#if defined(_WIN32_WCE) +#define FILE_DEVICE_HAL 0x0101 +#define FILE_DEVICE_SERVICE 0x0104 + +#define IOCTL_SERVICE_START \ + CTL_CODE(FILE_DEVICE_SERVICE, 1, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERVICE_STOP \ + CTL_CODE(FILE_DEVICE_SERVICE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERVICE_STATUS \ + CTL_CODE(FILE_DEVICE_SERVICE, 8, METHOD_BUFFERED, FILE_ANY_ACCESS) +#define IOCTL_SERVICE_CONNECTION \ + CTL_CODE(FILE_DEVICE_SERVICE, 13, METHOD_BUFFERED, FILE_ANY_ACCESS) +#endif /* _WIN32_WCE */ + #ifdef __cplusplus } #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-05-22 19:49:35
|
Revision: 1161 http://cegcc.svn.sourceforge.net/cegcc/?rev=1161&view=rev Author: dannybackx Date: 2008-05-22 12:49:18 -0700 (Thu, 22 May 2008) Log Message: ----------- Add new include to descript FindFirstFlashCard() and FindNextFlashCard() which are now used by roadmap. All definitions are on MSDN. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce Added Paths: ----------- trunk/cegcc/src/w32api/include/projects.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2008-05-11 15:51:40 UTC (rev 1160) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2008-05-22 19:49:18 UTC (rev 1161) @@ -1,3 +1,7 @@ +2008-05-22 Danny Backx <dan...@us...> + + * include/projects.h: Add. + 2008-04-13 Danny Backx <dan...@us...> * include/commctrl.h (CommandBar_AddButtons): Change from a function definition into a macro. Added: trunk/cegcc/src/w32api/include/projects.h =================================================================== --- trunk/cegcc/src/w32api/include/projects.h (rev 0) +++ trunk/cegcc/src/w32api/include/projects.h 2008-05-22 19:49:18 UTC (rev 1161) @@ -0,0 +1,78 @@ +/* + * Definition of File and Application Management API. + * These are the APIs for finding flash cards and project files. + * + * You'll need to link -lnote_prj for this. + */ +#ifndef _PROJECT_H_ +#define _PROJECT_H_ + +#if __GNUC__ >= 3 +#pragma GCC system_header +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#if _WIN32_WCE >= 300 + +#include <windows.h> + +#define PA_MAX_PATHNAME 96 + +typedef enum EFileIDType { + FILE_ID_TYPE_OID = 0, + FILE_ID_TYPE_PATH = 1, + FILE_ID_LAST = 2 +} EFileIDType; + +typedef struct PAstruct { + EFileIDType m_IDtype; + union { + /* CEOID m_fileOID; */ + TCHAR m_szPathname[PA_MAX_PATHNAME]; + }; +} PAstruct; + +typedef BOOL (CALLBACK *EnumProjectsCallback)(DWORD dwOid, LPARAM lParam); +typedef BOOL (CALLBACK *EnumProjectsFilesExCallback)(PAstruct * pPA, LPARAM lParam); +typedef BOOL (CALLBACK *EnumProjectsExCallback)(PAstruct* pPA, LPARAM lParam); + +BOOL FindNextFlashCard(HANDLE hFlashCard, + LPWIN32_FIND_DATA lpFindFlashData); +HANDLE FindFirstFlashCard(LPWIN32_FIND_DATA lpFindFlashData); +int EnumProjects(EnumProjectsCallback lpEnumProc, + DWORD dwOidFlash, + DWORD dwFlags, + LPARAM lParam); +int EnumProjectsEx(EnumProjectsExCallback pfnEnumProc, + DWORD dwOidFlash, + DWORD dwFlags, + LPARAM lParam); +int EnumProjectsFiles(EnumProjectsCallback lpEnumProc, + DWORD dwOidFlash, + DWORD dwFlags, + LPTSTR lpszProj, + LPTSTR lpszFileName, + LPARAM lParam); +int EnumProjectsFilesEx (EnumProjectsFilesExCallback pfnEnumProc, + DWORD dwOidFlash, + DWORD dwFlags, + LPTSTR szProj, + LPTSTR szFileName, + LPARAM lParam); +HANDLE FindFirstProjectFile(LPCTSTR lpFileName, + LPWIN32_FIND_DATA lpFindFileData, + DWORD dwOidFlash, + LPTSTR lpszProj); +BOOL FindNextProjectFile(HANDLE hHandle, LPWIN32_FIND_DATA lpFindProjData); + +#define PRJ_ENUM_MEMORY 0x1 +#define PRJ_ENUM_FLASH 0x2 +#define PRJ_ENUM_ALL_DEVICES 0x4 +#define PRJ_ENUM_ALL_PROJ 0x10 +#define PRJ_ENUM_HOME_PROJ 0x100 + +#endif /* _WIN32_WCE */ +#endif /* _PROJECT_H_ */ Property changes on: trunk/cegcc/src/w32api/include/projects.h ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |