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
e34d570b
Commit
e34d570b
authored
Jul 06, 2018
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jul 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: IPicture::set_hPal() supports only bitmaps.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e5553bbd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
olepicture.c
dlls/oleaut32/olepicture.c
+12
-4
No files found.
dlls/oleaut32/olepicture.c
View file @
e34d570b
...
...
@@ -739,10 +739,18 @@ static HRESULT WINAPI OLEPictureImpl_Render(IPicture *iface, HDC hdc,
static
HRESULT
WINAPI
OLEPictureImpl_set_hPal
(
IPicture
*
iface
,
OLE_HANDLE
hpal
)
{
OLEPictureImpl
*
This
=
impl_from_IPicture
(
iface
);
FIXME
(
"(%p)->(%08x): stub
\n
"
,
This
,
hpal
);
OLEPicture_SendNotify
(
This
,
DISPID_PICT_HPAL
);
return
E_NOTIMPL
;
OLEPictureImpl
*
This
=
impl_from_IPicture
(
iface
);
TRACE
(
"(%p)->(%08x)
\n
"
,
This
,
hpal
);
if
(
This
->
desc
.
picType
==
PICTYPE_BITMAP
)
{
This
->
desc
.
u
.
bmp
.
hpal
=
ULongToHandle
(
hpal
);
OLEPicture_SendNotify
(
This
,
DISPID_PICT_HPAL
);
return
S_OK
;
}
return
E_FAIL
;
}
/************************************************************************
...
...
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