dlls/user.exec16/user.c: Use FIXME_ONCE for quieter reports

Max TenEyck Woodbury max at mtew.isa-geek.net
Wed Jul 14 13:29:55 CDT 2010


---
 dlls/user.exe16/user.c |   48 ++++++++++++++++++++++++------------------------
 1 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/dlls/user.exe16/user.c b/dlls/user.exe16/user.c
index 710ed62..b89fda7 100644
--- a/dlls/user.exe16/user.c
+++ b/dlls/user.exe16/user.c
@@ -902,7 +902,7 @@ HANDLE16 WINAPI SetClipboardData16( UINT16 format, HANDLE16 data16 )
     }
 
     case CF_ENHMETAFILE:
-        FIXME( "enhmetafile not supported in 16-bit\n" );
+        FIXME_ONCE( "enhmetafile not supported in 16-bit\n" );
         return 0;
 
     default:
@@ -974,7 +974,7 @@ HANDLE16 WINAPI GetClipboardData16( UINT16 format )
     }
 
     case CF_ENHMETAFILE:
-        FIXME( "enhmetafile not supported in 16-bit\n" );
+        FIXME_ONCE( "enhmetafile not supported in 16-bit\n" );
         return 0;
 
     default:
@@ -1407,7 +1407,7 @@ DWORD WINAPI UserSeeUserDo16(WORD wReqType, WORD wParam1, WORD wParam2, WORD wPa
         ret = USER_HeapSel;
         break;
     case USUD_FIRSTCLASS:
-        FIXME("return a pointer to the first window class.\n");
+        FIXME_ONCE("return a pointer to the first window class.\n");
         break;
     default:
         WARN("wReqType %04x (unknown)\n", wReqType);
@@ -1422,7 +1422,7 @@ DWORD WINAPI UserSeeUserDo16(WORD wReqType, WORD wParam1, WORD wParam2, WORD wPa
  */
 HMENU16 WINAPI LookupMenuHandle16( HMENU16 hmenu, INT16 id )
 {
-    FIXME( "%04x %04x: stub\n", hmenu, id );
+    FIXME_ONCE( "%04x %04x: stub\n", hmenu, id );
     return hmenu;
 }
 
@@ -1592,7 +1592,7 @@ UINT16 WINAPI GetMenuState16( HMENU16 hMenu, UINT16 wItemID, UINT16 wFlags )
 LRESULT WINAPI SendDriverMessage16(HDRVR16 hDriver, UINT16 msg, LPARAM lParam1,
                                    LPARAM lParam2)
 {
-    FIXME("(%04x, %04x, %08lx, %08lx): stub\n", hDriver, msg, lParam1, lParam2);
+    FIXME_ONCE("(%04x, %04x, %08lx, %08lx): stub\n", hDriver, msg, lParam1, lParam2);
     return 0;
 }
 
@@ -1602,7 +1602,7 @@ LRESULT WINAPI SendDriverMessage16(HDRVR16 hDriver, UINT16 msg, LPARAM lParam1,
  */
 HDRVR16 WINAPI OpenDriver16(LPCSTR lpDriverName, LPCSTR lpSectionName, LPARAM lParam2)
 {
-    FIXME( "(%s, %s, %08lx): stub\n", debugstr_a(lpDriverName), debugstr_a(lpSectionName), lParam2);
+    FIXME_ONCE( "(%s, %s, %08lx): stub\n", debugstr_a(lpDriverName), debugstr_a(lpSectionName), lParam2);
     return 0;
 }
 
@@ -1612,7 +1612,7 @@ HDRVR16 WINAPI OpenDriver16(LPCSTR lpDriverName, LPCSTR lpSectionName, LPARAM lP
  */
 LRESULT WINAPI CloseDriver16(HDRVR16 hDrvr, LPARAM lParam1, LPARAM lParam2)
 {
-    FIXME( "(%04x, %08lx, %08lx): stub\n", hDrvr, lParam1, lParam2);
+    FIXME_ONCE( "(%04x, %08lx, %08lx): stub\n", hDrvr, lParam1, lParam2);
     return FALSE;
 }
 
@@ -1622,7 +1622,7 @@ LRESULT WINAPI CloseDriver16(HDRVR16 hDrvr, LPARAM lParam1, LPARAM lParam2)
  */
 HMODULE16 WINAPI GetDriverModuleHandle16(HDRVR16 hDrvr)
 {
-    FIXME("(%04x): stub\n", hDrvr);
+    FIXME_ONCE("(%04x): stub\n", hDrvr);
     return 0;
 }
 
@@ -1633,7 +1633,7 @@ HMODULE16 WINAPI GetDriverModuleHandle16(HDRVR16 hDrvr)
 LRESULT WINAPI DefDriverProc16(DWORD dwDevID, HDRVR16 hDriv, UINT16 wMsg,
                                LPARAM lParam1, LPARAM lParam2)
 {
-    FIXME( "devID=0x%08x hDrv=0x%04x wMsg=%04x lP1=0x%08lx lP2=0x%08lx: stub\n",
+    FIXME_ONCE( "devID=0x%08x hDrv=0x%04x wMsg=%04x lP1=0x%08lx lP2=0x%08lx: stub\n",
 	  dwDevID, hDriv, wMsg, lParam1, lParam2);
     return 0;
 }
@@ -1645,7 +1645,7 @@ LRESULT WINAPI DefDriverProc16(DWORD dwDevID, HDRVR16 hDriv, UINT16 wMsg,
 struct DRIVERINFOSTRUCT16;
 BOOL16 WINAPI GetDriverInfo16(HDRVR16 hDrvr, struct DRIVERINFOSTRUCT16 *lpDrvInfo)
 {
-    FIXME( "(%04x, %p): stub\n", hDrvr, lpDrvInfo);
+    FIXME_ONCE( "(%04x, %p): stub\n", hDrvr, lpDrvInfo);
     return FALSE;
 }
 
@@ -1655,7 +1655,7 @@ BOOL16 WINAPI GetDriverInfo16(HDRVR16 hDrvr, struct DRIVERINFOSTRUCT16 *lpDrvInf
  */
 HDRVR16 WINAPI GetNextDriver16(HDRVR16 hDrvr, DWORD dwFlags)
 {
-    FIXME( "(%04x, %08x): stub\n", hDrvr, dwFlags);
+    FIXME_ONCE( "(%04x, %08x): stub\n", hDrvr, dwFlags);
     return 0;
 }
 
@@ -1716,7 +1716,7 @@ UINT16 WINAPI GlobalGetAtomName16(ATOM nAtom, LPSTR lpBuffer, INT16 nSize)
  */
 void WINAPI ControlPanelInfo16( INT16 nInfoType, WORD wData, LPSTR lpBuffer )
 {
-    FIXME("(%d, %04x, %p): stub.\n", nInfoType, wData, lpBuffer);
+    FIXME_ONCE("(%d, %04x, %p): stub.\n", nInfoType, wData, lpBuffer);
 }
 
 
@@ -1871,7 +1871,7 @@ void WINAPI SignalProc16( HANDLE16 hModule, UINT16 code,
  */
 FARPROC16 WINAPI SetEventHook16(FARPROC16 lpfnEventHook)
 {
-    FIXME("(lpfnEventHook=%p): stub\n", lpfnEventHook);
+    FIXME_ONCE("(lpfnEventHook=%p): stub\n", lpfnEventHook);
     return 0;
 }
 
@@ -1881,7 +1881,7 @@ FARPROC16 WINAPI SetEventHook16(FARPROC16 lpfnEventHook)
  */
 BOOL16 WINAPI EnableHardwareInput16(BOOL16 bEnable)
 {
-    FIXME("(%d) - stub\n", bEnable);
+    FIXME_ONCE("(%d) - stub\n", bEnable);
     return TRUE;
 }
 
@@ -1893,7 +1893,7 @@ BOOL16 WINAPI EnableHardwareInput16(BOOL16 bEnable)
  */
 HGLOBAL16 WINAPI LoadCursorIconHandler16( HGLOBAL16 hResource, HMODULE16 hModule, HRSRC16 hRsrc )
 {
-    FIXME("(%04x,%04x,%04x): old 2.x resources are not supported!\n", hResource, hModule, hRsrc);
+    FIXME_ONCE("(%04x,%04x,%04x): old 2.x resources are not supported!\n", hResource, hModule, hRsrc);
     return 0;
 }
 
@@ -1937,7 +1937,7 @@ HGLOBAL16 WINAPI LoadDIBIconHandler16( HGLOBAL16 hMemObj, HMODULE16 hModule, HRS
      * we have to recommit some memory, otherwise we just need to check
      * the block size. See LoadProc() in 16-bit SDK for more.
      */
-    FIXME( "%x %x %x: stub, not supported anymore\n", hMemObj, hModule, hRsrc );
+    FIXME_ONCE( "%x %x %x: stub, not supported anymore\n", hMemObj, hModule, hRsrc );
     return 0;
 }
 
@@ -1948,7 +1948,7 @@ HGLOBAL16 WINAPI LoadDIBIconHandler16( HGLOBAL16 hMemObj, HMODULE16 hModule, HRS
  */
 HGLOBAL16 WINAPI LoadDIBCursorHandler16( HGLOBAL16 hMemObj, HMODULE16 hModule, HRSRC16 hRsrc )
 {
-    FIXME( "%x %x %x: stub, not supported anymore\n", hMemObj, hModule, hRsrc );
+    FIXME_ONCE( "%x %x %x: stub, not supported anymore\n", hMemObj, hModule, hRsrc );
     return 0;
 }
 
@@ -1967,7 +1967,7 @@ BOOL16 WINAPI IsMenu16( HMENU16 hmenu )
  */
 BOOL16 WINAPI DCHook16( HDC16 hdc, WORD code, DWORD data, LPARAM lParam )
 {
-    FIXME( "hDC = %x, %i: stub\n", hdc, code );
+    FIXME_ONCE( "hDC = %x, %i: stub\n", hdc, code );
     return FALSE;
 }
 
@@ -2203,7 +2203,7 @@ HANDLE16 WINAPI LoadImage16(HINSTANCE16 hinst, LPCSTR name, UINT16 type, INT16 c
 HICON16 WINAPI CopyImage16(HANDLE16 hnd, UINT16 type, INT16 desiredx,
 			   INT16 desiredy, UINT16 flags)
 {
-    if (flags & LR_COPYFROMRESOURCE) FIXME( "LR_COPYFROMRESOURCE not supported\n" );
+    if (flags & LR_COPYFROMRESOURCE) FIXME_ONCE( "LR_COPYFROMRESOURCE not supported\n" );
 
     switch (type)
     {
@@ -3079,7 +3079,7 @@ BOOL16 WINAPI SystemParametersInfo16( UINT16 uAction, UINT16 uParam,
  */
 LONG WINAPI stub_USER_489(void)
 {
-    FIXME("stub\n");
+    FIXME_ONCE("stub\n");
     return 0;
 }
 
@@ -3089,7 +3089,7 @@ LONG WINAPI stub_USER_489(void)
  */
 LONG WINAPI stub_USER_490(void)
 {
-    FIXME("stub\n");
+    FIXME_ONCE("stub\n");
     return 0;
 }
 
@@ -3099,7 +3099,7 @@ LONG WINAPI stub_USER_490(void)
  */
 LONG WINAPI stub_USER_492(void)
 {
-    FIXME("stub\n");
+    FIXME_ONCE("stub\n");
     return 0;
 }
 
@@ -3109,7 +3109,7 @@ LONG WINAPI stub_USER_492(void)
  */
 LONG WINAPI stub_USER_496(void)
 {
-    FIXME("stub\n");
+    FIXME_ONCE("stub\n");
     return 0;
 }
 
@@ -3143,7 +3143,7 @@ DWORD WINAPI FormatMessage16(
                         || (dwFlags & FORMAT_MESSAGE_FROM_HMODULE))) return 0;
 
     if (width && width != FORMAT_MESSAGE_MAX_WIDTH_MASK)
-        FIXME("line wrapping (%u) not supported.\n", width);
+        FIXME_ONCE("line wrapping (%u) not supported.\n", width);
     from = NULL;
     if (dwFlags & FORMAT_MESSAGE_FROM_STRING)
     {
-- 
1.7.1.1




More information about the wine-patches mailing list