Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hayden Hestad
wine
Commits
507665de
Commit
507665de
authored
16 years ago
by
Detlef Riekenberg
Committed by
Alexandre Julliard
16 years ago
Browse files
Options
Downloads
Patches
Plain Diff
shdocvw: Implement URLSubRegQueryA.
parent
26bba27d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/shdocvw/shdocvw.spec
+1
-1
1 addition, 1 deletion
dlls/shdocvw/shdocvw.spec
dlls/shdocvw/shdocvw_main.c
+27
-0
27 additions, 0 deletions
dlls/shdocvw/shdocvw_main.c
with
28 additions
and
1 deletion
dlls/shdocvw/shdocvw.spec
+
1
−
1
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
...
...
This diff is collapsed.
Click to expand it.
dlls/shdocvw/shdocvw_main.c
+
27
−
0
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
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment