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
320a3f7e
Commit
320a3f7e
authored
Oct 24, 2013
by
André Hentschel
Committed by
Alexandre Julliard
Oct 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Fix olepicture tests compilation with __WINESRC__ defined.
parent
1f31eb42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
olepicture.c
dlls/oleaut32/tests/olepicture.c
+3
-3
No files found.
dlls/oleaut32/tests/olepicture.c
View file @
320a3f7e
...
...
@@ -220,7 +220,7 @@ test_pic_with_stream(LPSTREAM stream, unsigned int imgsize)
if
(
handle
)
{
BITMAP
bmp
;
GetObject
(
UlongToHandle
(
handle
),
sizeof
(
BITMAP
),
&
bmp
);
GetObject
A
(
UlongToHandle
(
handle
),
sizeof
(
BITMAP
),
&
bmp
);
todo_wine
ok
(
bmp
.
bmBits
!=
0
,
"not a dib
\n
"
);
}
...
...
@@ -640,7 +640,7 @@ static void test_Render(void)
desc
.
cbSizeofstruct
=
sizeof
(
PICTDESC
);
desc
.
picType
=
PICTYPE_ICON
;
desc
.
u
.
icon
.
hicon
=
LoadIcon
(
NULL
,
IDI_APPLICATION
);
desc
.
u
.
icon
.
hicon
=
LoadIcon
A
(
NULL
,
(
LPCSTR
)
IDI_APPLICATION
);
if
(
!
desc
.
u
.
icon
.
hicon
){
win_skip
(
"LoadIcon failed. Skipping...
\n
"
);
ReleaseDC
(
NULL
,
hdc
);
...
...
@@ -1020,7 +1020,7 @@ static void test_load_save_icon(void)
desc
.
cbSizeofstruct
=
sizeof
(
desc
);
desc
.
picType
=
PICTYPE_ICON
;
desc
.
u
.
icon
.
hicon
=
LoadIcon
(
0
,
IDI_APPLICATION
);
desc
.
u
.
icon
.
hicon
=
LoadIcon
A
(
NULL
,
(
LPCSTR
)
IDI_APPLICATION
);
hr
=
OleCreatePictureIndirect
(
&
desc
,
&
IID_IPicture
,
FALSE
,
(
void
**
)
&
pic
);
ok
(
hr
==
S_OK
,
"OleCreatePictureIndirect error %#x
\n
"
,
hr
);
...
...
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