Added stub implementation for WINNLS* functions.

oldstable
Diego Pettenò 2005-01-07 17:15:30 +00:00 committed by Alexandre Julliard
parent 869a66a8fd
commit 6febc8a7f8
4 changed files with 73 additions and 7 deletions

View File

@ -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 (?) */
}

View File

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

View File

@ -229,6 +229,7 @@ WINDOWS_INCLUDES = \
winioctl.h \
winnetwk.h \
winnls.h \
winnls32.h \
winnt.h \
winreg.h \
winres.h \

34
include/winnls32.h 100644
View File

@ -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_ */