Commit bbb946f0 authored by Juergen Schmied's avatar Juergen Schmied Committed by Alexandre Julliard

New stubs: SHGetFileInfo32W, ReadCabinetState, WriteCabinetState, IsUserAdmin.

Implemented: SHGetPathFromIDList32W. Changed PathCombine.
parent 5371e452
......@@ -118,14 +118,15 @@ BOOL32 WINAPI Shell_GetImageList(HIMAGELIST * imglist1,HIMAGELIST * imglist2)
return TRUE;
}
HIMAGELIST ShellSmallIconList = 0;
HIMAGELIST ShellBigIconList = 0;
/*************************************************************************
* SHGetFileInfoA [SHELL32.218]
* SHGetFileInfoA [SHELL32.254]
*
* FIXME
*
*/
HIMAGELIST ShellSmallIconList = 0;
HIMAGELIST ShellBigIconList = 0;
DWORD WINAPI SHGetFileInfo32A(LPCSTR path,DWORD dwFileAttributes,
SHFILEINFO32A *psfi, UINT32 sizeofpsfi,
......@@ -232,6 +233,21 @@ DWORD WINAPI SHGetFileInfo32A(LPCSTR path,DWORD dwFileAttributes,
}
/*************************************************************************
* SHGetFileInfo32W [SHELL32.255]
*
* FIXME
*
*/
DWORD WINAPI SHGetFileInfo32W(LPCWSTR path,DWORD dwFileAttributes,
SHFILEINFO32W *psfi, UINT32 sizeofpsfi,
UINT32 flags )
{ FIXME(shell,"(%s,0x%lx,%p,0x%x,0x%x)\n",
debugstr_w(path),dwFileAttributes,psfi,sizeofpsfi,flags);
return 0;
}
/*************************************************************************
* ExtractIcon32A (SHELL32.133)
*/
HICON32 WINAPI ExtractIcon32A( HINSTANCE32 hInstance, LPCSTR lpszExeFileName,
......@@ -352,7 +368,7 @@ UINT32 WINAPI SHAppBarMessage32(DWORD msg, PAPPBARDATA data)
*
*/
LPITEMIDLIST WINAPI SHBrowseForFolder32A (LPBROWSEINFO32A lpbi)
{ FIXME (shell, "(0x%lx,%s): stub\n", (DWORD)lpbi, debugstr_a(lpbi->lpszTitle));
{ FIXME (shell, "(%lx,%s) empty stub!\n", (DWORD)lpbi, lpbi->lpszTitle);
return NULL;
}
......@@ -891,8 +907,14 @@ DWORD WINAPI SHGetPathFromIDList32A (LPCITEMIDLIST pidl,LPSTR pszPath)
* SHGetPathFromIDList32W [SHELL32.262]
*/
DWORD WINAPI SHGetPathFromIDList32W (LPCITEMIDLIST pidl,LPWSTR pszPath)
{ FIXME (shell,"(pidl=%p %s):stub.\n", pidl, debugstr_w(pszPath));
return 0;
{ char sTemp[MAX_PATH];
FIXME (shell,"(pidl=%p)\n", pidl);
SHGetPathFromIDList32A (pidl, sTemp);
lstrcpyAtoW(pszPath, sTemp);
TRACE(shell,"-- (%s)\n",debugstr_w(pszPath));
return NOERROR;
}
......
......@@ -248,8 +248,8 @@ init Shell32LibMain
240 stub SHEmptyRecycleBinA@12 # exported by name
241 stub SHEmptyRecycleBinW@12 # exported by name
242 stdcall SHFileOperation (ptr) SHFileOperation32 # exported by name
243 stdcall SHFileOperationA (long) SHFileOperationA # exported by name
244 stub SHFileOperationW@4 # exported by name
243 stdcall SHFileOperationA (ptr) SHFileOperation32A # exported by name
244 stdcall SHFileOperationW (ptr) SHFileOperation32W # exported by name
245 stub SHFormatDrive@16 # exported by name
246 stub SHFreeNameMappings@4 # exported by name
247 stdcall SHGetDataFromIDListA (long long long long long) SHGetDataFromIDListA # exported by name
......@@ -260,7 +260,7 @@ init Shell32LibMain
252 stdcall SHGetDesktopFolder(ptr) SHGetDesktopFolder # exported by name
253 stdcall SHGetFileInfo(ptr long ptr long long) SHGetFileInfo32A # exported by name
254 stdcall SHGetFileInfoA(ptr long ptr long long) SHGetFileInfo32A # exported by name
255 stub SHGetFileInfoW@20 # exported by name
255 stdcall SHGetFileInfoW(ptr long ptr long long) SHGetFileInfo32W # exported by name
256 stdcall SHGetInstanceExplorer (long) SHGetInstanceExplorer
257 stdcall SHGetMalloc(ptr) SHGetMalloc # exported by name
258 stub SHGetNewLinkInfo@20 # exported by name
......@@ -343,7 +343,7 @@ init Shell32LibMain
508 stub SHRegQueryValueA@16
509 stub SHRegQueryValueExA@24
510 stub SHRegQueryValueW@16
511 stub SHRegQueryValueExW@24
511 stdcall SHRegQueryValueExW (long wstr ptr ptr ptr ptr) SHRegQueryValueEx32W
512 stub SHRegDeleteKeyW@8
520 stub SHAllocShared@12
......@@ -364,13 +364,13 @@ init Shell32LibMain
648 stub SHWaitOp_Operate@8
650 stub PathIsSameRoot
651 stub ReadCabinetState
652 stub WriteCabinetState@4
651 stdcall ReadCabinetState (long long) ReadCabinetState
652 stdcall WriteCabinetState (long) WriteCabinetState
653 stub PathProcessCommand
660 stub FileIconInit
680 stub IsUserAdmin
680 stdcall IsUserAdmin () IsUserAdmin
1217 stub FOOBAR1217 # no joke! This is the real name!!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment