mirror of
https://github.com/reactos/reactos.git
synced 2025-05-04 18:31:40 +00:00
[SHELL32]
* Move shellpath.cpp to the wine folder. * Rename shellpath.cpp to shellpath.c. * Partially sync shellpath.c with Wine 1.7.27. CORE-8540 svn path=/branches/shell-experiments/; revision=65221
This commit is contained in:
parent
ebaefd4cf3
commit
3a9653d24e
5 changed files with 1081 additions and 420 deletions
|
@ -45,7 +45,6 @@ list(APPEND SOURCE
|
|||
shellitem.cpp
|
||||
shelllink.cpp
|
||||
shellord.cpp
|
||||
shellpath.cpp
|
||||
shellreg.cpp
|
||||
folders/desktop.cpp
|
||||
folders/fs.cpp
|
||||
|
@ -77,6 +76,7 @@ add_library(shell32 SHARED
|
|||
${SOURCE}
|
||||
wine/shell32_main.c
|
||||
wine/shellole.c
|
||||
wine/shellpath.c
|
||||
wine/shellstring.c
|
||||
vista.c
|
||||
shell32.rc
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
||||
|
||||
BOOL PathIsExeW(LPCWSTR lpszPath);
|
||||
EXTERN_C BOOL PathIsExeW(LPCWSTR lpszPath);
|
||||
|
||||
BOOL CFileVersionInfo::Load(LPCWSTR pwszPath)
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
|||
// "NoInternetOpenWith"=dword:00000001
|
||||
//
|
||||
|
||||
BOOL PathIsExeW(LPCWSTR lpszPath);
|
||||
EXTERN_C BOOL PathIsExeW(LPCWSTR lpszPath);
|
||||
|
||||
class COpenWithList
|
||||
{
|
||||
|
|
|
@ -35,6 +35,10 @@
|
|||
#ifndef __WINE_PIDL_H
|
||||
#define __WINE_PIDL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* the pidl does cache fileattributes to speed up SHGetAttributes when
|
||||
* displaying a big number of files.
|
||||
|
@ -213,8 +217,8 @@ DWORD _ILSimpleGetText (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize);
|
|||
DWORD _ILSimpleGetTextW (LPCITEMIDLIST pidl, LPWSTR pOut, UINT uOutSize);
|
||||
BOOL _ILGetFileDate (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize);
|
||||
DWORD _ILGetFileSize (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize);
|
||||
EXTERN_C BOOL _ILGetExtension (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize);
|
||||
EXTERN_C void _ILGetFileType (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize);
|
||||
BOOL _ILGetExtension (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize);
|
||||
void _ILGetFileType (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize);
|
||||
DWORD _ILGetFileAttributes (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize);
|
||||
|
||||
BOOL _ILGetFileDateTime (LPCITEMIDLIST pidl, FILETIME *ft);
|
||||
|
@ -301,4 +305,8 @@ LPITEMIDLIST * _ILCopyCidaToaPidl(LPITEMIDLIST* pidl, const CIDA * cida);
|
|||
|
||||
BOOL WINAPI ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR path, DWORD type);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /* __WINE_PIDL_H */
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue