Using WINAPI macro for callback routines. Thanks to juberti@aol.com and

jesusx@who.net for the help and moral support. r=mozbot a=mozbot
This commit is contained in:
pinkerton%netscape.com 2006-01-11 21:28:09 +00:00
Родитель c735d4ec34
Коммит 47c497c464
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -41,8 +41,8 @@
#if _MSC_VER >= 1200
typedef HMONITOR (*MonitorFromRectProc)(LPCRECT inRect, DWORD inFlag);
typedef BOOL (*EnumDisplayMonitorsProc)(HDC, LPCRECT, MONITORENUMPROC, LPARAM);
typedef HMONITOR (WINAPI *MonitorFromRectProc)(LPCRECT inRect, DWORD inFlag);
typedef BOOL (WINAPI *EnumDisplayMonitorsProc)(HDC, LPCRECT, MONITORENUMPROC, LPARAM);
BOOL CALLBACK CountMonitors ( HMONITOR, HDC, LPRECT, LPARAM ioCount ) ;
#else

Просмотреть файл

@ -41,7 +41,7 @@
#if _MSC_VER >= 1200
typedef BOOL (*GetMonitorInfoProc)(HMONITOR inMon, LPMONITORINFO ioInfo);
typedef BOOL (WINAPI *GetMonitorInfoProc)(HMONITOR inMon, LPMONITORINFO ioInfo);
#endif