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
5a17c038
Commit
5a17c038
authored
Oct 13, 1998
by
Petter Reinholdtsen
Committed by
Alexandre Julliard
Oct 13, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stubs SHRegCloseKey(), SHRegOpenKey[AW](), SHRegQueryValueExA()
and FileIconInit() needed by Win95 explorer.
parent
a83d0657
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
5 deletions
+55
-5
shellord.c
dlls/shell32/shellord.c
+50
-0
shell32.spec
relay32/shell32.spec
+5
-5
No files found.
dlls/shell32/shellord.c
View file @
5a17c038
...
...
@@ -990,6 +990,48 @@ HRESULT WINAPI SHGetDataFromIDListA(DWORD u, DWORD v, DWORD w, DWORD x, DWORD y)
return
0
;
}
/*************************************************************************
* SHRegCloseKey [SHELL32.505]
*
* XXX I am not sure if the given param is correct. :-)
*/
HRESULT
WINAPI
SHRegCloseKey
(
HKEY
key
)
{
FIXME
(
shell
,
"(0x%08lx)
\n
"
,
key
);
/* XXX Is this correct? */
return
RegCloseKey
(
key
);
}
/*************************************************************************
* SHRegOpenKey32A [SHELL32.506]
*
* XXX I am not sure if the given param is correct. :-)
*/
HRESULT
WINAPI
SHRegOpenKey32A
(
HKEY
hKey
,
LPSTR
lpSubKey
,
LPHKEY
phkResult
)
{
FIXME
(
shell
,
"(0x%08lx, %s, 0x%08lx)
\n
"
,
hKey
,
debugstr_a
(
lpSubKey
),
phkResult
);
/* XXX Is this correct? */
return
RegOpenKey32A
(
hKey
,
lpSubKey
,
phkResult
);
}
/*************************************************************************
* SHRegOpenKey32W [SHELL32.507]
*
* XXX I am not sure if the given param is correct. :-)
*/
HRESULT
WINAPI
SHRegOpenKey32W
(
HKEY
hKey
,
LPWSTR
lpSubKey
,
LPHKEY
phkResult
)
{
FIXME
(
shell
,
"(0x%08lx, %s, 0x%08lx)
\n
"
,
hKey
,
debugstr_w
(
lpSubKey
),
phkResult
);
/* XXX Is this correct? */
return
RegOpenKey32W
(
hKey
,
lpSubKey
,
phkResult
);
}
/*************************************************************************
* SHRegQueryValueExA [SHELL32.509]
*
* XXX I know this is not the correct parameter. Check with documentation.
*/
HRESULT
WINAPI
SHRegQueryValueEx32A
(
DWORD
u
,
LPSTR
v
,
DWORD
w
,
DWORD
x
,
DWORD
y
,
DWORD
z
)
{
FIXME
(
shell
,
"0x%04lx %s 0x%04lx 0x%04lx 0x%04lx 0x%04lx stub
\n
"
,
u
,
debugstr_a
(
v
),
w
,
x
,
y
,
z
);
return
0
;
}
/*************************************************************************
* SHRegQueryValueEx32W [NT4.0:SHELL32.511]
*
*/
...
...
@@ -1015,6 +1057,14 @@ HRESULT WINAPI WriteCabinetState(DWORD u)
return
0
;
}
/*************************************************************************
* FileIconInit [SHELL32.660]
*
*/
BOOL32
WINAPI
FileIconInit
(
BOOL32
bFullInit
)
{
FIXME
(
shell
,
"(%s)
\n
"
,
bFullInit
?
"true"
:
"false"
);
return
0
;
}
/*************************************************************************
* IsUserAdmin [NT 4.0:SHELL32.680]
*
*/
...
...
relay32/shell32.spec
View file @
5a17c038
...
...
@@ -337,11 +337,11 @@ init Shell32LibMain
328 stub StrStrW # proper ordinal unknown
329 stub WOWShellExecute # proper ordinal unknown
505 st
ub SHRegCloseKey@4
506 st
ub SHRegOpenKeyA@12
507 st
ub SHRegOpenKeyW@12
505 st
dcall SHRegCloseKey (long) SHRegCloseKey
506 st
dcall SHRegOpenKeyA (long str long) SHRegOpenKey32A
507 st
dcall SHRegOpenKeyW (long wstr long) SHRegOpenKey32W
508 stub SHRegQueryValueA@16
509 st
ub SHRegQueryValueExA@24
509 st
dcall SHRegQueryValueExA(long str ptr ptr ptr ptr) SHRegQueryValueEx32A
510 stub SHRegQueryValueW@16
511 stdcall SHRegQueryValueExW (long wstr ptr ptr ptr ptr) SHRegQueryValueEx32W
512 stub SHRegDeleteKeyW@8
...
...
@@ -368,7 +368,7 @@ init Shell32LibMain
652 stdcall WriteCabinetState (long) WriteCabinetState
653 stub PathProcessCommand
660 st
ub
FileIconInit
660 st
dcall FileIconInit (long)
FileIconInit
680 stdcall IsUserAdmin () IsUserAdmin
...
...
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