diff --git a/dlls/kernel32/file16.c b/dlls/kernel32/file16.c index ad30903b5c2..adaf1abd57f 100644 --- a/dlls/kernel32/file16.c +++ b/dlls/kernel32/file16.c @@ -539,6 +539,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) */ diff --git a/dlls/kernel32/krnl386.exe.spec b/dlls/kernel32/krnl386.exe.spec index 0005f370678..8b91b5d6a5d 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