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
2f2c817a
Commit
2f2c817a
authored
Oct 23, 1999
by
Jim Aston
Committed by
Alexandre Julliard
Oct 23, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a few stubs.
parent
c2983025
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
116 additions
and
6 deletions
+116
-6
shellpath.c
dlls/shell32/shellpath.c
+110
-0
shlwapi.spec
dlls/shell32/shlwapi.spec
+6
-6
No files found.
dlls/shell32/shellpath.c
View file @
2f2c817a
...
...
@@ -14,6 +14,7 @@
#include "shlobj.h"
#include "shell32_main.h"
#include "windef.h"
DEFAULT_DEBUG_CHANNEL
(
shell
)
...
...
@@ -1000,3 +1001,112 @@ BOOL WINAPI SHGetSpecialFolderPathAW (
return
SHGetSpecialFolderPathW
(
hwndOwner
,
szPath
,
csidl
,
bCreate
);
return
SHGetSpecialFolderPathA
(
hwndOwner
,
szPath
,
csidl
,
bCreate
);
}
/* PathRemoveBackslash
*
* If the path ends in a backslash it is replaced by a NULL
* and the address of the NULL is returned
* Otherwise
* the address of the last character is returned.
*
*/
LPSTR
WINAPI
PathRemoveBackslashA
(
LPSTR
lpPath
)
{
LPSTR
temp
=
lpPath
;
LPSTR
prev
=
lpPath
;
while
(
*
temp
)
{
prev
=
temp
++
;
}
if
(
*
prev
==
(
CHAR
)
'\\'
)
{
*
prev
=
(
CHAR
)
'\0'
;
}
return
prev
;
}
LPWSTR
WINAPI
PathRemoveBackslashW
(
LPWSTR
lpPath
)
{
FIXME
(
"(%p),stub!
\n
"
,
lpPath
);
return
lpPath
;
}
/*
shlwapi functions that have found their way in because most of
shlwapi is unimplemented and doesn't have a home.
FIXME: move to a more appropriate file( when one exists )
*/
/* SHGetValue: Gets a value from the registry */
DWORD
WINAPI
SHGetValueA
(
HKEY
hkey
,
LPCSTR
pSubKey
,
LPCSTR
pValue
,
LPDWORD
pwType
,
LPVOID
pvData
,
LPDWORD
pbData
)
{
FIXME
(
"(%p),stub!
\n
"
,
pSubKey
);
return
ERROR_SUCCESS
;
/* return success */
}
DWORD
WINAPI
SHGetValueW
(
HKEY
hkey
,
LPCWSTR
pSubKey
,
LPCWSTR
pValue
,
LPDWORD
pwType
,
LPVOID
pvData
,
LPDWORD
pbData
)
{
FIXME
(
"(%p),stub!
\n
"
,
pSubKey
);
return
ERROR_SUCCESS
;
/* return success */
}
/* gets a user-specific registry value. */
LONG
WINAPI
SHRegGetUSValueA
(
LPCSTR
pSubKey
,
LPCSTR
pValue
,
LPDWORD
pwType
,
LPVOID
pvData
,
LPDWORD
pbData
,
BOOL
fIgnoreHKCU
,
LPVOID
pDefaultData
,
DWORD
wDefaultDataSize
)
{
FIXME
(
"(%p),stub!
\n
"
,
pSubKey
);
return
ERROR_SUCCESS
;
/* return success */
}
LONG
WINAPI
SHRegGetUSValueW
(
LPCWSTR
pSubKey
,
LPCWSTR
pValue
,
LPDWORD
pwType
,
LPVOID
pvData
,
LPDWORD
pbData
,
BOOL
flagIgnoreHKCU
,
LPVOID
pDefaultData
,
DWORD
wDefaultDataSize
)
{
FIXME
(
"(%p),stub!
\n
"
,
pSubKey
);
return
ERROR_SUCCESS
;
/* return success */
}
dlls/shell32/shlwapi.spec
View file @
2f2c817a
...
...
@@ -243,8 +243,8 @@ type win32
240 stub PathRelativePathToW
241 stub PathRemoveArgsA
242 stub PathRemoveArgsW
243 st
ub
PathRemoveBackslashA
244 st
ub
PathRemoveBackslashW
243 st
dcall PathRemoveBackslashA (ptr)
PathRemoveBackslashA
244 st
dcall PathRemoveBackslashW (ptr)
PathRemoveBackslashW
245 stub PathRemoveBlanksA
246 stub PathRemoveBlanksW
247 stub PathRemoveExtensionA
...
...
@@ -281,8 +281,8 @@ type win32
278 stub SHEnumValueA
279 stub SHEnumValueW
280 stub SHGetInverseCMAP
281 st
ub
SHGetValueA
282 st
ub
SHGetValueW
281 st
dcall SHGetValueA ( long ptr ptr ptr ptr ptr )
SHGetValueA
282 st
dcall SHGetValueW ( long ptr ptr ptr ptr ptr )
SHGetValueW
283 stub SHIsLowMemoryMachine
284 stub SHOpenRegStreamA
285 stub SHOpenRegStreamW
...
...
@@ -303,8 +303,8 @@ type win32
300 stub SHRegEnumUSValueW
301 stub SHRegGetBoolUSValueA
302 stub SHRegGetBoolUSValueW
303 st
ub
SHRegGetUSValueA
304 st
ub
SHRegGetUSValueW
303 st
dcall SHRegGetUSValueA ( ptr ptr ptr ptr ptr long ptr long )
SHRegGetUSValueA
304 st
dcall SHRegGetUSValueW ( ptr ptr ptr ptr ptr long ptr long )
SHRegGetUSValueW
305 stub SHRegOpenUSKeyA
306 stub SHRegOpenUSKeyW
307 stub SHRegQueryInfoUSKeyA
...
...
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