diff --git a/dlls/user/misc.c b/dlls/user/misc.c index f653a69bd1b..9512e796776 100644 --- a/dlls/user/misc.c +++ b/dlls/user/misc.c @@ -358,7 +358,38 @@ LONG WINAPI stub_USER_496(void) { FIXME("stub\n"); return 0; } /*********************************************************************** * User32InitializeImmEntryTable */ -BOOL WINAPI User32InitializeImmEntryTable(LPVOID ptr) { - FIXME("(%p): stub\n", ptr); - return TRUE; +BOOL WINAPI User32InitializeImmEntryTable(LPVOID ptr) +{ + FIXME("(%p): stub\n", ptr); + return TRUE; +} + +/********************************************************************** + * WINNLSGetIMEHotkey [USER32.@] + * + */ +UINT WINAPI WINNLSGetIMEHotkey(HWND hUnknown1) +{ + FIXME("hUnknown1 %p: stub!\n", hUnknown1); + return 0; /* unknown */ +} + +/********************************************************************** + * WINNLSEnableIME [USER32.@] + * + */ +BOOL WINAPI WINNLSEnableIME(HWND hUnknown1, BOOL bUnknown2) +{ + FIXME("hUnknown1 %p bUnknown2 %d: stub!\n", hUnknown1, bUnknown2); + return TRUE; /* success (?) */ +} + +/********************************************************************** + * WINNLSGetEnableStatus [USER32.@] + * + */ +BOOL WINAPI WINNLSGetEnableStatus(HWND hUnknown1) +{ + FIXME("hUnknown1 %p: stub!\n", hUnknown1); + return TRUE; /* success (?) */ } diff --git a/dlls/user/user32.spec b/dlls/user/user32.spec index 7b947c56a00..0de392cf9e8 100644 --- a/dlls/user/user32.spec +++ b/dlls/user/user32.spec @@ -294,7 +294,7 @@ @ stdcall GetPropA(long str) @ stdcall GetPropW(long wstr) @ stdcall GetQueueStatus(long) -# @ stub GetScrollBarInfo +@ stdcall GetScrollBarInfo(long long ptr) @ stdcall GetScrollInfo(long long ptr) @ stdcall GetScrollPos(long long) @ stdcall GetScrollRange(long long ptr ptr) @@ -616,9 +616,9 @@ @ stdcall VkKeyScanExA(long long) @ stdcall VkKeyScanExW(long long) @ stdcall VkKeyScanW(long) -# @ stub WINNLSEnableIME -# @ stub WINNLSGetEnableStatus -# @ stub WINNLSGetIMEHotkey +@ stdcall WINNLSEnableIME(long long) +@ stdcall WINNLSGetEnableStatus(long) +@ stdcall WINNLSGetIMEHotkey(long) @ stdcall WaitForInputIdle(long long) @ stdcall WaitMessage() @ stub WCSToMBEx diff --git a/include/Makefile.in b/include/Makefile.in index fd7e5f187e5..a034f0b7141 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -229,6 +229,7 @@ WINDOWS_INCLUDES = \ winioctl.h \ winnetwk.h \ winnls.h \ + winnls32.h \ winnt.h \ winreg.h \ winres.h \ diff --git a/include/winnls32.h b/include/winnls32.h new file mode 100644 index 00000000000..48216edd71c --- /dev/null +++ b/include/winnls32.h @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2005 Diego Pettenò + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef _WINNLS32_ +#define _WINNLS32_ + +#ifdef __cplusplus +extern "C" { +#endif + +UINT WINAPI WINNLSGetIMEHotkey(HWND); +BOOL WINAPI WINNLSEnableIME(HWND, BOOL); +BOOL WINAPI WINNLSGetEnableStatus(HWND); + +#ifdef __cplusplus +} +#endif + +#endif /* _WINNLS32_ */