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
a4af4b95
Commit
a4af4b95
authored
Dec 16, 2005
by
Stefan Leichter
Committed by
Alexandre Julliard
Dec 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Fix return value of PathProcessCommand.
parent
90c70f75
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
shellpath.c
dlls/shell32/shellpath.c
+9
-7
shlobj.h
include/shlobj.h
+1
-0
No files found.
dlls/shell32/shellpath.c
View file @
a4af4b95
...
...
@@ -700,7 +700,7 @@ BOOL WINAPI PathResolveAW(
/*************************************************************************
* PathProcessCommandA [SHELL32.653]
*/
HRESULT
WINAPI
PathProcessCommandA
(
LONG
WINAPI
PathProcessCommandA
(
LPCSTR
lpszPath
,
LPSTR
lpszBuff
,
DWORD
dwBuffSize
,
...
...
@@ -708,14 +708,15 @@ HRESULT WINAPI PathProcessCommandA (
{
FIXME
(
"%s %p 0x%04lx 0x%04lx stub
\n
"
,
lpszPath
,
lpszBuff
,
dwBuffSize
,
dwFlags
);
strcpy
(
lpszBuff
,
lpszPath
);
return
0
;
if
(
!
lpszPath
)
return
-
1
;
if
(
lpszBuff
)
strcpy
(
lpszBuff
,
lpszPath
);
return
strlen
(
lpszPath
);
}
/*************************************************************************
* PathProcessCommandW
*/
HRESULT
WINAPI
PathProcessCommandW
(
LONG
WINAPI
PathProcessCommandW
(
LPCWSTR
lpszPath
,
LPWSTR
lpszBuff
,
DWORD
dwBuffSize
,
...
...
@@ -723,14 +724,15 @@ HRESULT WINAPI PathProcessCommandW (
{
FIXME
(
"(%s, %p, 0x%04lx, 0x%04lx) stub
\n
"
,
debugstr_w
(
lpszPath
),
lpszBuff
,
dwBuffSize
,
dwFlags
);
strcpyW
(
lpszBuff
,
lpszPath
);
return
0
;
if
(
!
lpszPath
)
return
-
1
;
if
(
lpszBuff
)
strcpyW
(
lpszBuff
,
lpszPath
);
return
strlenW
(
lpszPath
);
}
/*************************************************************************
* PathProcessCommand (SHELL32.653)
*/
HRESULT
WINAPI
PathProcessCommandAW
(
LONG
WINAPI
PathProcessCommandAW
(
LPCVOID
lpszPath
,
LPVOID
lpszBuff
,
DWORD
dwBuffSize
,
...
...
include/shlobj.h
View file @
a4af4b95
...
...
@@ -1165,6 +1165,7 @@ BOOL WINAPI WriteCabinetState(CABINETSTATE *);
* Path Manipulation Routines
*/
VOID
WINAPI
PathGetShortPath
(
LPWSTR
pszPath
);
LONG
WINAPI
PathProcessCommand
(
LPCWSTR
,
LPWSTR
,
int
,
DWORD
);
/****************************************************************************
* Drag And Drop Routines
...
...
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