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
4ca01b34
Commit
4ca01b34
authored
Jan 29, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 31, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix a dependency on unimplemented function call (Valgrind).
parent
219f477a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
progman_dde.c
dlls/shell32/tests/progman_dde.c
+12
-4
No files found.
dlls/shell32/tests/progman_dde.c
View file @
4ca01b34
...
...
@@ -200,14 +200,22 @@ static void init_strings(void)
WCHAR
module
[
MAX_PATH
];
WCHAR
module_expanded
[
MAX_PATH
];
WCHAR
localized
[
MAX_PATH
];
HRESULT
hr
;
int
id
;
MultiByteToWideChar
(
CP_ACP
,
0
,
startup
,
-
1
,
startupW
,
sizeof
(
startupW
)
/
sizeof
(
WCHAR
));
pSHGetLocalizedName
(
startupW
,
module
,
MAX_PATH
,
&
id
);
ExpandEnvironmentStringsW
(
module
,
module_expanded
,
MAX_PATH
);
LoadStringW
(
GetModuleHandleW
(
module_expanded
),
id
,
localized
,
MAX_PATH
);
hr
=
pSHGetLocalizedName
(
startupW
,
module
,
MAX_PATH
,
&
id
);
todo_wine
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
/* check to be removed when SHGetLocalizedName is implemented */
if
(
hr
==
S_OK
)
{
ExpandEnvironmentStringsW
(
module
,
module_expanded
,
MAX_PATH
);
LoadStringW
(
GetModuleHandleW
(
module_expanded
),
id
,
localized
,
MAX_PATH
);
WideCharToMultiByte
(
CP_ACP
,
0
,
localized
,
-
1
,
StartupTitle
,
sizeof
(
StartupTitle
),
NULL
,
NULL
);
WideCharToMultiByte
(
CP_ACP
,
0
,
localized
,
-
1
,
StartupTitle
,
sizeof
(
StartupTitle
),
NULL
,
NULL
);
}
else
lstrcpyA
(
StartupTitle
,
(
strrchr
(
startup
,
'\\'
)
+
1
));
}
else
{
...
...
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