[ros-diffs] [dchapyshev] 36692: - Add getuname.dll (stub). charmap.exe from winxp work now

dchapyshev at svn.reactos.org dchapyshev at svn.reactos.org
Wed Oct 8 13:51:06 CEST 2008


Author: dchapyshev
Date: Wed Oct  8 06:51:03 2008
New Revision: 36692

URL: http://svn.reactos.org/svn/reactos?rev=36692&view=rev
Log:
- Add getuname.dll (stub). charmap.exe from winxp work now

Added:
    trunk/reactos/dll/win32/getuname/   (with props)
    trunk/reactos/dll/win32/getuname/getuname.c   (with props)
    trunk/reactos/dll/win32/getuname/getuname.rbuild   (with props)
    trunk/reactos/dll/win32/getuname/getuname.rc   (with props)
    trunk/reactos/dll/win32/getuname/getuname.spec   (with props)
Modified:
    trunk/reactos/baseaddress.rbuild
    trunk/reactos/boot/bootdata/packages/reactos.dff
    trunk/reactos/dll/win32/win32.rbuild

Modified: trunk/reactos/baseaddress.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/baseaddress.rbuild?rev=36692&r1=36691&r2=36692&view=diff
==============================================================================
--- trunk/reactos/baseaddress.rbuild [iso-8859-1] (original)
+++ trunk/reactos/baseaddress.rbuild [iso-8859-1] Wed Oct  8 06:51:03 2008
@@ -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" />

Modified: trunk/reactos/boot/bootdata/packages/reactos.dff
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/packages/reactos.dff?rev=36692&r1=36691&r2=36692&view=diff
==============================================================================
--- trunk/reactos/boot/bootdata/packages/reactos.dff [iso-8859-1] (original)
+++ trunk/reactos/boot/bootdata/packages/reactos.dff [iso-8859-1] Wed Oct  8 06:51:03 2008
@@ -256,6 +256,7 @@
 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

Propchange: trunk/reactos/dll/win32/getuname/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Wed Oct  8 06:51:03 2008
@@ -1,0 +1,2 @@
+([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))?
+(\d+)

Propchange: trunk/reactos/dll/win32/getuname/
------------------------------------------------------------------------------
    bugtraq:message = See issue #%BUGID% for more details.

Propchange: trunk/reactos/dll/win32/getuname/
------------------------------------------------------------------------------
    bugtraq:url = http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%

Propchange: trunk/reactos/dll/win32/getuname/
------------------------------------------------------------------------------
    tsvn:logminsize = 10

Added: trunk/reactos/dll/win32/getuname/getuname.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/getuname/getuname.c?rev=36692&view=auto
==============================================================================
--- trunk/reactos/dll/win32/getuname/getuname.c (added)
+++ trunk/reactos/dll/win32/getuname/getuname.c [iso-8859-1] Wed Oct  8 06:51:03 2008
@@ -1,0 +1,33 @@
+/*
+ * PROJECT:         Unicode name dll
+ * FILE:            dll\win32\getuname\getuname.c
+ * PURPOSE:         Main file
+ * PROGRAMMERS:     Dmitry Chapyshev (dmitry at 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;
+}

Propchange: trunk/reactos/dll/win32/getuname/getuname.c
------------------------------------------------------------------------------
    svn:eol-style = native

Added: trunk/reactos/dll/win32/getuname/getuname.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/getuname/getuname.rbuild?rev=36692&view=auto
==============================================================================
--- trunk/reactos/dll/win32/getuname/getuname.rbuild (added)
+++ trunk/reactos/dll/win32/getuname/getuname.rbuild [iso-8859-1] Wed Oct  8 06:51:03 2008
@@ -1,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>

Propchange: trunk/reactos/dll/win32/getuname/getuname.rbuild
------------------------------------------------------------------------------
    svn:eol-style = native

Added: trunk/reactos/dll/win32/getuname/getuname.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/getuname/getuname.rc?rev=36692&view=auto
==============================================================================
--- trunk/reactos/dll/win32/getuname/getuname.rc (added)
+++ trunk/reactos/dll/win32/getuname/getuname.rc [iso-8859-1] Wed Oct  8 06:51:03 2008
@@ -1,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>

Propchange: trunk/reactos/dll/win32/getuname/getuname.rc
------------------------------------------------------------------------------
    svn:eol-style = native

Added: trunk/reactos/dll/win32/getuname/getuname.spec
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/getuname/getuname.spec?rev=36692&view=auto
==============================================================================
--- trunk/reactos/dll/win32/getuname/getuname.spec (added)
+++ trunk/reactos/dll/win32/getuname/getuname.spec [iso-8859-1] Wed Oct  8 06:51:03 2008
@@ -1,0 +1,1 @@
+@ stdcall GetUName(long ptr)

Propchange: trunk/reactos/dll/win32/getuname/getuname.spec
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: trunk/reactos/dll/win32/win32.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/win32.rbuild?rev=36692&r1=36691&r2=36692&view=diff
==============================================================================
--- trunk/reactos/dll/win32/win32.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/win32.rbuild [iso-8859-1] Wed Oct  8 06:51:03 2008
@@ -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>



More information about the Ros-diffs mailing list