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


git-svn-id: svn://10.0.0.236/trunk@70772 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pinkerton%netscape.com
2000-05-24 23:56:47 +00:00
parent 8ce2bf117c
commit 384f96111e
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

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