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
b0e9548e
Commit
b0e9548e
authored
May 08, 2012
by
Vincent Povirk
Committed by
Alexandre Julliard
May 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Add wrapper functions for IWICImagingFactory methods.
parent
bb2df245
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
148 additions
and
20 deletions
+148
-20
proxy.c
dlls/windowscodecs/proxy.c
+128
-0
windowscodecs.spec
dlls/windowscodecs/windowscodecs.spec
+20
-20
No files found.
dlls/windowscodecs/proxy.c
View file @
b0e9548e
...
...
@@ -36,6 +36,134 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
wincodecs
);
HRESULT
WINAPI
IWICImagingFactory_CreateBitmapClipper_Proxy_W
(
IWICImagingFactory
*
pFactory
,
IWICBitmapClipper
**
ppIBitmapClipper
)
{
return
IWICImagingFactory_CreateBitmapClipper
(
pFactory
,
ppIBitmapClipper
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateBitmapFlipRotator_Proxy_W
(
IWICImagingFactory
*
pFactory
,
IWICBitmapFlipRotator
**
ppIBitmapFlipRotator
)
{
return
IWICImagingFactory_CreateBitmapFlipRotator
(
pFactory
,
ppIBitmapFlipRotator
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateBitmapFromHBITMAP_Proxy_W
(
IWICImagingFactory
*
pFactory
,
HBITMAP
hBitmap
,
HPALETTE
hPalette
,
WICBitmapAlphaChannelOption
options
,
IWICBitmap
**
ppIBitmap
)
{
return
IWICImagingFactory_CreateBitmapFromHBITMAP
(
pFactory
,
hBitmap
,
hPalette
,
options
,
ppIBitmap
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateBitmapFromHICON_Proxy_W
(
IWICImagingFactory
*
pFactory
,
HICON
hIcon
,
IWICBitmap
**
ppIBitmap
)
{
return
IWICImagingFactory_CreateBitmapFromHICON
(
pFactory
,
hIcon
,
ppIBitmap
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateBitmapFromMemory_Proxy_W
(
IWICImagingFactory
*
pFactory
,
UINT
uiWidth
,
UINT
uiHeight
,
REFWICPixelFormatGUID
pixelFormat
,
UINT
cbStride
,
UINT
cbBufferSize
,
BYTE
*
pbBuffer
,
IWICBitmap
**
ppIBitmap
)
{
return
IWICImagingFactory_CreateBitmapFromMemory
(
pFactory
,
uiWidth
,
uiHeight
,
pixelFormat
,
cbStride
,
cbBufferSize
,
pbBuffer
,
ppIBitmap
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateBitmapFromSource_Proxy_W
(
IWICImagingFactory
*
pFactory
,
IWICBitmapSource
*
piBitmapSource
,
WICBitmapCreateCacheOption
option
,
IWICBitmap
**
ppIBitmap
)
{
return
IWICImagingFactory_CreateBitmapFromSource
(
pFactory
,
piBitmapSource
,
option
,
ppIBitmap
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateBitmapScaler_Proxy_W
(
IWICImagingFactory
*
pFactory
,
IWICBitmapScaler
**
ppIBitmapScaler
)
{
return
IWICImagingFactory_CreateBitmapScaler
(
pFactory
,
ppIBitmapScaler
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateBitmap_Proxy_W
(
IWICImagingFactory
*
pFactory
,
UINT
uiWidth
,
UINT
uiHeight
,
REFWICPixelFormatGUID
pixelFormat
,
WICBitmapCreateCacheOption
option
,
IWICBitmap
**
ppIBitmap
)
{
return
IWICImagingFactory_CreateBitmap
(
pFactory
,
uiWidth
,
uiHeight
,
pixelFormat
,
option
,
ppIBitmap
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateComponentInfo_Proxy_W
(
IWICImagingFactory
*
pFactory
,
REFCLSID
clsidComponent
,
IWICComponentInfo
**
ppIInfo
)
{
return
IWICImagingFactory_CreateComponentInfo
(
pFactory
,
clsidComponent
,
ppIInfo
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateDecoderFromFileHandle_Proxy_W
(
IWICImagingFactory
*
pFactory
,
ULONG_PTR
hFile
,
const
GUID
*
pguidVendor
,
WICDecodeOptions
metadataOptions
,
IWICBitmapDecoder
**
ppIDecoder
)
{
return
IWICImagingFactory_CreateDecoderFromFileHandle
(
pFactory
,
hFile
,
pguidVendor
,
metadataOptions
,
ppIDecoder
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateDecoderFromFilename_Proxy_W
(
IWICImagingFactory
*
pFactory
,
LPCWSTR
wzFilename
,
const
GUID
*
pguidVendor
,
DWORD
dwDesiredAccess
,
WICDecodeOptions
metadataOptions
,
IWICBitmapDecoder
**
ppIDecoder
)
{
return
IWICImagingFactory_CreateDecoderFromFilename
(
pFactory
,
wzFilename
,
pguidVendor
,
dwDesiredAccess
,
metadataOptions
,
ppIDecoder
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateDecoderFromStream_Proxy_W
(
IWICImagingFactory
*
pFactory
,
IStream
*
pIStream
,
const
GUID
*
pguidVendor
,
WICDecodeOptions
metadataOptions
,
IWICBitmapDecoder
**
ppIDecoder
)
{
return
IWICImagingFactory_CreateDecoderFromStream
(
pFactory
,
pIStream
,
pguidVendor
,
metadataOptions
,
ppIDecoder
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateEncoder_Proxy_W
(
IWICImagingFactory
*
pFactory
,
REFGUID
guidContainerFormat
,
const
GUID
*
pguidVendor
,
IWICBitmapEncoder
**
ppIEncoder
)
{
return
IWICImagingFactory_CreateEncoder
(
pFactory
,
guidContainerFormat
,
pguidVendor
,
ppIEncoder
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateFastMetadataEncoderFromDecoder_Proxy_W
(
IWICImagingFactory
*
pFactory
,
IWICBitmapDecoder
*
pIDecoder
,
IWICFastMetadataEncoder
**
ppIFastEncoder
)
{
return
IWICImagingFactory_CreateFastMetadataEncoderFromDecoder
(
pFactory
,
pIDecoder
,
ppIFastEncoder
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateFastMetadataEncoderFromFrameDecode_Proxy_W
(
IWICImagingFactory
*
pFactory
,
IWICBitmapFrameDecode
*
pIFrameDecoder
,
IWICFastMetadataEncoder
**
ppIFastEncoder
)
{
return
IWICImagingFactory_CreateFastMetadataEncoderFromFrameDecode
(
pFactory
,
pIFrameDecoder
,
ppIFastEncoder
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateFormatConverter_Proxy_W
(
IWICImagingFactory
*
pFactory
,
IWICFormatConverter
**
ppIFormatConverter
)
{
return
IWICImagingFactory_CreateFormatConverter
(
pFactory
,
ppIFormatConverter
);
}
HRESULT
WINAPI
IWICImagingFactory_CreatePalette_Proxy_W
(
IWICImagingFactory
*
pFactory
,
IWICPalette
**
ppIPalette
)
{
return
IWICImagingFactory_CreatePalette
(
pFactory
,
ppIPalette
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateQueryWriterFromReader_Proxy_W
(
IWICImagingFactory
*
pFactory
,
IWICMetadataQueryReader
*
pIQueryReader
,
const
GUID
*
pguidVendor
,
IWICMetadataQueryWriter
**
ppIQueryWriter
)
{
return
IWICImagingFactory_CreateQueryWriterFromReader
(
pFactory
,
pIQueryReader
,
pguidVendor
,
ppIQueryWriter
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateQueryWriter_Proxy_W
(
IWICImagingFactory
*
pFactory
,
REFGUID
guidMetadataFormat
,
const
GUID
*
pguidVendor
,
IWICMetadataQueryWriter
**
ppIQueryWriter
)
{
return
IWICImagingFactory_CreateQueryWriter
(
pFactory
,
guidMetadataFormat
,
pguidVendor
,
ppIQueryWriter
);
}
HRESULT
WINAPI
IWICImagingFactory_CreateStream_Proxy_W
(
IWICImagingFactory
*
pFactory
,
IWICStream
**
ppIWICStream
)
{
return
IWICImagingFactory_CreateStream
(
pFactory
,
ppIWICStream
);
}
HRESULT
WINAPI
WICCreateImagingFactory_Proxy
(
UINT
SDKVersion
,
IWICImagingFactory
**
ppIImagingFactory
)
{
TRACE
(
"%x, %p
\n
"
,
SDKVersion
,
ppIImagingFactory
);
...
...
dlls/windowscodecs/windowscodecs.spec
View file @
b0e9548e
...
...
@@ -63,26 +63,26 @@
@ stub IWICFastMetadataEncoder_Commit_Proxy
@ stub IWICFastMetadataEncoder_GetMetadataQueryWriter_Proxy
@ stub IWICFormatConverter_Initialize_Proxy
@ st
ub IWICImagingFactory_CreateBitmapClipper_Proxy
@ st
ub IWICImagingFactory_CreateBitmapFlipRotator_Proxy
@ st
ub IWICImagingFactory_CreateBitmapFromHBITMAP_Proxy
@ st
ub IWICImagingFactory_CreateBitmapFromHICON_Proxy
@ st
ub IWICImagingFactory_CreateBitmapFromMemory_Proxy
@ st
ub IWICImagingFactory_CreateBitmapFromSource_Proxy
@ st
ub IWICImagingFactory_CreateBitmapScaler_Proxy
@ st
ub IWICImagingFactory_CreateBitmap_Proxy
@ st
ub IWICImagingFactory_CreateComponentInfo_Proxy
@ st
ub IWICImagingFactory_CreateDecoderFromFileHandle_Proxy
@ st
ub IWICImagingFactory_CreateDecoderFromFilename_Proxy
@ st
ub IWICImagingFactory_CreateDecoderFromStream_Proxy
@ st
ub IWICImagingFactory_CreateEncoder_Proxy
@ st
ub IWICImagingFactory_CreateFastMetadataEncoderFromDecoder_Proxy
@ st
ub IWICImagingFactory_CreateFastMetadataEncoderFromFrameDecode_Proxy
@ st
ub IWICImagingFactory_CreateFormatConverter_Proxy
@ st
ub IWICImagingFactory_CreatePalette_Proxy
@ st
ub IWICImagingFactory_CreateQueryWriterFromReader_Proxy
@ st
ub IWICImagingFactory_CreateQueryWriter_Proxy
@ st
ub IWICImagingFactory_CreateStream_Proxy
@ st
dcall IWICImagingFactory_CreateBitmapClipper_Proxy(ptr ptr) IWICImagingFactory_CreateBitmapClipper_Proxy_W
@ st
dcall IWICImagingFactory_CreateBitmapFlipRotator_Proxy(ptr ptr) IWICImagingFactory_CreateBitmapFlipRotator_Proxy_W
@ st
dcall IWICImagingFactory_CreateBitmapFromHBITMAP_Proxy(ptr ptr ptr long ptr) IWICImagingFactory_CreateBitmapFromHBITMAP_Proxy_W
@ st
dcall IWICImagingFactory_CreateBitmapFromHICON_Proxy(ptr ptr ptr) IWICImagingFactory_CreateBitmapFromHICON_Proxy_W
@ st
dcall IWICImagingFactory_CreateBitmapFromMemory_Proxy(ptr long long ptr long long ptr ptr) IWICImagingFactory_CreateBitmapFromMemory_Proxy_W
@ st
dcall IWICImagingFactory_CreateBitmapFromSource_Proxy(ptr ptr long ptr) IWICImagingFactory_CreateBitmapFromSource_Proxy_W
@ st
dcall IWICImagingFactory_CreateBitmapScaler_Proxy(ptr ptr) IWICImagingFactory_CreateBitmapScaler_Proxy_W
@ st
dcall IWICImagingFactory_CreateBitmap_Proxy(ptr long long ptr long ptr) IWICImagingFactory_CreateBitmap_Proxy_W
@ st
dcall IWICImagingFactory_CreateComponentInfo_Proxy(ptr ptr ptr) IWICImagingFactory_CreateComponentInfo_Proxy_W
@ st
dcall IWICImagingFactory_CreateDecoderFromFileHandle_Proxy(ptr ptr ptr long ptr) IWICImagingFactory_CreateDecoderFromFileHandle_Proxy_W
@ st
dcall IWICImagingFactory_CreateDecoderFromFilename_Proxy(ptr wstr ptr long long ptr) IWICImagingFactory_CreateDecoderFromFilename_Proxy_W
@ st
dcall IWICImagingFactory_CreateDecoderFromStream_Proxy(ptr ptr ptr long ptr) IWICImagingFactory_CreateDecoderFromStream_Proxy_W
@ st
dcall IWICImagingFactory_CreateEncoder_Proxy(ptr ptr ptr ptr) IWICImagingFactory_CreateEncoder_Proxy_W
@ st
dcall IWICImagingFactory_CreateFastMetadataEncoderFromDecoder_Proxy(ptr ptr ptr) IWICImagingFactory_CreateFastMetadataEncoderFromDecoder_Proxy_W
@ st
dcall IWICImagingFactory_CreateFastMetadataEncoderFromFrameDecode_Proxy(ptr ptr ptr) IWICImagingFactory_CreateFastMetadataEncoderFromFrameDecode_Proxy_W
@ st
dcall IWICImagingFactory_CreateFormatConverter_Proxy(ptr ptr) IWICImagingFactory_CreateFormatConverter_Proxy_W
@ st
dcall IWICImagingFactory_CreatePalette_Proxy(ptr ptr) IWICImagingFactory_CreatePalette_Proxy_W
@ st
dcall IWICImagingFactory_CreateQueryWriterFromReader_Proxy(ptr ptr ptr ptr) IWICImagingFactory_CreateQueryWriterFromReader_Proxy_W
@ st
dcall IWICImagingFactory_CreateQueryWriter_Proxy(ptr ptr ptr ptr) IWICImagingFactory_CreateQueryWriter_Proxy_W
@ st
dcall IWICImagingFactory_CreateStream_Proxy(ptr ptr) IWICImagingFactory_CreateStream_Proxy_W
@ stub IWICMetadataBlockReader_GetCount_Proxy
@ stub IWICMetadataBlockReader_GetReaderByIndex_Proxy
@ stub IWICMetadataQueryReader_GetContainerFormat_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