Added IsLFNDriveA/W/AW exports and two more stubs.

This commit is contained in:
Rolf Kalbermatter 2003-09-30 00:19:44 +00:00 committed by Alexandre Julliard
parent f80b869939
commit 82f46ab1c3
2 changed files with 31 additions and 6 deletions

View File

@ -35,6 +35,8 @@
38 stdcall PathStripPath(ptr)PathStripPathAW 38 stdcall PathStripPath(ptr)PathStripPathAW
39 stdcall PathIsUNC (ptr) PathIsUNCAW 39 stdcall PathIsUNC (ptr) PathIsUNCAW
40 stdcall PathIsRelative (ptr) PathIsRelativeAW 40 stdcall PathIsRelative (ptr) PathIsRelativeAW
41 stdcall IsLFNDriveA(str)
42 stdcall IsLFNDriveW(wstr)
43 stdcall PathIsExe (ptr) PathIsExeAW 43 stdcall PathIsExe (ptr) PathIsExeAW
45 stdcall PathFileExists(ptr) PathFileExistsAW 45 stdcall PathFileExists(ptr) PathFileExistsAW
46 stdcall PathMatchSpec (ptr ptr) PathMatchSpecAW 46 stdcall PathMatchSpec (ptr ptr) PathMatchSpecAW
@ -92,6 +94,7 @@
98 stdcall SHGetRealIDL (ptr ptr ptr) 98 stdcall SHGetRealIDL (ptr ptr ptr)
99 stdcall SetAppStartingCursor (long long) 99 stdcall SetAppStartingCursor (long long)
100 stdcall SHRestricted(long) 100 stdcall SHRestricted(long)
102 stdcall SHCoCreateInstance(ptr ptr long ptr ptr) 102 stdcall SHCoCreateInstance(ptr ptr long ptr ptr)
103 stdcall SignalFileOpen(long) 103 stdcall SignalFileOpen(long)
104 stdcall FileMenu_DeleteAllItems(long) 104 stdcall FileMenu_DeleteAllItems(long)
@ -109,7 +112,7 @@
116 stdcall FileMenu_TrackPopupMenuEx (long long long long long long) 116 stdcall FileMenu_TrackPopupMenuEx (long long long long long long)
117 stdcall FileMenu_DeleteItemByCmd(long long) 117 stdcall FileMenu_DeleteItemByCmd(long long)
118 stdcall FileMenu_Destroy (long) 118 stdcall FileMenu_Destroy (long)
119 stdcall IsLFNDrive(str) IsLFNDriveA 119 stdcall IsLFNDrive(ptr) IsLFNDriveAW
120 stdcall FileMenu_AbortInitMenu () 120 stdcall FileMenu_AbortInitMenu ()
121 stdcall SHFlushClipboard () 121 stdcall SHFlushClipboard ()
122 stdcall RunDLL_CallEntry16 (long long long long long) #name wrong? 122 stdcall RunDLL_CallEntry16 (long long long long long) #name wrong?
@ -138,6 +141,7 @@
146 stdcall RLBuildListOfPaths() 146 stdcall RLBuildListOfPaths()
147 stdcall SHCLSIDFromString(long long) SHCLSIDFromStringAW 147 stdcall SHCLSIDFromString(long long) SHCLSIDFromStringAW
149 stdcall SHFind_InitMenuPopup(long long long long) 149 stdcall SHFind_InitMenuPopup(long long long long)
151 stdcall SHLoadOLE (long) 151 stdcall SHLoadOLE (long)
152 stdcall ILGetSize(ptr) 152 stdcall ILGetSize(ptr)
153 stdcall ILGetNext(ptr) 153 stdcall ILGetNext(ptr)
@ -174,6 +178,8 @@
184 stdcall ArrangeWindows(long long long long long) 184 stdcall ArrangeWindows(long long long long long)
185 stub SHHandleDiskFull 185 stub SHHandleDiskFull
186 stdcall ILGetDisplayNameEx(ptr ptr ptr long) 186 stdcall ILGetDisplayNameEx(ptr ptr ptr long)
187 stub ILGetPseudoNameW
188 stub ShellDDEInit
189 stdcall ILCreateFromPathA(str) 189 stdcall ILCreateFromPathA(str)
190 stdcall ILCreateFromPathW(wstr) 190 stdcall ILCreateFromPathW(wstr)
195 stdcall SHFree(ptr) 195 stdcall SHFree(ptr)

View File

@ -426,10 +426,7 @@ BOOL WINAPI PathIsSameRootAW(LPCVOID lpszPath1, LPCVOID lpszPath2)
} }
/************************************************************************* /*************************************************************************
* IsLFNDrive [SHELL32.119] * IsLFNDriveA [SHELL32.41]
*
* NOTES
* exported by ordinal Name
*/ */
BOOL WINAPI IsLFNDriveA(LPCSTR lpszPath) BOOL WINAPI IsLFNDriveA(LPCSTR lpszPath)
{ {
@ -440,6 +437,28 @@ BOOL WINAPI IsLFNDriveA(LPCSTR lpszPath)
return fnlen > 12; return fnlen > 12;
} }
/*************************************************************************
* IsLFNDriveW [SHELL32.42]
*/
BOOL WINAPI IsLFNDriveW(LPCWSTR lpszPath)
{
DWORD fnlen;
if (!GetVolumeInformationW(lpszPath, NULL, 0, NULL, &fnlen, NULL, NULL, 0))
return FALSE;
return fnlen>12;
}
/*************************************************************************
* IsLFNDrive [SHELL32.119]
*/
BOOL WINAPI IsLFNDriveAW(LPCVOID lpszPath)
{
if (SHELL_OsIsUnicode())
return IsLFNDriveW(lpszPath);
return IsLFNDriveA(lpszPath);
}
/* /*
########## Creating Something Unique ########## ########## Creating Something Unique ##########
*/ */