Vitaliy Margolen : kernel32: Implement GetShortPathName16.

Alexandre Julliard julliard at winehq.org
Mon Feb 23 10:00:18 CST 2009


Module: wine
Branch: master
Commit: 908eab4f1f0cf861531f31cf2bb858f779abf5f4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=908eab4f1f0cf861531f31cf2bb858f779abf5f4

Author: Vitaliy Margolen <wine-patches at kievinfo.com>
Date:   Sat Feb 21 13:19:43 2009 -0700

kernel32: Implement GetShortPathName16.

---

 dlls/kernel32/file16.c         |    9 +++++++++
 dlls/kernel32/krnl386.exe.spec |    2 +-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/file16.c b/dlls/kernel32/file16.c
index ad30903..adaf1ab 100644
--- a/dlls/kernel32/file16.c
+++ b/dlls/kernel32/file16.c
@@ -540,6 +540,15 @@ UINT16 WINAPI SetHandleCount16( UINT16 count )
 
 
 /***********************************************************************
+ *           GetShortPathName   (KERNEL.274)
+ */
+WORD WINAPI GetShortPathName16( LPCSTR longpath, LPSTR shortpath, WORD len )
+{
+    return GetShortPathNameA( longpath, shortpath, len );
+}
+
+
+/***********************************************************************
  *           WritePrivateProfileStruct (KERNEL.406)
  */
 BOOL16 WINAPI WritePrivateProfileStruct16 (LPCSTR section, LPCSTR key,
diff --git a/dlls/kernel32/krnl386.exe.spec b/dlls/kernel32/krnl386.exe.spec
index 0005f37..8b91b5d 100644
--- a/dlls/kernel32/krnl386.exe.spec
+++ b/dlls/kernel32/krnl386.exe.spec
@@ -249,7 +249,7 @@
 262 stub WOWWaitForMsgAndEvent
 263 stub WOWMsgBox
 273 stub K273
-274 stub GetShortPathName
+274 pascal -ret16 GetShortPathName(str ptr word) GetShortPathName16
 
 
 # 310-356 are again shared between all versions




More information about the wine-cvs mailing list