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
56b5d56c
Commit
56b5d56c
authored
Jun 23, 2022
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Jun 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme/tests: Test that DrawThemeBackgroundEx() is at ordinal 47.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
parent
9a11957b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
system.c
dlls/uxtheme/tests/system.c
+12
-0
No files found.
dlls/uxtheme/tests/system.c
View file @
56b5d56c
...
...
@@ -40,6 +40,7 @@ static HTHEME (WINAPI * pOpenThemeDataEx)(HWND, LPCWSTR, DWORD);
static
HTHEME
(
WINAPI
*
pOpenThemeDataForDpi
)(
HWND
,
LPCWSTR
,
UINT
);
static
HPAINTBUFFER
(
WINAPI
*
pBeginBufferedPaint
)(
HDC
,
const
RECT
*
,
BP_BUFFERFORMAT
,
BP_PAINTPARAMS
*
,
HDC
*
);
static
HRESULT
(
WINAPI
*
pBufferedPaintClear
)(
HPAINTBUFFER
,
const
RECT
*
);
static
HRESULT
(
WINAPI
*
pDrawThemeBackgroundEx
)(
HTHEME
,
HDC
,
int
,
int
,
const
RECT
*
,
const
DTBGOPTS
*
);
static
HRESULT
(
WINAPI
*
pEndBufferedPaint
)(
HPAINTBUFFER
,
BOOL
);
static
HRESULT
(
WINAPI
*
pGetBufferedPaintBits
)(
HPAINTBUFFER
,
RGBQUAD
**
,
int
*
);
static
HDC
(
WINAPI
*
pGetBufferedPaintDC
)(
HPAINTBUFFER
);
...
...
@@ -80,6 +81,7 @@ static void init_funcs(void)
GET_PROC
(
uxtheme
,
BeginBufferedPaint
)
GET_PROC
(
uxtheme
,
BufferedPaintClear
)
GET_PROC
(
uxtheme
,
EndBufferedPaint
)
GET_PROC
(
uxtheme
,
DrawThemeBackgroundEx
)
GET_PROC
(
uxtheme
,
GetBufferedPaintBits
)
GET_PROC
(
uxtheme
,
GetBufferedPaintDC
)
GET_PROC
(
uxtheme
,
GetBufferedPaintTargetDC
)
...
...
@@ -2261,6 +2263,15 @@ static void test_EnableThemeDialogTexture(void)
UnregisterClassA
(
cls
.
lpszClassName
,
GetModuleHandleA
(
NULL
));
}
static
void
test_DrawThemeBackgroundEx
(
void
)
{
void
*
proc
;
proc
=
GetProcAddress
(
GetModuleHandleA
(
"uxtheme.dll"
),
MAKEINTRESOURCEA
(
47
));
todo_wine
ok
(
proc
==
(
void
*
)
pDrawThemeBackgroundEx
,
"Expected DrawThemeBackgroundEx() at ordinal 47.
\n
"
);
}
START_TEST
(
system
)
{
ULONG_PTR
ctx_cookie
;
...
...
@@ -2287,6 +2298,7 @@ START_TEST(system)
test_GetThemeIntList
();
test_GetThemeTransitionDuration
();
test_DrawThemeParentBackground
();
test_DrawThemeBackgroundEx
();
if
(
load_v6_module
(
&
ctx_cookie
,
&
ctx
))
{
...
...
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