Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
62519abb
Commit
62519abb
authored
Jan 07, 2001
by
Huw D M Davies
Committed by
Alexandre Julliard
Jan 07, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved all the documented shlwapi functions out of undocshell.h into
shlwapi.h. Nothing but files in dlls/shell32 will now include undocshell.h.
parent
b904063b
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
151 additions
and
136 deletions
+151
-136
clipboard.c
dlls/shell32/clipboard.c
+1
-0
enumidlist.c
dlls/shell32/enumidlist.c
+1
-0
pidl.c
dlls/shell32/pidl.c
+2
-1
shellpath.c
dlls/shell32/shellpath.c
+1
-2
shlfileop.c
dlls/shell32/shlfileop.c
+1
-0
shlmenu.c
dlls/shell32/shlmenu.c
+1
-1
ordinal.c
dlls/shlwapi/ordinal.c
+5
-1
path.c
dlls/shlwapi/path.c
+4
-1
reg.c
dlls/shlwapi/reg.c
+1
-1
shlwapi.h
include/shlwapi.h
+99
-42
undocshell.h
include/wine/undocshell.h
+35
-87
No files found.
dlls/shell32/clipboard.c
View file @
62519abb
...
...
@@ -24,6 +24,7 @@
#include "debugtools.h"
#include "pidl.h"
#include "shlwapi.h"
#include "wine/undocshell.h"
#include "shell32_main.h"
...
...
dlls/shell32/enumidlist.c
View file @
62519abb
...
...
@@ -9,6 +9,7 @@
#include "debugtools.h"
#include "winreg.h"
#include "wine/undocshell.h"
#include "shlwapi.h"
#include "winerror.h"
#include "wine/obj_base.h"
#include "wine/obj_enumidlist.h"
...
...
dlls/shell32/pidl.c
View file @
62519abb
...
...
@@ -19,6 +19,7 @@
#include "wine/undocshell.h"
#include "shell32_main.h"
#include "shellapi.h"
#include "shlwapi.h"
#include "pidl.h"
...
...
@@ -1412,7 +1413,7 @@ BOOL _ILIsPidlSimple ( LPCITEMIDLIST pidl)
*
* gets the text for the first item in the pidl (eg. simple pidl)
*
* returns the leng
ht
of the string
* returns the leng
th
of the string
*/
DWORD
_ILSimpleGetText
(
LPCITEMIDLIST
pidl
,
LPSTR
szOut
,
UINT
uOutSize
)
{
...
...
dlls/shell32/shellpath.c
View file @
62519abb
...
...
@@ -19,7 +19,6 @@
DEFAULT_DEBUG_CHANNEL
(
shell
);
#define isSlash(x) ((x)=='\\' || (x)=='/')
/*
########## Combining and Constructing paths ##########
*/
...
...
@@ -493,7 +492,7 @@ BOOL WINAPI PathFindOnPathAW(LPVOID sFile, LPCVOID sOtherDirs)
/*************************************************************************
* PathCleanupSpecAW [SHELL32]
*/
DWORD
WINAPI
PathCleanupSpecAW
(
LPVOID
x
,
LPVOID
y
)
DWORD
WINAPI
PathCleanupSpecAW
(
LP
C
VOID
x
,
LPVOID
y
)
{
FIXME
(
"(%p, %p) stub
\n
"
,
x
,
y
);
return
TRUE
;
...
...
dlls/shell32/shlfileop.c
View file @
62519abb
...
...
@@ -9,6 +9,7 @@
#include "shresdef.h"
#include "shell32_main.h"
#include "wine/undocshell.h"
#include "shlwapi.h"
DEFAULT_DEBUG_CHANNEL
(
shell
);
...
...
dlls/shell32/shlmenu.c
View file @
62519abb
...
...
@@ -8,7 +8,7 @@
#include "wine/obj_enumidlist.h"
#include "wine/obj_shellfolder.h"
#include "wine/undocshell.h"
#include "shlwapi.h"
#include "heap.h"
#include "debugtools.h"
#include "shell32_main.h"
...
...
dlls/shlwapi/ordinal.c
View file @
62519abb
...
...
@@ -8,8 +8,12 @@
#include <stdio.h>
#include "windef.h"
#include "wine/undocshell.h"
#include "winnls.h"
#include "winbase.h"
#include "wine/unicode.h"
#include "wine/obj_base.h"
#include "wingdi.h"
#include "winuser.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL
(
shell
);
...
...
dlls/shlwapi/path.c
View file @
62519abb
...
...
@@ -7,10 +7,13 @@
#include "winerror.h"
#include "wine/unicode.h"
#include "wine/undocshell.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "shlwapi.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL
(
shell
);
#define isSlash(x) ((x)=='\\' || (x)=='/')
...
...
dlls/shlwapi/reg.c
View file @
62519abb
...
...
@@ -5,8 +5,8 @@
#include "windef.h"
#include "winerror.h"
#include "winreg.h"
#include "wine/undocshell.h"
#include "debugtools.h"
#include "shlwapi.h"
DEFAULT_DEBUG_CHANNEL
(
shell
);
...
...
include/shlwapi.h
View file @
62519abb
...
...
@@ -27,75 +27,131 @@ extern "C" {
#define URL_ESCAPE_UNSAFE 0x20000000
#define URL_DONT_SIMPLIFY 0x40000000
LPSTR
WINAPI
PathAddBackslashA
(
LPSTR
path
);
LPWSTR
WINAPI
PathAddBackslashW
(
LPWSTR
path
);
#define PathAddBackslash WINELIB_NAME_AW(PathAddBackslash)
BOOL
WINAPI
PathAddExtensionA
(
LPSTR
pszPath
,
LPCSTR
pszExt
);
BOOL
WINAPI
PathAddExtensionW
(
LPWSTR
pszPath
,
LPCWSTR
pszExt
);
#define PathAddExtension WINELIB_NAME_AW(PathAddExtension)
BOOL
WINAPI
PathAppendA
(
LPSTR
lpszPath1
,
LPCSTR
lpszPath2
);
BOOL
WINAPI
PathAppendW
(
LPWSTR
lpszPath1
,
LPCWSTR
lpszPath2
);
#define PathAppend WINELIB_NAME_AW(PathAppend)
LPSTR
WINAPI
PathBuildRootA
(
LPSTR
lpszPath
,
int
drive
);
LPWSTR
WINAPI
PathBuildRootW
(
LPWSTR
lpszPath
,
int
drive
);
#define PathBuildRoot WINELIB_NAME_AW(PathBuiltRoot)
LPSTR
WINAPI
PathGetArgsA
(
LPCSTR
lpszPath
);
LPWSTR
WINAPI
PathGetArgsW
(
LPCWSTR
lpszPath
);
BOOL
WINAPI
PathRemoveFileSpecA
(
LPSTR
lpszPath
);
BOOL
WINAPI
PathRemoveFileSpecW
(
LPWSTR
lpszPath
);
void
WINAPI
PathStripPathA
(
LPSTR
lpszPath
);
void
WINAPI
PathStripPathW
(
LPWSTR
lpszPath
);
void
WINAPI
PathRemoveArgsA
(
LPSTR
lpszPath
);
void
WINAPI
PathRemoveArgsW
(
LPWSTR
lpszPath
);
void
WINAPI
PathRemoveExtensionA
(
LPSTR
lpszPath
);
void
WINAPI
PathRemoveExtensionW
(
LPWSTR
lpszPath
);
void
WINAPI
PathUnquoteSpacesA
(
LPSTR
str
);
void
WINAPI
PathUnquoteSpacesW
(
LPWSTR
str
);
int
WINAPI
PathParseIconLocationA
(
LPSTR
lpszPath
);
int
WINAPI
PathParseIconLocationW
(
LPWSTR
lpszPath
);
BOOL
WINAPI
PathCanonicalizeA
(
LPSTR
lpszDst
,
LPCSTR
lpszSrc
);
BOOL
WINAPI
PathCanonicalizeW
(
LPWSTR
lpszDst
,
LPCWSTR
lpszSrc
);
#define PathCanonicalize WINELIB_NAME_AW(PathCanonicalize)
BOOL
WINAPI
PathIsDirectoryA
(
LPCSTR
lpszPath
);
BOOL
WINAPI
PathIsDirectoryW
(
LPCWSTR
lpszPath
);
LPSTR
WINAPI
PathCombineA
(
LPSTR
szDest
,
LPCSTR
lpszDir
,
LPCSTR
lpszFile
);
LPWSTR
WINAPI
PathCombineW
(
LPWSTR
szDest
,
LPCWSTR
lpszDir
,
LPCWSTR
lpszFile
);
#define PathCombine WINELIB_NAME_AW(PathCombine)
BOOL
WINAPI
PathFileExistsA
(
LPCSTR
lpszPath
);
BOOL
WINAPI
PathFileExistsW
(
LPCWSTR
lpszPath
);
#define PathFileExists WINELIB_NAME_AW(PathFileExists)
BOOL
WINAPI
PathIsSameRootA
(
LPCSTR
lpszPath1
,
LPCSTR
lpszPath2
);
BOOL
WINAPI
PathIsSameRootW
(
LPCWSTR
lpszPath1
,
LPCWSTR
lpszPath2
);
BOOL
WINAPI
PathSetDlgItemPathA
(
HWND
hDlg
,
int
id
,
LPCSTR
pszPath
);
BOOL
WINAPI
PathSetDlgItemPathW
(
HWND
hDlg
,
int
id
,
LPCWSTR
pszPath
);
LPSTR
WINAPI
PathFindExtensionA
(
LPCSTR
path
);
LPWSTR
WINAPI
PathFindExtensionW
(
LPCWSTR
path
);
#define PathFindExtension WINELIB_NAME_AW(PathFindExtension)
LPSTR
WINAPI
PathFindFileNameA
(
LPCSTR
pPath
);
LPWSTR
WINAPI
PathFindFileNameW
(
LPCWSTR
pPath
);
#define PathFindFileName WINELIB_NAME_AW(PathFindFileName)
LPVOID
WINAPI
PathFindFileNameAW
(
LPCVOID
path
);
LPSTR
WINAPI
PathFindNextComponentA
(
LPCSTR
pszPath
);
LPWSTR
WINAPI
PathFindNextComponentW
(
LPCWSTR
pszPath
);
#define PathFindNextComponent WINELIB_NAME_AW(PathFindNextComponent)
BOOL
WINAPI
PathFindOnPathA
(
LPSTR
sFile
,
LPCSTR
sOtherDirs
);
BOOL
WINAPI
PathFindOnPathW
(
LPWSTR
sFile
,
LPCWSTR
sOtherDirs
);
#define PathFindOnPath WINELIB_NAME_AW(PathFindOnPath)
LPSTR
WINAPI
PathGetArgsA
(
LPCSTR
lpszPath
);
LPWSTR
WINAPI
PathGetArgsW
(
LPCWSTR
lpszPath
);
#define PathGetArgs WINELIB_NAME_AW(PathGetArgs)
int
WINAPI
PathGetDriveNumberA
(
LPCSTR
lpszPath
);
int
WINAPI
PathGetDriveNumberW
(
LPCWSTR
lpszPath
);
#define PathGetDriveNumber WINELIB_NAME_AW(PathGetDriveNumber)
BOOL
WINAPI
Path
CanonicalizeA
(
LPSTR
lpszDst
,
LPCSTR
lpszSrc
);
BOOL
WINAPI
Path
CanonicalizeW
(
LPWSTR
lpszDst
,
LPCWSTR
lpszSrc
);
#define Path
Canonicalize WINELIB_NAME_AW(PathCanonicalize
)
BOOL
WINAPI
Path
IsDirectoryA
(
LPCSTR
lpszPath
);
BOOL
WINAPI
Path
IsDirectoryW
(
LPCWSTR
lpszPath
);
#define Path
IsDirectory WINELIB_NAME_AW(PathIsDirectory
)
LPSTR
WINAPI
PathFindNextComponentA
(
LPCSTR
pszPath
);
LPWSTR
WINAPI
PathFindNextComponentW
(
LPCWSTR
pszPath
);
#define PathFindNextComponent WINELIB_NAME_AW(PathFindNextComponent)
BOOL
WINAPI
PathIsRelativeA
(
LPCSTR
lpszPath
);
BOOL
WINAPI
PathIsRelativeW
(
LPCWSTR
lpszPath
);
#define PathIsRelative WINELIB_NAME_AW(PathIsRelative)
BOOL
WINAPI
PathIsRootA
(
LPCSTR
x
);
BOOL
WINAPI
PathIsRootW
(
LPCWSTR
x
);
#define PathIsRoot WINELIB_NAME_AW(PathIsRoot)
BOOL
WINAPI
PathIsSameRootA
(
LPCSTR
lpszPath1
,
LPCSTR
lpszPath2
);
BOOL
WINAPI
PathIsSameRootW
(
LPCWSTR
lpszPath1
,
LPCWSTR
lpszPath2
);
#define PathIsSameRoot WINELIB_NAME_AW(PathIsSameRoot)
BOOL
WINAPI
PathIsUNCA
(
LPCSTR
lpszPath
);
BOOL
WINAPI
PathIsUNCW
(
LPCWSTR
lpszPath
);
#define PathIsUNC WINELIB_NAME_AW(PathIsUNC)
BOOL
WINAPI
PathIsURLA
(
LPCSTR
pszPath
);
BOOL
WINAPI
PathIsURLW
(
LPCWSTR
pszPath
);
#define PathIsURL WINELIB_NAME_AW(PathIsURL)
BOOL
WINAPI
PathAddExtensionA
(
LPSTR
pszPath
,
LPCSTR
pszExt
);
BOOL
WINAPI
PathAddExtensionW
(
LPWSTR
pszPath
,
LPCWSTR
pszExt
);
#define PathAddExtension WINELIB_NAME_AW(PathAddExtension)
BOOL
WINAPI
PathMatchSpecA
(
LPCSTR
lpszPath
,
LPCSTR
lpszSpec
);
BOOL
WINAPI
PathMatchSpecW
(
LPCWSTR
lpszPath
,
LPCWSTR
lpszSpec
);
#define PathMatchSpec WINELIB_NAME_AW(PathMatchSpec)
int
WINAPI
PathParseIconLocationA
(
LPSTR
lpszPath
);
int
WINAPI
PathParseIconLocationW
(
LPWSTR
lpszPath
);
#define PathParseIconLocation WINELIB_NAME_AW(PathParseIconLocation)
LPSTR
WINAPI
PathQuoteSpacesA
(
LPSTR
path
);
LPWSTR
WINAPI
PathQuoteSpacesW
(
LPWSTR
path
);
#define PathQuoteSpaces WINELIB_NAME_AW(PathQuoteSpaces)
void
WINAPI
PathRemoveArgsA
(
LPSTR
lpszPath
);
void
WINAPI
PathRemoveArgsW
(
LPWSTR
lpszPath
);
#define PathRemoveArgs WINELIB_NAME_AW(PathRemoveArgs)
LPSTR
WINAPI
PathRemoveBackslashA
(
LPSTR
lpszPath
);
LPWSTR
WINAPI
PathRemoveBackslashW
(
LPWSTR
lpszPath
);
#define PathRemoveBackslash WINELIB_NAME_AW(PathRemoveBackslash)
void
WINAPI
PathRemoveBlanksA
(
LPSTR
lpszPath
);
void
WINAPI
PathRemoveBlanksW
(
LPWSTR
lpszPath
);
#define PathRemoveBlanks WINELIB_NAME_AW(PathRemoveBlanks)
void
WINAPI
PathRemoveExtensionA
(
LPSTR
lpszPath
);
void
WINAPI
PathRemoveExtensionW
(
LPWSTR
lpszPath
);
#define PathRemoveExtension WINELIB_NAME_AW(PathRemoveExtension)
BOOL
WINAPI
PathRemoveFileSpecA
(
LPSTR
lpszPath
);
BOOL
WINAPI
PathRemoveFileSpecW
(
LPWSTR
lpszPath
);
#define PathRemoveFileSpec WINELIB_NAME_AW(PathRemoveFileSpec)
BOOL
WINAPI
PathSetDlgItemPathA
(
HWND
hDlg
,
int
id
,
LPCSTR
pszPath
);
BOOL
WINAPI
PathSetDlgItemPathW
(
HWND
hDlg
,
int
id
,
LPCWSTR
pszPath
);
#define PathSetDlgItemPath WINELIB_NAME_AW(PathSetDlgItemPath)
void
WINAPI
PathStripPathA
(
LPSTR
lpszPath
);
void
WINAPI
PathStripPathW
(
LPWSTR
lpszPath
);
#define PathStripPath WINELIB_NAME_AW(PathStripPath)
BOOL
WINAPI
PathStripToRootA
(
LPSTR
pszPath
);
BOOL
WINAPI
PathStripToRootW
(
LPWSTR
pszPath
);
#define PathStripToRoot WINELIB_NAME_AW(PathStripToRoot)
void
WINAPI
PathUnquoteSpacesA
(
LPSTR
str
);
void
WINAPI
PathUnquoteSpacesW
(
LPWSTR
str
);
#define PathUnquoteSpaces WINELIB_NAME_AW(PathUnquoteSpaces)
INT
WINAPI
StrCSpnA
(
LPCSTR
lpStr
,
LPCSTR
lpSet
);
INT
WINAPI
StrCSpnW
(
LPCWSTR
lpStr
,
LPCWSTR
lpSet
);
#define StrCSpn WINELIB_NAME_AW(StrCSpn)
...
...
@@ -132,17 +188,18 @@ LPSTR WINAPI StrDupA(LPCSTR lpSrc);
LPWSTR
WINAPI
StrDupW
(
LPCWSTR
lpSrc
);
#define StrDup WINELIB_NAME_AW(StrDup)
LPSTR
WINAPI
StrFormatByteSizeA
(
DWORD
dw
,
LPSTR
pszBuf
,
UINT
cchBuf
);
LPWSTR
WINAPI
StrFormatByteSizeW
(
DWORD
dw
,
LPWSTR
pszBuf
,
UINT
cchBuf
);
#define StrFormatByteSize WINELIB_NAME_AW(StrFormatByteSize)
struct
_STRRET
;
struct
_ITEMIDLIST
;
HRESULT
WINAPI
StrRetToBufA
(
struct
_STRRET
*
src
,
const
struct
_ITEMIDLIST
*
pidl
,
LPSTR
dest
,
DWORD
len
);
HRESULT
WINAPI
StrRetToBufW
(
struct
_STRRET
*
src
,
const
struct
_ITEMIDLIST
*
pidl
,
LPWSTR
dest
,
DWORD
len
);
#define StrRetToBuf WINELIB_NAME_AW(StrRetToBuf)
void
WINAPI
PathRemoveBlanksA
(
LPSTR
lpszPath
);
void
WINAPI
PathRemoveBlanksW
(
LPWSTR
lpszPath
);
#define PathRemoveBlanks WINELIB_NAME_AW(PathRemoveBlanks)
void
WINAPI
PathRemoveBlanksAW
(
LPVOID
lpszPath
);
HRESULT
WINAPI
SHDeleteKeyA
(
HKEY
hKey
,
LPCSTR
lpszSubKey
);
HRESULT
WINAPI
SHDeleteKeyW
(
HKEY
hkey
,
LPCWSTR
pszSubKey
);
#define SHDeleteKey WINELIB_NAME_AW(SHDeleteKey)
...
...
include/wine/undocshell.h
View file @
62519abb
...
...
@@ -531,94 +531,62 @@ HRESULT WINAPI CIDLData_CreateFromIDArray(
* Path Manipulation Routines
*/
LPSTR
WINAPI
PathAppend
(
LPSTR
lpszPath1
,
LPCSTR
lpszPath2
);
BOOL
WINAPI
PathAppendAW
(
LPVOID
lpszPath1
,
LPCVOID
lpszPath2
);
LPSTR
WINAPI
PathCombineA
(
LPSTR
szDest
,
LPCSTR
lpszDir
,
LPCSTR
lpszFile
);
LPWSTR
WINAPI
PathCombineW
(
LPWSTR
szDest
,
LPCWSTR
lpszDir
,
LPCWSTR
lpszFile
);
#define PathCombine WINELIB_NAME_AW(PathCombine)
LPVOID
WINAPI
PathCombineAW
(
LPVOID
szDest
,
LPCVOID
lpszDir
,
LPCVOID
lpszFile
);
LPSTR
WINAPI
PathAddBackslashA
(
LPSTR
path
);
LPWSTR
WINAPI
PathAddBackslashW
(
LPWSTR
path
);
#define PathAddBackslash WINELIB_NAME_AW(PathAddBackslash)
LPVOID
WINAPI
PathAddBackslashAW
(
LPVOID
path
);
LPSTR
WINAPI
PathRemoveBackslashA
(
LPSTR
lpszPath
);
LPWSTR
WINAPI
PathRemoveBackslashW
(
LPWSTR
lpszPath
);
#define PathRemoveBackslash WINELIB_NAME_AW(PathRemoveBackslash)
LPVOID
WINAPI
PathBuildRootAW
(
LPVOID
lpszPath
,
int
drive
);
LPSTR
WINAPI
PathBuildRoot
(
LPSTR
lpszPath
,
int
drive
);
LPSTR
WINAPI
PathFindExtensionA
(
LPCSTR
path
);
LPWSTR
WINAPI
PathFindExtensionW
(
LPCWSTR
path
);
#define PathFindExtension WINELIB_NAME_AW(PathFindExtension)
LPVOID
WINAPI
PathFindExtensionAW
(
LPCVOID
path
);
LPVOID
WINAPI
PathFindFileNameAW
(
LPCVOID
path
);
LPVOID
WINAPI
PathGetExtensionAW
(
LPCVOID
lpszPath
);
LP
STR
WINAPI
PathGetArgs
(
LPCSTR
lpszPath
);
LP
VOID
WINAPI
PathGetArgsAW
(
LPVOID
lpszPath
);
BOOL
WINAPI
PathRemoveFileSpec
(
LPSTR
lpszPath
);
BOOL
WINAPI
PathRemoveFileSpec
AW
(
LPVOID
lpszPath
);
LPSTR
WINAPI
PathGetShortPath
(
LPSTR
lpszPath
);
LPVOID
WINAPI
PathGetShortPathAW
(
LPVOID
lpszPath
);
void
WINAPI
PathRemoveBlanksAW
(
LPVOID
lpszPath
);
LPSTR
WINAPI
PathQuoteSpacesA
(
LPSTR
path
);
LPWSTR
WINAPI
PathQuoteSpacesW
(
LPWSTR
path
);
#define PathQuoteSpaces WINELIB_NAME_AW(PathQuoteSpaces)
LPVOID
WINAPI
PathQuoteSpacesAW
(
LPVOID
path
);
void
WINAPI
PathUnquoteSpaces
(
LPSTR
lpszPath
);
void
WINAPI
PathUnquoteSpaces
AW
(
LPVOID
lpszPath
);
BOOL
WINAPI
PathIsUNCA
(
LPCSTR
lpszPath
);
BOOL
WINAPI
PathIsUNCW
(
LPCWSTR
lpszPath
);
#define PathIsUNC WINELIB_NAME_AW(PathIsUNC)
BOOL
WINAPI
PathIsUNCAW
(
LPCVOID
lpszPath
);
BOOL
WINAPI
PathIsRelativeA
(
LPCSTR
lpszPath
);
BOOL
WINAPI
PathIsRelativeW
(
LPCWSTR
lpszPath
);
#define PathIsRelative WINELIB_NAME_AW(PathIsRelative)
BOOL
WINAPI
PathIsRelativeAW
(
LPCVOID
lpszPath
);
BOOL
WINAPI
PathIsRootA
(
LPCSTR
x
);
BOOL
WINAPI
PathIsRootW
(
LPCWSTR
x
);
#define PathIsRoot WINELIB_NAME_AW(PathIsRoot)
BOOL
WINAPI
PathIsRootAW
(
LPCVOID
x
);
BOOL
WINAPI
PathIsExe
(
LPCSTR
lpszPath
);
BOOL
WINAPI
PathIsExe
AW
(
LPCVOID
lpszPath
);
BOOL
WINAPI
PathIsDirectory
(
LPCSTR
lpszPath
);
BOOL
WINAPI
PathIsDirectory
AW
(
LPCVOID
lpszPath
);
BOOL
WINAPI
PathFileExists
(
LPCSTR
lpszPath
);
BOOL
WINAPI
PathFileExists
AW
(
LPCVOID
lpszPath
);
BOOL
WINAPI
PathMatchSpecA
(
LPCSTR
lpszPath
,
LPCSTR
lpszSpec
);
BOOL
WINAPI
PathMatchSpecW
(
LPCWSTR
lpszPath
,
LPCWSTR
lpszSpec
);
#define PathMatchSpec WINELIB_NAME_AW(PathMatchSpec)
BOOL
WINAPI
PathMatchSpecAW
(
LPVOID
lpszPath
,
LPVOID
lpszSpec
);
BOOL
WINAPI
PathMakeUniqueName
(
LP
STR
lpszBuffer
,
BOOL
WINAPI
PathMakeUniqueName
AW
(
LP
VOID
lpszBuffer
,
DWORD
dwBuffSize
,
LPC
STR
lpszShortName
,
LPC
STR
lpszLongName
,
LPC
STR
lpszPathName
);
LPC
VOID
lpszShortName
,
LPC
VOID
lpszLongName
,
LPC
VOID
lpszPathName
);
BOOL
WINAPI
PathYetAnotherMakeUniqueName
(
BOOL
WINAPI
PathYetAnotherMakeUniqueName
A
(
LPSTR
lpszBuffer
,
LPCSTR
lpszPathName
,
LPCSTR
lpszShortName
,
LPCSTR
lpszLongName
);
BOOL
WINAPI
PathFindOnPath
(
LP
STR
lpszFile
,
LPC
STR
*
alpszPaths
);
BOOL
WINAPI
PathFindOnPath
AW
(
LP
VOID
lpszFile
,
LPC
VOID
alpszPaths
);
/* PathCleanupSpec return values */
#define PCS_REPLACEDCHARS 0x00000001
...
...
@@ -626,13 +594,11 @@ BOOL WINAPI PathFindOnPath(
#define PCS_SHORTENED 0x00000004
#define PCS_PATHTOOLONG 0x80000008
DWORD
WINAPI
PathCleanupSpec
(
LPCSTR
lpszPath
,
LPSTR
lpszFile
);
DWORD
WINAPI
PathCleanupSpecAW
(
LPCVOID
lpszPath
,
LPVOID
lpszFile
);
BOOL
WINAPI
PathQualifyA
(
LPCSTR
path
);
BOOL
WINAPI
PathQualifyA
(
LPCSTR
path
);
BOOL
WINAPI
PathQualifyW
(
LPCWSTR
path
);
#define
PathQualify WINELIB_NAME_AW(PathQualify)
#define PathQualify WINELIB_NAME_AW(PathQualify)
BOOL
WINAPI
PathQualifyAW
(
LPCVOID
path
);
...
...
@@ -642,15 +608,9 @@ BOOL WINAPI PathQualifyAW(LPCVOID path);
#define PRF_QUALIFYONPATH 0x04
#define PRF_WINDOWS31 0x08
BOOL
WINAPI
PathResolve
(
LPSTR
lpszPath
,
LPCSTR
*
alpszPaths
,
DWORD
dwFlags
);
BOOL
WINAPI
PathResolveAW
(
LPVOID
lpszPath
,
LPCVOID
*
alpszPaths
,
DWORD
dwFlags
);
BOOL
WINAPI
PathSetDlgItemPath
(
HWND
hDlg
,
int
nIDDlgItem
,
LPCSTR
lpszPath
);
BOOL
WINAPI
PathSetDlgItemPathAW
(
HWND
hDlg
,
int
nIDDlgItem
,
LPCVOID
lpszPath
);
/* PathProcessCommand flags */
#define PPCF_QUOTEPATH 0x01
/* implies PPCF_INCLUDEARGS */
...
...
@@ -659,35 +619,23 @@ BOOL WINAPI PathSetDlgItemPath(
#define PPCF_DONTRESOLVE 0x20
#define PPCF_PATHISRELATIVE 0x40
int
WINAPI
PathProcessCommand
(
LPCWSTR
lpszPath
,
LPWSTR
lpszBuff
,
DWORD
dwBuffSize
,
DWORD
dwFlags
);
HRESULT
WINAPI
PathProcessCommandAW
(
LPCVOID
lpszPath
,
LPVOID
lpszBuff
,
DWORD
dwBuffSize
,
DWORD
dwFlags
);
void
WINAPI
PathStripPath
(
LPWSTR
lpszPath
);
void
WINAPI
PathStripPath
AW
(
LPVOID
lpszPath
);
BOOL
WINAPI
PathStripToRootAW
(
LPVOID
lpszPath
);
void
WINAPI
PathRemoveArgs
(
LPWSTR
lpszPath
);
void
WINAPI
PathRemoveArgs
AW
(
LPVOID
lpszPath
);
void
WINAPI
PathRemoveExtension
(
LPWSTR
lpszPath
);
void
WINAPI
PathRemoveExtension
AW
(
LPVOID
lpszPath
);
int
WINAPI
PathParseIconLocation
(
LPWSTR
lpszPath
);
int
WINAPI
PathParseIconLocation
AW
(
LPVOID
lpszPath
);
BOOL
WINAPI
PathIsSameRoot
(
LPCWSTR
lpszPath1
,
LPCWSTR
lpszPath2
);
BOOL
WINAPI
PathIsSameRootAW
(
LPCVOID
lpszPath1
,
LPCVOID
lpszPath2
);
BOOL
WINAPI
PathFindOnPathA
(
LPSTR
sFile
,
LPCSTR
sOtherDirs
);
BOOL
WINAPI
PathFindOnPathW
(
LPWSTR
sFile
,
LPCWSTR
sOtherDirs
);
#define PathFindOnPath WINELIB_NAME_AW(PathFindOnPath)
BOOL
WINAPI
PathFindOnPathAW
(
LPVOID
sFile
,
LPCVOID
sOtherDirs
);
LPSTR
WINAPI
StrFormatByteSizeA
(
DWORD
dw
,
LPSTR
pszBuf
,
UINT
cchBuf
);
LPWSTR
WINAPI
StrFormatByteSizeW
(
DWORD
dw
,
LPWSTR
pszBuf
,
UINT
cchBuf
);
#define StrFormatByteSize WINELIB_NAME_AW(StrFormatByteSize)
/****************************************************************************
* Shell Namespace Routines
*/
...
...
@@ -943,4 +891,4 @@ BOOL WINAPI SHInitRestricted(LPSTR, LPSTR);
}
/* extern "C" */
#endif
/* defined(__cplusplus) */
#endif
/* __WINE_
SHLOBJ
_H */
#endif
/* __WINE_
UNDOCSHELL
_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment