Bugs item #2328033, was opened at 2008-11-22 19:00
Message generated for change (Comment added) made by dannybackx
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=865514&aid=2328033&group_id=173455

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: w32api
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Danny Backx (dannybackx)
Summary: declare SetProp/GetProp/RemoveProp on WinCE

Initial Comment:
Into winuser.h for WinCE remove SetPropW/GetPropW/RemovePropW functions 
declarations and add SetProp/GetProp/RemoveProp functions.



----------------------------------------------------------------------

>Comment By: Danny Backx (dannybackx)
Date: 2009-04-28 16:29

Message:
Fixed, hopefully in the right way.

----------------------------------------------------------------------

Comment By: Danny Backx (dannybackx)
Date: 2008-12-18 08:15

Message:
What exactly needs to be done ?

One possibility is below, this means no SetProp and friends before WinCE
4.0, and as you indicated only the SetProp, not the A or W versions.

dannypc: {11} svn diff winuser.h
Index: winuser.h
===================================================================
--- winuser.h   (revision 1158)
+++ winuser.h   (working copy)
@@ -3988,8 +3988,12 @@
 WINUSERAPI BOOL WINAPI SetProcessDefaultLayout(DWORD);
 #endif /* (_WIN32_WINNT >= 0x0500) */
 WINUSERAPI BOOL WINAPI SetProcessWindowStation(HWINSTA);
+#if _WIN32_WCE >= 0x0400
+WINUSERAPI BOOL WINAPI SetProp(HWND,LPCSTR,HANDLE);
+#else
 WINUSERAPI BOOL WINAPI SetPropA(HWND,LPCSTR,HANDLE);
 WINUSERAPI BOOL WINAPI SetPropW(HWND,LPCWSTR,HANDLE);
+#endif
 WINUSERAPI BOOL WINAPI SetRect(LPRECT,int,int,int,int);
 WINUSERAPI BOOL WINAPI SetRectEmpty(LPRECT);
 WINUSERAPI int WINAPI SetScrollInfo(HWND,int,LPCSCROLLINFO,BOOL);
@@ -4248,7 +4252,9 @@
 #define SetClassLongPtr SetClassLongPtrW
 #define SetDlgItemText SetDlgItemTextW
 #define SetMenuItemInfo SetMenuItemInfoW
+#ifndef _WIN32_WCE
 #define SetProp SetPropW
+#endif
 #define SetUserObjectInformation SetUserObjectInformationW
 #define SetWindowLong SetWindowLongW
 #define SetWindowLongPtr SetWindowLongPtrW
@@ -4415,7 +4421,9 @@
 #define SetClassLongPtr SetClassLongPtrA
 #define SetDlgItemText SetDlgItemTextA
 #define SetMenuItemInfo SetMenuItemInfoA
+#ifndef _WIN32_WCE
 #define SetProp SetPropA
+#endif
 #define SetUserObjectInformation SetUserObjectInformationA
 #define SetWindowLong SetWindowLongA
 #define SetWindowLongPtr SetWindowLongPtrA


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=865514&aid=2328033&group_id=173455

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to