- Add getuname.dll (stub). charmap.exe from winxp work now

svn path=/trunk/; revision=36692
This commit is contained in:
Dmitry Chapyshev 2008-10-08 11:51:03 +00:00
parent f5cbabe20c
commit d63ea3d381
7 changed files with 59 additions and 0 deletions

View file

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

View file

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

View 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;
}

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

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

View file

@ -0,0 +1 @@
@ stdcall GetUName(long ptr)

View file

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