diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2009-11-21 03:55:51 +0300 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2009-11-21 03:55:51 +0300 |
commit | 03312ffc1f717e067fa1bcbac00d6a5b876be442 (patch) | |
tree | 25f4ccae747df0ef1d9ccc2b08d5da09033b2fda | |
parent | 0dcfbad035834c0d817286aef7fa7f73033b452f (diff) |
2009-20-10 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
* include/wingdi.h (ENHMFENUMPROC): Correct definition.
Thanks to Alexander Vassilev for the report.
-rw-r--r-- | winsup/w32api/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/w32api/include/wingdi.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 2cf0fa226..e2470bb60 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,9 @@ +2009-20-10 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net> + + * include/wingdi.h (ENHMFENUMPROC): Correct definition. + + Thanks to Alexander Vassilev for the report. + 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> * include/iprtrmib.h (MIB_IPADDRROW): Correct definition. diff --git a/winsup/w32api/include/wingdi.h b/winsup/w32api/include/wingdi.h index 6b5ce9c3a..f6ac0f1bb 100644 --- a/winsup/w32api/include/wingdi.h +++ b/winsup/w32api/include/wingdi.h @@ -2661,7 +2661,7 @@ typedef struct _DISPLAY_DEVICEW { typedef BOOL (CALLBACK *ABORTPROC)(HDC,int); typedef int (CALLBACK *MFENUMPROC)(HDC,HANDLETABLE*,METARECORD*,int,LPARAM); -typedef int (CALLBACK *ENHMFENUMPROC)(HDC,HANDLETABLE*,ENHMETARECORD*,int,LPARAM); +typedef int (CALLBACK *ENHMFENUMPROC)(HDC,HANDLETABLE*,const ENHMETARECORD*,int,LPARAM); typedef int (CALLBACK *OLDFONTENUMPROCA)(const LOGFONTA*,const TEXTMETRICA*,DWORD,LPARAM); typedef int (CALLBACK *OLDFONTENUMPROCW)(const LOGFONTW*,const TEXTMETRICW*,DWORD,LPARAM); typedef OLDFONTENUMPROCA FONTENUMPROCA; |