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
2fc7cdc9
Commit
2fc7cdc9
authored
May 08, 2012
by
Vincent Povirk
Committed by
Alexandre Julliard
May 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Add wrapper functions for IWICPalette methods.
parent
1f0ec3cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
8 deletions
+56
-8
proxy.c
dlls/windowscodecs/proxy.c
+48
-0
windowscodecs.spec
dlls/windowscodecs/windowscodecs.spec
+8
-8
No files found.
dlls/windowscodecs/proxy.c
View file @
2fc7cdc9
...
...
@@ -247,6 +247,54 @@ HRESULT WINAPI IWICImagingFactory_CreateStream_Proxy_W(IWICImagingFactory *pFact
return
IWICImagingFactory_CreateStream
(
pFactory
,
ppIWICStream
);
}
HRESULT
WINAPI
IWICPalette_InitializePredefined_Proxy_W
(
IWICPalette
*
iface
,
WICBitmapPaletteType
ePaletteType
,
BOOL
fAddTransparentColor
)
{
return
IWICPalette_InitializePredefined
(
iface
,
ePaletteType
,
fAddTransparentColor
);
}
HRESULT
WINAPI
IWICPalette_InitializeCustom_Proxy_W
(
IWICPalette
*
iface
,
WICColor
*
pColors
,
UINT
colorCount
)
{
return
IWICPalette_InitializeCustom
(
iface
,
pColors
,
colorCount
);
}
HRESULT
WINAPI
IWICPalette_InitializeFromBitmap_Proxy_W
(
IWICPalette
*
iface
,
IWICBitmapSource
*
pISurface
,
UINT
colorCount
,
BOOL
fAddTransparentColor
)
{
return
IWICPalette_InitializeFromBitmap
(
iface
,
pISurface
,
colorCount
,
fAddTransparentColor
);
}
HRESULT
WINAPI
IWICPalette_InitializeFromPalette_Proxy_W
(
IWICPalette
*
iface
,
IWICPalette
*
pIPalette
)
{
return
IWICPalette_InitializeFromPalette
(
iface
,
pIPalette
);
}
HRESULT
WINAPI
IWICPalette_GetType_Proxy_W
(
IWICPalette
*
iface
,
WICBitmapPaletteType
*
pePaletteType
)
{
return
IWICPalette_GetType
(
iface
,
pePaletteType
);
}
HRESULT
WINAPI
IWICPalette_GetColorCount_Proxy_W
(
IWICPalette
*
iface
,
UINT
*
pcCount
)
{
return
IWICPalette_GetColorCount
(
iface
,
pcCount
);
}
HRESULT
WINAPI
IWICPalette_GetColors_Proxy_W
(
IWICPalette
*
iface
,
UINT
colorCount
,
WICColor
*
pColors
,
UINT
*
pcActualColors
)
{
return
IWICPalette_GetColors
(
iface
,
colorCount
,
pColors
,
pcActualColors
);
}
HRESULT
WINAPI
IWICPalette_HasAlpha_Proxy_W
(
IWICPalette
*
iface
,
BOOL
*
pfHasAlpha
)
{
return
IWICPalette_HasAlpha
(
iface
,
pfHasAlpha
);
}
HRESULT
WINAPI
WICCreateImagingFactory_Proxy
(
UINT
SDKVersion
,
IWICImagingFactory
**
ppIImagingFactory
)
{
TRACE
(
"%x, %p
\n
"
,
SDKVersion
,
ppIImagingFactory
);
...
...
dlls/windowscodecs/windowscodecs.spec
View file @
2fc7cdc9
...
...
@@ -91,14 +91,14 @@
@ stub IWICMetadataQueryReader_GetMetadataByName_Proxy
@ stub IWICMetadataQueryWriter_RemoveMetadataByName_Proxy
@ stub IWICMetadataQueryWriter_SetMetadataByName_Proxy
@ st
ub IWICPalette_GetColorCount_Proxy
@ st
ub IWICPalette_GetColors_Proxy
@ st
ub IWICPalette_GetType_Proxy
@ st
ub IWICPalette_HasAlpha_Proxy
@ st
ub IWICPalette_InitializeCustom_Proxy
@ st
ub IWICPalette_InitializeFromBitmap_Proxy
@ st
ub IWICPalette_InitializeFromPalette_Proxy
@ st
ub IWICPalette_InitializePredefined_Proxy
@ st
dcall IWICPalette_GetColorCount_Proxy(ptr ptr) IWICPalette_GetColorCount_Proxy_W
@ st
dcall IWICPalette_GetColors_Proxy(ptr long ptr ptr) IWICPalette_GetColors_Proxy_W
@ st
dcall IWICPalette_GetType_Proxy(ptr ptr) IWICPalette_GetType_Proxy_W
@ st
dcall IWICPalette_HasAlpha_Proxy(ptr ptr) IWICPalette_HasAlpha_Proxy_W
@ st
dcall IWICPalette_InitializeCustom_Proxy(ptr ptr long) IWICPalette_InitializeCustom_Proxy_W
@ st
dcall IWICPalette_InitializeFromBitmap_Proxy(ptr ptr long long) IWICPalette_InitializeFromBitmap_Proxy_W
@ st
dcall IWICPalette_InitializeFromPalette_Proxy(ptr ptr) IWICPalette_InitializeFromPalette_Proxy_W
@ st
dcall IWICPalette_InitializePredefined_Proxy(ptr long long) IWICPalette_InitializePredefined_Proxy_W
@ stub IWICPixelFormatInfo_GetBitsPerPixel_Proxy
@ stub IWICPixelFormatInfo_GetChannelCount_Proxy
@ stub IWICPixelFormatInfo_GetChannelMask_Proxy
...
...
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