Commit 6febc8a7 authored by Diego Pettenò's avatar Diego Pettenò Committed by Alexandre Julliard

Added stub implementation for WINNLS* functions.

parent 869a66a8
...@@ -358,7 +358,38 @@ LONG WINAPI stub_USER_496(void) { FIXME("stub\n"); return 0; } ...@@ -358,7 +358,38 @@ LONG WINAPI stub_USER_496(void) { FIXME("stub\n"); return 0; }
/*********************************************************************** /***********************************************************************
* User32InitializeImmEntryTable * User32InitializeImmEntryTable
*/ */
BOOL WINAPI User32InitializeImmEntryTable(LPVOID ptr) { BOOL WINAPI User32InitializeImmEntryTable(LPVOID ptr)
FIXME("(%p): stub\n", ptr); {
return TRUE; 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 (?) */
} }
...@@ -294,7 +294,7 @@ ...@@ -294,7 +294,7 @@
@ stdcall GetPropA(long str) @ stdcall GetPropA(long str)
@ stdcall GetPropW(long wstr) @ stdcall GetPropW(long wstr)
@ stdcall GetQueueStatus(long) @ stdcall GetQueueStatus(long)
# @ stub GetScrollBarInfo @ stdcall GetScrollBarInfo(long long ptr)
@ stdcall GetScrollInfo(long long ptr) @ stdcall GetScrollInfo(long long ptr)
@ stdcall GetScrollPos(long long) @ stdcall GetScrollPos(long long)
@ stdcall GetScrollRange(long long ptr ptr) @ stdcall GetScrollRange(long long ptr ptr)
...@@ -616,9 +616,9 @@ ...@@ -616,9 +616,9 @@
@ stdcall VkKeyScanExA(long long) @ stdcall VkKeyScanExA(long long)
@ stdcall VkKeyScanExW(long long) @ stdcall VkKeyScanExW(long long)
@ stdcall VkKeyScanW(long) @ stdcall VkKeyScanW(long)
# @ stub WINNLSEnableIME @ stdcall WINNLSEnableIME(long long)
# @ stub WINNLSGetEnableStatus @ stdcall WINNLSGetEnableStatus(long)
# @ stub WINNLSGetIMEHotkey @ stdcall WINNLSGetIMEHotkey(long)
@ stdcall WaitForInputIdle(long long) @ stdcall WaitForInputIdle(long long)
@ stdcall WaitMessage() @ stdcall WaitMessage()
@ stub WCSToMBEx @ stub WCSToMBEx
......
...@@ -229,6 +229,7 @@ WINDOWS_INCLUDES = \ ...@@ -229,6 +229,7 @@ WINDOWS_INCLUDES = \
winioctl.h \ winioctl.h \
winnetwk.h \ winnetwk.h \
winnls.h \ winnls.h \
winnls32.h \
winnt.h \ winnt.h \
winreg.h \ winreg.h \
winres.h \ winres.h \
......
/*
* 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_ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment