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
fc663043
Commit
fc663043
authored
Aug 24, 2005
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Aug 24, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement IPicture::get_hPal for PICTYPE_BITMAP.
parent
5370981e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
2 deletions
+26
-2
olepicture.c
dlls/oleaut32/olepicture.c
+26
-2
No files found.
dlls/oleaut32/olepicture.c
View file @
fc663043
...
...
@@ -549,10 +549,34 @@ static HRESULT WINAPI OLEPictureImpl_get_hPal(IPicture *iface,
OLE_HANDLE
*
phandle
)
{
OLEPictureImpl
*
This
=
(
OLEPictureImpl
*
)
iface
;
FIXME
(
"(%p)->(%p): stub, return 0 palette.
\n
"
,
This
,
phandle
);
HRESULT
hres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
phandle
);
if
(
!
phandle
)
return
E_POINTER
;
switch
(
This
->
desc
.
picType
)
{
case
PICTYPE_UNINITIALIZED
:
case
PICTYPE_NONE
:
*
phandle
=
0
;
return
S_OK
;
hres
=
S_FALSE
;
break
;
case
PICTYPE_BITMAP
:
*
phandle
=
(
OLE_HANDLE
)
This
->
desc
.
u
.
bmp
.
hpal
;
hres
=
S_OK
;
break
;
case
PICTYPE_ICON
:
case
PICTYPE_METAFILE
:
case
PICTYPE_ENHMETAFILE
:
default:
FIXME
(
"unimplemented for type %d. Returning 0 palette.
\n
"
,
This
->
desc
.
picType
);
*
phandle
=
0
;
hres
=
S_OK
;
}
TRACE
(
"returning 0x%08lx, palette handle %08x
\n
"
,
hres
,
*
phandle
);
return
hres
;
}
/************************************************************************
...
...
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