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
52b2d2cf
Commit
52b2d2cf
authored
Sep 13, 2000
by
Huw D M Davies
Committed by
Alexandre Julliard
Sep 13, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some Str* prototypes to shlwapi.h.
parent
5f9fd77d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
16 deletions
+47
-16
shellstring.c
dlls/shell32/shellstring.c
+1
-0
string.c
dlls/shlwapi/string.c
+6
-3
shlwapi.h
include/shlwapi.h
+39
-0
undocshell.h
include/wine/undocshell.h
+1
-13
No files found.
dlls/shell32/shellstring.c
View file @
52b2d2cf
...
...
@@ -8,6 +8,7 @@
#include "debugtools.h"
#include "heap.h"
#include "shlwapi.h"
#include "shellapi.h"
#include "shell32_main.h"
#include "wine/undocshell.h"
...
...
dlls/shlwapi/string.c
View file @
52b2d2cf
...
...
@@ -4,7 +4,10 @@
#include <string.h>
#include "winerror.h"
#include "wine/undocshell.h"
#include "windef.h"
#include "wingdi.h"
#include "winuser.h"
#include "shlwapi.h"
#include "wine/unicode.h"
#include "heap.h"
#include "debugtools.h"
...
...
@@ -14,7 +17,7 @@ DEFAULT_DEBUG_CHANNEL(shell);
/*************************************************************************
* StrChrA [SHLWAPI]
*/
LPSTR
WINAPI
StrChrA
(
LPCSTR
str
,
INT
c
)
LPSTR
WINAPI
StrChrA
(
LPCSTR
str
,
WORD
c
)
{
TRACE
(
"%s %i
\n
"
,
str
,
c
);
return
strchr
(
str
,
c
);
...
...
@@ -24,7 +27,7 @@ LPSTR WINAPI StrChrA (LPCSTR str, INT c)
* StrChrW [SHLWAPI]
*
*/
LPWSTR
WINAPI
StrChrW
(
LPWSTR
str
,
WCHAR
x
)
LPWSTR
WINAPI
StrChrW
(
LP
C
WSTR
str
,
WCHAR
x
)
{
TRACE
(
"%s 0x%04x
\n
"
,
debugstr_w
(
str
),
x
);
return
strchrW
(
str
,
x
);
...
...
include/shlwapi.h
View file @
52b2d2cf
...
...
@@ -3,6 +3,7 @@
#include "windef.h"
#include "wine/obj_queryassociations.h"
#include "wine/obj_shellfolder.h"
#ifdef __cplusplus
extern
"C"
{
...
...
@@ -76,10 +77,48 @@ BOOL WINAPI PathStripToRootA(LPSTR pszPath);
BOOL
WINAPI
PathStripToRootW
(
LPWSTR
pszPath
);
#define PathStripToRoot WINELIB_NAME_AW(PathStripToRoot)
INT
WINAPI
StrCSpnA
(
LPCSTR
lpStr
,
LPCSTR
lpSet
);
INT
WINAPI
StrCSpnW
(
LPCWSTR
lpStr
,
LPCWSTR
lpSet
);
#define StrCSpn WINELIB_NAME_AW(StrCSpn)
INT
WINAPI
StrCSpnIA
(
LPCSTR
lpStr
,
LPCSTR
lpSet
);
INT
WINAPI
StrCSpnIW
(
LPCWSTR
lpStr
,
LPCWSTR
lpSet
);
#define StrCSpnI WINELIB_NAME_AW(StrCSpnI)
#define StrCatA lstrcatA
LPWSTR
WINAPI
StrCatW
(
LPWSTR
front
,
LPCWSTR
back
);
#define StrCat WINELIB_NAME_AW(StrCat)
LPSTR
WINAPI
StrCatBuffA
(
LPSTR
front
,
LPCSTR
back
,
INT
size
);
LPWSTR
WINAPI
StrCatBuffW
(
LPWSTR
front
,
LPCWSTR
back
,
INT
size
);
#define StrCatBuff WINELIB_NAME_AW(StrCatBuff)
LPSTR
WINAPI
StrChrA
(
LPCSTR
lpStart
,
WORD
wMatch
);
LPWSTR
WINAPI
StrChrW
(
LPCWSTR
lpStart
,
WCHAR
wMatch
);
#define StrChr WINELIB_NAME_AW(StrChr)
LPSTR
WINAPI
StrChrIA
(
LPCSTR
lpStart
,
WORD
wMatch
);
LPWSTR
WINAPI
StrChrIW
(
LPCWSTR
lpStart
,
WCHAR
wMatch
);
#define StrChrI WINELIB_NAME_AW(StrChrI)
INT
WINAPI
StrCmpNA
(
LPCSTR
lpStr1
,
LPCSTR
lpStr2
,
INT
nChar
);
INT
WINAPI
StrCmpNW
(
LPCWSTR
lpStr1
,
LPCWSTR
lpStr2
,
INT
nChar
);
#define StrCmpN WINELIB_NAME_AW(StrCmpN)
INT
WINAPI
StrCmpNIA
(
LPCSTR
lpStr1
,
LPCSTR
lpStr2
,
INT
nChar
);
INT
WINAPI
StrCmpNIW
(
LPCWSTR
lpStr1
,
LPCWSTR
lpStr2
,
INT
nChar
);
#define StrCmpNI WINELIB_NAME_AW(StrCmpNI)
LPSTR
WINAPI
StrDupA
(
LPCSTR
lpSrc
);
LPWSTR
WINAPI
StrDupW
(
LPCWSTR
lpSrc
);
#define StrDup WINELIB_NAME_AW(StrDup)
HRESULT
WINAPI
StrRetToBufA
(
LPSTRRET
src
,
LPITEMIDLIST
pidl
,
LPSTR
dest
,
DWORD
len
);
HRESULT
WINAPI
StrRetToBufW
(
LPSTRRET
src
,
LPITEMIDLIST
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)
...
...
include/wine/undocshell.h
View file @
52b2d2cf
...
...
@@ -2,7 +2,6 @@
#define __WINE_UNDOCSHELL_H
#include "windef.h"
//#include "shell.h"
#include "commctrl.h"
#include "wine/obj_shellfolder.h"
#include "wine/obj_shellview.h"
...
...
@@ -113,17 +112,6 @@ HRESULT WINAPI StrRetToStrNAW (
LPSTRRET
src
,
LPITEMIDLIST
pidl
);
HRESULT
WINAPI
StrRetToBufA
(
LPSTRRET
src
,
LPITEMIDLIST
pidl
,
LPSTR
dest
,
DWORD
len
);
HRESULT
WINAPI
StrRetToBufW
(
LPSTRRET
src
,
LPITEMIDLIST
pidl
,
LPWSTR
dest
,
DWORD
len
);
/****************************************************************************
* SHChangeNotifyRegister API
...
...
@@ -681,7 +669,7 @@ int WINAPI PathProcessCommand(
void
WINAPI
PathStripPath
(
LPWSTR
lpszPath
);
BOOL
WINAPI
PathStripToRoot
(
LPWSTR
lpszPath
);
BOOL
WINAPI
PathStripToRoot
AW
(
LPVOID
lpszPath
);
void
WINAPI
PathRemoveArgs
(
LPWSTR
lpszPath
);
...
...
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