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
507665de
Commit
507665de
authored
Oct 23, 2008
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Oct 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Implement URLSubRegQueryA.
parent
26bba27d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
1 deletion
+28
-1
shdocvw.spec
dlls/shdocvw/shdocvw.spec
+1
-1
shdocvw_main.c
dlls/shdocvw/shdocvw_main.c
+27
-0
No files found.
dlls/shdocvw/shdocvw.spec
View file @
507665de
...
...
@@ -37,7 +37,7 @@
148 stub -noname IEGetDisplayName
149 stub -noname IEBindToObjectEx
150 stub -noname _GetStdLocation
151 st
ub -noname URLSubRegQueryA
151 st
dcall -noname URLSubRegQueryA(str str long ptr long long)
152 stub -noname CShellUIHelper_CreateInstance2
153 stub -noname IsURLChild
158 stub -noname SHRestricted2A
...
...
dlls/shdocvw/shdocvw_main.c
View file @
507665de
...
...
@@ -3,6 +3,7 @@
*
* Copyright 2001 John R. Sheets (for CodeWeavers)
* Copyright 2004 Mike McCormack (for CodeWeavers)
* Copyright 2008 Detlef Riekenberg
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -31,6 +32,7 @@
#include "winreg.h"
#include "shlwapi.h"
#include "wininet.h"
#include "initguid.h"
...
...
@@ -268,3 +270,28 @@ DWORD WINAPI StopWatchAFORWARD(DWORD dwClass, LPCSTR lpszStr, DWORD dwUnknown,
return
p
(
dwClass
,
lpszStr
,
dwUnknown
,
dwMode
,
dwTimeStamp
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
/******************************************************************
* URLSubRegQueryA (SHDOCVW.151)
*/
HRESULT
WINAPI
URLSubRegQueryA
(
LPCSTR
regpath
,
LPCSTR
name
,
DWORD
type
,
LPSTR
out
,
DWORD
outlen
,
DWORD
unknown
)
{
CHAR
buffer
[
INTERNET_MAX_URL_LENGTH
];
DWORD
len
;
LONG
res
;
TRACE
(
"(%s, %s, %d, %p, %d, %d)
\n
"
,
debugstr_a
(
regpath
),
debugstr_a
(
name
),
type
,
out
,
outlen
,
unknown
);
if
(
!
out
)
return
S_OK
;
len
=
sizeof
(
buffer
);
res
=
SHRegGetUSValueA
(
regpath
,
name
,
NULL
,
buffer
,
&
len
,
FALSE
,
NULL
,
0
);
if
(
!
res
)
{
lstrcpynA
(
out
,
buffer
,
outlen
);
return
S_OK
;
}
return
E_FAIL
;
}
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