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
eaa6376e
Commit
eaa6376e
authored
Jul 22, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Jul 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi/tests: Load shell32 explicitly.
parent
a6db972c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
Makefile.in
dlls/shlwapi/tests/Makefile.in
+1
-1
ordinal.c
dlls/shlwapi/tests/ordinal.c
+10
-1
No files found.
dlls/shlwapi/tests/Makefile.in
View file @
eaa6376e
...
...
@@ -3,7 +3,7 @@ TOPOBJDIR = ../../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
TESTDLL
=
shlwapi.dll
IMPORTS
=
sh
ell32 sh
lwapi user32 ole32 oleaut32 advapi32
IMPORTS
=
shlwapi user32 ole32 oleaut32 advapi32
C_SRCS
=
\
assoc.c
\
...
...
dlls/shlwapi/tests/ordinal.c
View file @
eaa6376e
...
...
@@ -64,6 +64,9 @@ static BOOL (WINAPI *pSHSetIniStringW)(LPCWSTR, LPCWSTR, LPCWSTR, LPCWSTR);
static
HMODULE
hmlang
;
static
HRESULT
(
WINAPI
*
pLcidToRfc1766A
)(
LCID
,
LPSTR
,
INT
);
static
HMODULE
hshell32
;
static
HRESULT
(
WINAPI
*
pSHGetDesktopFolder
)(
IShellFolder
**
);
static
const
CHAR
ie_international
[]
=
{
'S'
,
'o'
,
'f'
,
't'
,
'w'
,
'a'
,
'r'
,
'e'
,
'\\'
,
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
'\\'
,
...
...
@@ -2514,7 +2517,7 @@ static void test_SHIShellFolder_EnumObjects(void)
ok
(
enm
==
(
IEnumIDList
*
)
0xcafebabe
,
"Didn't get expected enumerator location, instead: %p
\n
"
,
enm
);
/* SHIShellFolder_EnumObjects isn't strict about the IShellFolder object */
hres
=
SHGetDesktopFolder
(
&
folder
);
hres
=
p
SHGetDesktopFolder
(
&
folder
);
ok
(
hres
==
S_OK
,
"SHGetDesktopFolder failed: 0x%08x
\n
"
,
hres
);
enm
=
NULL
;
...
...
@@ -2696,6 +2699,9 @@ START_TEST(ordinal)
hmlang
=
LoadLibraryA
(
"mlang.dll"
);
pLcidToRfc1766A
=
(
void
*
)
GetProcAddress
(
hmlang
,
"LcidToRfc1766A"
);
hshell32
=
LoadLibraryA
(
"shell32.dll"
);
pSHGetDesktopFolder
=
(
void
*
)
GetProcAddress
(
hshell32
,
"SHGetDesktopFolder"
);
test_GetAcceptLanguagesA
();
test_SHSearchMapInt
();
test_alloc_shared
();
...
...
@@ -2714,4 +2720,7 @@ START_TEST(ordinal)
test_SHIShellFolder_EnumObjects
();
test_SHGetIniString
();
test_SHSetIniString
();
FreeLibrary
(
hshell32
);
FreeLibrary
(
hmlang
);
}
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