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 + + * include/wingdi.h (ENHMFENUMPROC): Correct definition. + + Thanks to Alexander Vassilev for the report. + 2009-20-10 Chris Sutcliffe * 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;