mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
add dll lpk it is stub for now.
it will be use of gdi32 and user32 later svn path=/trunk/; revision=33699
This commit is contained in:
parent
b1f83f040a
commit
ed494cbfbc
8 changed files with 325 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
<property name="BASEADDRESS_DEVENUM" value="0x35680000" />
|
||||
<property name="BASEADDRESS_RSABASE" value="0x35700000" />
|
||||
<property name="BASEADDRESS_RSAENH" value="0x35780000" />
|
||||
<property name="BASEADDRESS_LPK" value="0x516C0000" />
|
||||
<property name="BASEADDRESS_TELEPHON" value="0x58750000" />
|
||||
<property name="BASEADDRESS_PWRCFG" value="0x587e0000" />
|
||||
<property name="BASEADDRESS_MMSYS" value="0x588a0000" />
|
||||
|
|
35
reactos/dll/win32/lpk/dllmain.c
Normal file
35
reactos/dll/win32/lpk/dllmain.c
Normal file
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS
|
||||
* PURPOSE: LPK Library
|
||||
* PROGRAMMER: Magnus Olsen (greatlrd)
|
||||
*
|
||||
*/
|
||||
|
||||
#include "ros_lpk.h"
|
||||
|
||||
LPK_LPEDITCONTROL_LIST LpkEditControl = {EditCreate, EditIchToXY, EditMouseToIch, EditCchInWidth,
|
||||
EditGetLineWidth, EditDrawText, EditHScroll, EditMoveSelection,
|
||||
EditVerifyText, EditNextWord, EditSetMenu, EditProcessMenu,
|
||||
EditCreateCaret, EditAdjustCaret};
|
||||
|
||||
BOOL
|
||||
WINAPI
|
||||
DllMain (
|
||||
HANDLE hDll,
|
||||
DWORD dwReason,
|
||||
LPVOID lpReserved)
|
||||
{
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL
|
||||
WINAPI
|
||||
LpkDllInitialize (
|
||||
HANDLE hDll,
|
||||
DWORD dwReason,
|
||||
LPVOID lpReserved)
|
||||
{
|
||||
return DllMain(hDll,dwReason,lpReserved);
|
||||
}
|
20
reactos/dll/win32/lpk/lpk.def
Normal file
20
reactos/dll/win32/lpk/lpk.def
Normal file
|
@ -0,0 +1,20 @@
|
|||
; $Id: gdi32.def 33598 2008-05-19 10:20:39Z greatlrd $
|
||||
;
|
||||
; lpk.def
|
||||
;
|
||||
; ReactOS Operating System
|
||||
;
|
||||
LIBRARY lpk.dll
|
||||
EXPORTS
|
||||
LpkInitialize@4
|
||||
LpkTabbedTextOut@48
|
||||
LpkDllInitialize@12
|
||||
LpkDrawTextEx@40
|
||||
LpkEditControl@0
|
||||
LpkExtTextOut@36
|
||||
LpkGetCharacterPlacement@28
|
||||
LpkGetTextExtentExPoint@36
|
||||
LpkPSMTextOut@24
|
||||
LpkUseGDIWidthCache@20
|
||||
ftsWordBreak@20
|
||||
|
20
reactos/dll/win32/lpk/lpk.rbuild
Normal file
20
reactos/dll/win32/lpk/lpk.rbuild
Normal file
|
@ -0,0 +1,20 @@
|
|||
<module name="lpk" type="win32dll" baseaddress="${BASEADDRESS_LPK}" installbase="system32" installname="lpk.dll" unicode="yes">
|
||||
<importlibrary definition="lpk.def" />
|
||||
<include base="lpk">include</include>
|
||||
<define name="_DISABLE_TIDENTS" />
|
||||
<define name="WINVER">0x0600</define>
|
||||
<define name="_WIN32_WINNT">0x0501</define>
|
||||
<define name="LANGPACK" />
|
||||
<library>ntdll</library>
|
||||
<library>kernel32</library>
|
||||
<library>user32</library>
|
||||
<library>usp10</library>
|
||||
|
||||
<file>dllmain.c</file>
|
||||
<file>stub.c</file>
|
||||
|
||||
<linkerflag>-lgcc</linkerflag>
|
||||
<linkerflag>-nostartfiles</linkerflag>
|
||||
<linkerflag>-nostdlib</linkerflag>
|
||||
<file>lpk.rc</file>
|
||||
</module>
|
5
reactos/dll/win32/lpk/lpk.rc
Normal file
5
reactos/dll/win32/lpk/lpk.rc
Normal file
|
@ -0,0 +1,5 @@
|
|||
#define REACTOS_VERSION_DLL
|
||||
#define REACTOS_STR_FILE_DESCRIPTION "Language Pack\0"
|
||||
#define REACTOS_STR_INTERNAL_NAME "lpk\0"
|
||||
#define REACTOS_STR_ORIGINAL_FILENAME "lpk.dll\0"
|
||||
#include <reactos/version.rc>
|
63
reactos/dll/win32/lpk/ros_lpk.h
Normal file
63
reactos/dll/win32/lpk/ros_lpk.h
Normal file
|
@ -0,0 +1,63 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS
|
||||
* PURPOSE: LPK Library
|
||||
* PROGRAMMER: Magnus Olsen (greatlrd)
|
||||
*
|
||||
*/
|
||||
#define WIN32_NO_STATUS
|
||||
#define NTOS_MODE_USER
|
||||
|
||||
#include <windows.h>
|
||||
#include <ndk/ntndk.h>
|
||||
|
||||
/* FIXME move _LPK_LPEDITCONTROL_LIST to global place so user32 can access it */
|
||||
typedef struct _LPK_LPEDITCONTROL_LIST
|
||||
{
|
||||
PVOID EditCreate;
|
||||
PVOID EditIchToXY;
|
||||
PVOID EditMouseToIch;
|
||||
PVOID EditCchInWidth;
|
||||
PVOID EditGetLineWidth;
|
||||
PVOID EditDrawText;
|
||||
PVOID EditHScroll;
|
||||
PVOID EditMoveSelection;
|
||||
PVOID EditVerifyText;
|
||||
PVOID EditNextWord;
|
||||
PVOID EditSetMenu;
|
||||
PVOID EditProcessMenu;
|
||||
PVOID EditCreateCaret;
|
||||
PVOID EditAdjustCaret;
|
||||
} LPK_LPEDITCONTROL_LIST, *PLPK_LPEDITCONTROL_LIST;
|
||||
|
||||
/* This List are exported */
|
||||
|
||||
|
||||
DWORD WINAPI EditCreate( DWORD x1, DWORD x2);
|
||||
DWORD WINAPI EditIchToXY( DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5);
|
||||
DWORD WINAPI EditMouseToIch( DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5);
|
||||
DWORD WINAPI EditCchInWidth( DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5);
|
||||
|
||||
DWORD WINAPI EditGetLineWidth( DWORD x1, DWORD x2, DWORD x3, DWORD x4);
|
||||
DWORD WINAPI EditDrawText( DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD x6, DWORD x7);
|
||||
DWORD WINAPI EditHScroll( DWORD x1, DWORD x2, DWORD x3);
|
||||
DWORD WINAPI EditMoveSelection( DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5);
|
||||
|
||||
DWORD WINAPI EditVerifyText( DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD x6);
|
||||
DWORD WINAPI EditNextWord(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD x6, DWORD x7);
|
||||
DWORD WINAPI EditSetMenu(DWORD x1, DWORD x2);
|
||||
DWORD WINAPI EditProcessMenu(DWORD x1, DWORD x2);
|
||||
DWORD WINAPI EditCreateCaret(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5);
|
||||
DWORD WINAPI EditAdjustCaret(DWORD x1, DWORD x2, DWORD x3, DWORD x5);
|
||||
|
||||
DWORD WINAPI LpkInitialize(DWORD x1);
|
||||
DWORD WINAPI LpkTabbedTextOut(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6,DWORD x7,DWORD x8,DWORD x9,DWORD x10,DWORD x11,DWORD x12);
|
||||
BOOL WINAPI LpkDllInitialize (HANDLE hDll, DWORD dwReason, LPVOID lpReserved);
|
||||
DWORD WINAPI LpkDrawTextEx(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6,DWORD x7,DWORD x8,DWORD x9, DWORD x10);
|
||||
DWORD WINAPI LpkExtTextOut(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6,DWORD x7,DWORD x8,DWORD x9);
|
||||
DWORD WINAPI LpkGetCharacterPlacement(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6, DWORD x7);
|
||||
DWORD WINAPI LpkGetTextExtentExPoint(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6,DWORD x7,DWORD x8,DWORD x9);
|
||||
DWORD WINAPI LpkPSMTextOut(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6);
|
||||
DWORD WINAPI LpkUseGDIWidthCache(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5);
|
||||
DWORD WINAPI ftsWordBreak(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5);
|
||||
|
178
reactos/dll/win32/lpk/stub.c
Normal file
178
reactos/dll/win32/lpk/stub.c
Normal file
|
@ -0,0 +1,178 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS
|
||||
* PURPOSE: LPK Library
|
||||
* PROGRAMMER: Magnus Olsen (greatlrd)
|
||||
*
|
||||
*/
|
||||
|
||||
#include "ros_lpk.h"
|
||||
|
||||
#define UNIMPLEMENTED DbgPrint("LPK: %s is unimplemented, please try again later.\n", __FUNCTION__);
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
DWORD WINAPI LpkInitialize(DWORD x1)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
DWORD WINAPI LpkTabbedTextOut(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6,DWORD x7,DWORD x8,DWORD x9,DWORD x10,DWORD x11,DWORD x12)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
DWORD WINAPI LpkDrawTextEx(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6,DWORD x7,DWORD x8,DWORD x9, DWORD x10)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
DWORD WINAPI LpkExtTextOut(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6,DWORD x7,DWORD x8,DWORD x9)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
DWORD WINAPI LpkGetCharacterPlacement(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6, DWORD x7)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
DWORD WINAPI LpkGetTextExtentExPoint(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6,DWORD x7,DWORD x8,DWORD x9)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
DWORD WINAPI LpkPSMTextOut(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
DWORD WINAPI LpkUseGDIWidthCache(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
DWORD WINAPI ftsWordBreak(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
DWORD WINAPI EditCreate( DWORD x1, DWORD x2)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
DWORD WINAPI EditIchToXY( DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
DWORD WINAPI EditMouseToIch( DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
DWORD WINAPI EditCchInWidth( DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
DWORD WINAPI EditGetLineWidth( DWORD x1, DWORD x2, DWORD x3, DWORD x4)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
DWORD WINAPI EditDrawText( DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD x6, DWORD x7)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
DWORD WINAPI EditHScroll( DWORD x1, DWORD x2, DWORD x3)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
DWORD WINAPI EditMoveSelection( DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
DWORD WINAPI EditVerifyText( DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD x6)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
DWORD WINAPI EditNextWord(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD x6, DWORD x7)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
DWORD WINAPI EditSetMenu(DWORD x1, DWORD x2)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
DWORD WINAPI EditProcessMenu(DWORD x1, DWORD x2)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
DWORD WINAPI EditCreateCaret(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
||||
DWORD WINAPI EditAdjustCaret(DWORD x1, DWORD x2, DWORD x3, DWORD x5)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -121,6 +121,9 @@
|
|||
<directory name="kernel32">
|
||||
<xi:include href="kernel32/kernel32.rbuild" />
|
||||
</directory>
|
||||
<directory name="lpk">
|
||||
<xi:include href="lpk/lpk.rbuild" />
|
||||
</directory>
|
||||
<directory name="lsasrv">
|
||||
<xi:include href="lsasrv/lsasrv.rbuild" />
|
||||
</directory>
|
||||
|
|
Loading…
Reference in a new issue