mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
- Add getuname.dll (stub). charmap.exe from winxp work now
svn path=/trunk/; revision=36692
This commit is contained in:
parent
f5cbabe20c
commit
d63ea3d381
7 changed files with 59 additions and 0 deletions
|
@ -50,6 +50,7 @@
|
|||
<property name="BASEADDRESS_PSXDLL" value="0x68eb0000" />
|
||||
<property name="BASEADDRESS_PSAPI" value="0x68f70000" />
|
||||
<property name="BASEADDRESS_KSPROXY" value="0x68f90000" />
|
||||
<property name="BASEADDRESS_GETUNAME" value="0x69110000" />
|
||||
<property name="BASEADDRESS_OLEACC" value="0x69640000" />
|
||||
<property name="BASEADDRESS_WINMM" value="0x697d0000" />
|
||||
<property name="BASEADDRESS_MSIMG32" value="0x69cc0000" />
|
||||
|
|
|
@ -256,6 +256,7 @@ dll\win32\fmifs\fmifs.dll 1
|
|||
dll\win32\fusion\fusion.dll 1
|
||||
dll\win32\gdi32\gdi32.dll 1
|
||||
dll\win32\gdiplus\gdiplus.dll 1
|
||||
dll\win32\getuname\getuname.dll 1
|
||||
dll\win32\glu32\glu32.dll 1
|
||||
dll\win32\hhctrl.ocx\hhctrl.ocx 1
|
||||
dll\win32\hid\hid.dll 1
|
||||
|
|
33
reactos/dll/win32/getuname/getuname.c
Normal file
33
reactos/dll/win32/getuname/getuname.c
Normal file
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
* PROJECT: Unicode name dll
|
||||
* FILE: dll\win32\getuname\getuname.c
|
||||
* PURPOSE: Main file
|
||||
* PROGRAMMERS: Dmitry Chapyshev (dmitry@reactos.org)
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
int
|
||||
WINAPI
|
||||
GetUName(IN WORD wCharCode,
|
||||
OUT LPWSTR lpBuf)
|
||||
{
|
||||
wcscpy(lpBuf, L"Undefined");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
BOOL
|
||||
WINAPI
|
||||
DllMain(IN HINSTANCE hinstDLL,
|
||||
IN DWORD dwReason,
|
||||
IN LPVOID lpvReserved)
|
||||
{
|
||||
switch (dwReason)
|
||||
{
|
||||
case DLL_PROCESS_ATTACH:
|
||||
break;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
13
reactos/dll/win32/getuname/getuname.rbuild
Normal file
13
reactos/dll/win32/getuname/getuname.rbuild
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
|
||||
<module name="getuname" type="win32dll" baseaddress="${BASEADDRESS_GETUNAME}" installbase="system32" installname="getuname.dll" unicode="yes">
|
||||
<importlibrary definition="getuname.spec.def" />
|
||||
<include base="getuname">.</include>
|
||||
<define name="_WIN32_IE">0x600</define>
|
||||
<define name="WINVER">0x600</define>
|
||||
<define name="_WIN32_WINNT">0x600</define>
|
||||
<library>ntdll</library>
|
||||
<file>getuname.c</file>
|
||||
<file>getuname.rc</file>
|
||||
<file>getuname.spec</file>
|
||||
</module>
|
7
reactos/dll/win32/getuname/getuname.rc
Normal file
7
reactos/dll/win32/getuname/getuname.rc
Normal file
|
@ -0,0 +1,7 @@
|
|||
#include <windows.h>
|
||||
|
||||
#define REACTOS_VERSION_DLL
|
||||
#define REACTOS_STR_FILE_DESCRIPTION "Unicode name DLL\0"
|
||||
#define REACTOS_STR_INTERNAL_NAME "getuname\0"
|
||||
#define REACTOS_STR_ORIGINAL_FILENAME "getuname.dll\0"
|
||||
#include <reactos/version.rc>
|
1
reactos/dll/win32/getuname/getuname.spec
Normal file
1
reactos/dll/win32/getuname/getuname.spec
Normal file
|
@ -0,0 +1 @@
|
|||
@ stdcall GetUName(long ptr)
|
|
@ -97,6 +97,9 @@
|
|||
<directory name="gdiplus">
|
||||
<xi:include href="gdiplus/gdiplus.rbuild" />
|
||||
</directory>
|
||||
<directory name="getuname">
|
||||
<xi:include href="getuname/getuname.rbuild" />
|
||||
</directory>
|
||||
<directory name="glu32">
|
||||
<xi:include href="glu32/glu32.rbuild" />
|
||||
</directory>
|
||||
|
|
Loading…
Reference in a new issue