Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a4b80ec9
Commit
a4b80ec9
authored
Jan 18, 2005
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 18, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub implementations for PathUnExpandEnvStringsSHRegEnumUSValue{A,W},
SHRegCreateUSKey{A,W}, SHRegDeleteEmptyUSKey{A,W}, SHRegDeleteUSValue{A,W}, SHRegEnumUSValue{A,W}.
parent
6758db9a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
186 additions
and
10 deletions
+186
-10
path.c
dlls/shlwapi/path.c
+32
-0
reg.c
dlls/shlwapi/reg.c
+144
-0
shlwapi.spec
dlls/shlwapi/shlwapi.spec
+10
-10
No files found.
dlls/shlwapi/path.c
View file @
a4b80ec9
...
...
@@ -3911,6 +3911,38 @@ VOID WINAPI PathUndecorateW(LPWSTR lpszPath)
}
/*************************************************************************
* PathUnExpandEnvStringsA [SHLWAPI.@]
*
* Substitute folder names in a path with their corresponding environment
* strings.
*
* PARAMS
* pszPath [I] Buffer containing the path to unexpand.
* pszBuf [O] Buffer to receive the unexpanded path.
* cchBuf [I] Size of pszBuf in characters.
*
* RETURNS
* Success: TRUE
* Failure: FALSE
*/
BOOL
WINAPI
PathUnExpandEnvStringsA
(
LPCSTR
pszPath
,
LPSTR
pszBuf
,
UINT
cchBuf
)
{
FIXME
(
"(%s,%s,0x%08x)
\n
"
,
debugstr_a
(
pszPath
),
debugstr_a
(
pszBuf
),
cchBuf
);
return
FALSE
;
}
/*************************************************************************
* PathUnExpandEnvStringsW [SHLWAPI.@]
*
* Unicode version of PathUnExpandEnvStringsA.
*/
BOOL
WINAPI
PathUnExpandEnvStringsW
(
LPCWSTR
pszPath
,
LPWSTR
pszBuf
,
UINT
cchBuf
)
{
FIXME
(
"(%s,%s,0x%08x)
\n
"
,
debugstr_w
(
pszPath
),
debugstr_w
(
pszBuf
),
cchBuf
);
return
FALSE
;
}
/*************************************************************************
* @ [SHLWAPI.440]
*
* Find localised or default web content in "%WINDOWS%\web\".
...
...
dlls/shlwapi/reg.c
View file @
a4b80ec9
...
...
@@ -207,6 +207,150 @@ LONG WINAPI SHRegCloseUSKey(
}
/*************************************************************************
* SHRegCreateUSKeyA [SHLWAPI.@]
*
* Create or open a user-specific registry key.
*
* PARAMS
* pszPath [I] Key name to create or open.
* samDesired [I] Wanted security access.
* hRelativeUSKey [I] Base path if pszPath is relative. NULL otherwise.
* phNewUSKey [O] Receives a handle to the new or openened key.
* dwFlags [I] Base key under which the key should be opened.
*
* RETURNS
* Success: ERROR_SUCCESS
* Failure: Nonzero error code from winerror.h
*/
LONG
WINAPI
SHRegCreateUSKeyA
(
LPCSTR
pszPath
,
REGSAM
samDesired
,
HUSKEY
hRelativeUSKey
,
PHUSKEY
phNewUSKey
,
DWORD
dwFlags
)
{
FIXME
(
"(%s, 0x%08lx, %p, %p, 0x%08lx) stub
\n
"
,
debugstr_a
(
pszPath
),
samDesired
,
hRelativeUSKey
,
phNewUSKey
,
dwFlags
);
return
ERROR_SUCCESS
;
}
/*************************************************************************
* SHRegCreateUSKeyW [SHLWAPI.@]
*
* See SHRegCreateUSKeyA.
*/
LONG
WINAPI
SHRegCreateUSKeyW
(
LPCWSTR
pszPath
,
REGSAM
samDesired
,
HUSKEY
hRelativeUSKey
,
PHUSKEY
phNewUSKey
,
DWORD
dwFlags
)
{
FIXME
(
"(%s, 0x%08lx, %p, %p, 0x%08lx) stub
\n
"
,
debugstr_w
(
pszPath
),
samDesired
,
hRelativeUSKey
,
phNewUSKey
,
dwFlags
);
return
ERROR_SUCCESS
;
}
/*************************************************************************
* SHRegDeleteEmptyUSKeyA [SHLWAPI.@]
*
* Delete an empty user-specific registry key.
*
* PARAMS
* hUSKey [I] Handle to an open registry key.
* pszValue [I] Empty key name.
* delRegFlags [I] Flag that specifies the base from which to delete
* the key.
*
* RETURNS
* Success: ERROR_SUCCESS
* Failure: Nonzero error code from winerror.h
*/
LONG
WINAPI
SHRegDeleteEmptyUSKeyA
(
HUSKEY
hUSKey
,
LPCSTR
pszValue
,
SHREGDEL_FLAGS
delRegFlags
)
{
FIXME
(
"(%p, %s, 0x%08x) stub
\n
"
,
hUSKey
,
debugstr_a
(
pszValue
),
delRegFlags
);
return
ERROR_SUCCESS
;
}
/*************************************************************************
* SHRegDeleteEmptyUSKeyW [SHLWAPI.@]
*
* See SHRegDeleteEmptyUSKeyA.
*/
LONG
WINAPI
SHRegDeleteEmptyUSKeyW
(
HUSKEY
hUSKey
,
LPCWSTR
pszValue
,
SHREGDEL_FLAGS
delRegFlags
)
{
FIXME
(
"(%p, %s, 0x%08x) stub
\n
"
,
hUSKey
,
debugstr_w
(
pszValue
),
delRegFlags
);
return
ERROR_SUCCESS
;
}
/*************************************************************************
* SHRegDeleteUSValueA [SHLWAPI.@]
*
* Delete a user-specific registry value.
*
* PARAMS
* hUSKey [I] Handle to an open registry key.
* pszValue [I] Specifies the value to delete.
* delRegFlags [I] Flag that specifies the base of the key from which to
* delete the value.
*
* RETURNS
* Success: ERROR_SUCCESS
* Failure: Nonzero error code from winerror.h
*/
LONG
WINAPI
SHRegDeleteUSValueA
(
HUSKEY
hUSKey
,
LPCSTR
pszValue
,
SHREGDEL_FLAGS
delRegFlags
)
{
FIXME
(
"(%p, %s, 0x%08x) stub
\n
"
,
hUSKey
,
debugstr_a
(
pszValue
),
delRegFlags
);
return
ERROR_SUCCESS
;
}
/*************************************************************************
* SHRegDeleteUSValueW [SHLWAPI.@]
*
* See SHRegDeleteUSValueA.
*/
LONG
WINAPI
SHRegDeleteUSValueW
(
HUSKEY
hUSKey
,
LPCWSTR
pszValue
,
SHREGDEL_FLAGS
delRegFlags
)
{
FIXME
(
"(%p, %s, 0x%08x) stub
\n
"
,
hUSKey
,
debugstr_w
(
pszValue
),
delRegFlags
);
return
ERROR_SUCCESS
;
}
/*************************************************************************
* SHRegEnumUSValueA [SHLWAPI.@]
*
* Enumerate values of a specified registry key.
*
* PARAMS
* hUSKey [I] Handle to an open registry key.
* dwIndex [I] Index of the value to be retrieved.
* pszValueName [O] Buffer to receive the value name.
* pcchValueNameLen [I] Size of pszValueName in characters.
* pdwType [O] Receives data type of the value.
* pvData [O] Receives value data. May be NULL.
* pcbData [I/O] Size of pvData in bytes.
* enumRegFlags [I] Flag that specifies the base key under which to
* enumerate values.
*
* RETURNS
* Success: ERROR_SUCCESS
* Failure: Nonzero error code from winerror.h
*/
LONG
WINAPI
SHRegEnumUSValueA
(
HUSKEY
hUSKey
,
DWORD
dwIndex
,
LPSTR
pszValueName
,
LPDWORD
pcchValueNameLen
,
LPDWORD
pdwType
,
LPVOID
pvData
,
LPDWORD
pcbData
,
SHREGENUM_FLAGS
enumRegFlags
)
{
FIXME
(
"(%p, 0x%08lx, %s, %p, %p, %p, %p, 0x%08x) stub
\n
"
,
hUSKey
,
dwIndex
,
debugstr_a
(
pszValueName
),
pcchValueNameLen
,
pdwType
,
pvData
,
pcbData
,
enumRegFlags
);
return
ERROR_INVALID_FUNCTION
;
}
/*************************************************************************
* SHRegEnumUSValueW [SHLWAPI.@]
*
* See SHRegEnumUSValueA.
*/
LONG
WINAPI
SHRegEnumUSValueW
(
HUSKEY
hUSKey
,
DWORD
dwIndex
,
LPWSTR
pszValueName
,
LPDWORD
pcchValueNameLen
,
LPDWORD
pdwType
,
LPVOID
pvData
,
LPDWORD
pcbData
,
SHREGENUM_FLAGS
enumRegFlags
)
{
FIXME
(
"(%p, 0x%08lx, %s, %p, %p, %p, %p, 0x%08x) stub
\n
"
,
hUSKey
,
dwIndex
,
debugstr_w
(
pszValueName
),
pcchValueNameLen
,
pdwType
,
pvData
,
pcbData
,
enumRegFlags
);
return
ERROR_INVALID_FUNCTION
;
}
/*************************************************************************
* SHRegQueryUSValueA [SHLWAPI.@]
*
* Query a user-specific registry value.
...
...
dlls/shlwapi/shlwapi.spec
View file @
a4b80ec9
...
...
@@ -687,16 +687,16 @@
@ stdcall SHQueryValueExA(long str ptr ptr ptr ptr)
@ stdcall SHQueryValueExW(long wstr ptr ptr ptr ptr)
@ stdcall SHRegCloseUSKey(ptr)
@ st
ub SHRegCreateUSKeyA
@ st
ub SHRegCreateUSKeyW
@ st
ub SHRegDeleteEmptyUSKeyA
@ st
ub SHRegDeleteEmptyUSKeyW
@ st
ub SHRegDeleteUSValueA
@ st
ub SHRegDeleteUSValueW
@ st
dcall SHRegCreateUSKeyA(str long long ptr long)
@ st
dcall SHRegCreateUSKeyW(wstr long long ptr long)
@ st
dcall SHRegDeleteEmptyUSKeyA(long str long)
@ st
dcall SHRegDeleteEmptyUSKeyW(long wstr long)
@ st
dcall SHRegDeleteUSValueA(long str long)
@ st
dcall SHRegDeleteUSValueW(long wstr long)
@ stdcall SHRegEnumUSKeyA(long long str ptr long)
@ stdcall SHRegEnumUSKeyW(long long wstr ptr long)
@ st
ub SHRegEnumUSValueA
@ st
ub SHRegEnumUSValueW
@ st
dcall SHRegEnumUSValueA(long long ptr ptr ptr ptr ptr long)
@ st
dcall SHRegEnumUSValueW(long long ptr ptr ptr ptr ptr long)
@ stdcall SHRegGetBoolUSValueA(str str long long)
@ stdcall SHRegGetBoolUSValueW(wstr wstr long long)
@ stdcall SHRegGetUSValueA ( str str ptr ptr ptr long ptr long )
...
...
@@ -814,8 +814,8 @@
@ stdcall _SHGetInstanceExplorer(ptr)
@ stdcall PathUndecorateA(str)
@ stdcall PathUndecorateW(wstr)
@ st
ub PathUnExpandEnvStringsA
@ st
ub PathUnExpandEnvStringsW
@ st
dcall PathUnExpandEnvStringsA(str ptr long)
@ st
dcall PathUnExpandEnvStringsW(wstr ptr long)
@ stdcall SHCopyKeyA(long str long long)
@ stdcall SHCopyKeyW(long wstr long long)
@ stdcall SHAutoComplete(ptr long)
...
...
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