Re: PATCH - Winuser.h
Steven Edwards <Steven_Ed4153-/[email protected]>
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Organization | ReactOS Project |
| Message-ID | <[email protected]> |
I will let Hyperion address these issues as I am just commiting the
patches to help him save time. As for the naming thing the last time I
asked him about it he got kind of anal about it =P.
Thanks
Steven
>>
>>Index: winuser.h
>>@@ -2623,6 +2628,19 @@
>> RECT rcWork;
>> DWORD dwFlags;
>> } MONITORINFO,*LPMONITORINFO;
>>+#define CCHDEVICENAME 32
>>+#ifdef __cplusplus
>>+typedef struct tagMONITORINFOEX: public MONITORINFO
>>+{
>>+ TCHAR szDevice[CCHDEVICENAME];
>>+} MONITORINFOEX, *LPMONITORINFOEX;
>>+#else
>>+typedef struct tagMONITORINFOEX
>>+{
>>+ MONITORINFO;
>>+ TCHAR szDevice[CCHDEVICENAME];
>>+} MONITORINFOEX, *LPMONITORINFOEX;
>>+#endif
>>
>>
>
>1) Anonymous structs will raise warnings with -pedantic in C
>2) My docs say ANSI and UNICODE versions. The TCHAR needs to be expanded
>into two explicit structs with A and W suffix,
>3) Does "KJK::Hyperion" have a proper name. I don't like obvious
>pseudonyms and would like to change the earlier ChangeLog records as
>well.
>
>Danny
>
>
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf