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: Open
Resolution: None
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: 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

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to