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
bbeeb4b5
Commit
bbeeb4b5
authored
Feb 14, 2006
by
Michael Jung
Committed by
Alexandre Julliard
Feb 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Query for localized string in HCR_GetClassName.
parent
ac615ce5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
classes.c
dlls/shell32/classes.c
+6
-2
No files found.
dlls/shell32/classes.c
View file @
bbeeb4b5
...
...
@@ -287,7 +287,10 @@ BOOL HCR_GetClassNameW(REFIID riid, LPWSTR szDest, DWORD len)
szDest
[
0
]
=
0
;
if
(
HCR_RegOpenClassIDKey
(
riid
,
&
hkey
))
{
if
(
!
RegQueryValueExW
(
hkey
,
swEmpty
,
0
,
NULL
,
(
LPBYTE
)
szDest
,
&
len
))
static
const
WCHAR
wszLocalizedString
[]
=
{
'L'
,
'o'
,
'c'
,
'a'
,
'l'
,
'i'
,
'z'
,
'e'
,
'd'
,
'S'
,
't'
,
'r'
,
'i'
,
'n'
,
'g'
,
0
};
if
(
!
RegLoadMUIStringW
(
hkey
,
wszLocalizedString
,
szDest
,
len
,
NULL
,
0
,
NULL
)
||
!
RegQueryValueExW
(
hkey
,
swEmpty
,
0
,
NULL
,
(
LPBYTE
)
szDest
,
&
len
))
{
ret
=
TRUE
;
}
...
...
@@ -319,7 +322,8 @@ BOOL HCR_GetClassNameA(REFIID riid, LPSTR szDest, DWORD len)
szDest
[
0
]
=
0
;
if
(
HCR_RegOpenClassIDKey
(
riid
,
&
hkey
))
{
if
(
!
RegQueryValueExA
(
hkey
,
""
,
0
,
NULL
,(
LPBYTE
)
szDest
,
&
len
))
if
(
!
RegLoadMUIStringA
(
hkey
,
"LocalizedString"
,
szDest
,
len
,
NULL
,
0
,
NULL
)
||
!
RegQueryValueExA
(
hkey
,
""
,
0
,
NULL
,(
LPBYTE
)
szDest
,
&
len
))
{
ret
=
TRUE
;
}
...
...
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