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
6e790c9a
Commit
6e790c9a
authored
Feb 28, 2012
by
Vincent Povirk
Committed by
Alexandre Julliard
Jun 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Implement IWICBitmapScaler::GetSize.
parent
3ab9eaf6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
scaler.c
dlls/windowscodecs/scaler.c
+12
-2
No files found.
dlls/windowscodecs/scaler.c
View file @
6e790c9a
...
...
@@ -102,9 +102,19 @@ static ULONG WINAPI BitmapScaler_Release(IWICBitmapScaler *iface)
static
HRESULT
WINAPI
BitmapScaler_GetSize
(
IWICBitmapScaler
*
iface
,
UINT
*
puiWidth
,
UINT
*
puiHeight
)
{
FIXME
(
"(%p,%p,%p): stub
\n
"
,
iface
,
puiWidth
,
puiHeight
);
BitmapScaler
*
This
=
impl_from_IWICBitmapScaler
(
iface
);
TRACE
(
"(%p,%p,%p)
\n
"
,
iface
,
puiWidth
,
puiHeight
);
return
E_NOTIMPL
;
if
(
!
puiWidth
||
!
puiHeight
)
return
E_INVALIDARG
;
if
(
!
This
->
source
)
return
WINCODEC_ERR_WRONGSTATE
;
*
puiWidth
=
This
->
width
;
*
puiHeight
=
This
->
height
;
return
S_OK
;
}
static
HRESULT
WINAPI
BitmapScaler_GetPixelFormat
(
IWICBitmapScaler
*
iface
,
...
...
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