imm32: Avoid spamming the debug output.

This commit is contained in:
Marcus Meissner 2007-10-12 09:11:43 +02:00 committed by Alexandre Julliard
parent 5a96cc146c
commit a84f9e6f69

View File

@ -1057,7 +1057,12 @@ BOOL WINAPI ImmGetConversionStatus(
*/ */
HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd) HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)
{ {
static int shown = 0;
if (!shown) {
FIXME("(%p - %p %p ): semi-stub\n", hWnd,hwndDefault, root_context); FIXME("(%p - %p %p ): semi-stub\n", hWnd,hwndDefault, root_context);
shown = 1;
}
if (hwndDefault == NULL) if (hwndDefault == NULL)
{ {
@ -1517,8 +1522,12 @@ BOOL WINAPI ImmRegisterWordW(
*/ */
BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC) BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
{ {
FIXME("(%p, %p): stub\n", hWnd, hIMC); static int shown = 0;
if (!shown) {
FIXME("(%p, %p): stub\n", hWnd, hIMC);
shown = 1;
}
return TRUE; return TRUE;
} }
@ -1731,9 +1740,14 @@ BOOL WINAPI ImmSetCompositionWindow(
BOOL WINAPI ImmSetConversionStatus( BOOL WINAPI ImmSetConversionStatus(
HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence) HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence)
{ {
static int shown = 0;
if (!shown) {
FIXME("(%p, %d, %d): stub\n", FIXME("(%p, %d, %d): stub\n",
hIMC, fdwConversion, fdwSentence hIMC, fdwConversion, fdwSentence
); );
shown = 1;
}
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }