Commit 97df1e12 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

windowscodecs: Make the QueryInterface() functions static.

parent 27072f29
...@@ -66,7 +66,7 @@ typedef struct { ...@@ -66,7 +66,7 @@ typedef struct {
BITMAPV5HEADER bih; BITMAPV5HEADER bih;
} BmpFrameDecode; } BmpFrameDecode;
HRESULT WINAPI BmpFrameDecode_QueryInterface(IWICBitmapFrameDecode *iface, REFIID iid, static HRESULT WINAPI BmpFrameDecode_QueryInterface(IWICBitmapFrameDecode *iface, REFIID iid,
void **ppv) void **ppv)
{ {
BmpFrameDecode *This = (BmpFrameDecode*)iface; BmpFrameDecode *This = (BmpFrameDecode*)iface;
...@@ -274,7 +274,7 @@ static HRESULT BmpDecoder_ReadHeaders(BmpDecoder* This, IStream *stream) ...@@ -274,7 +274,7 @@ static HRESULT BmpDecoder_ReadHeaders(BmpDecoder* This, IStream *stream)
return S_OK; return S_OK;
} }
HRESULT WINAPI BmpDecoder_QueryInterface(IWICBitmapDecoder *iface, REFIID iid, static HRESULT WINAPI BmpDecoder_QueryInterface(IWICBitmapDecoder *iface, REFIID iid,
void **ppv) void **ppv)
{ {
BmpDecoder *This = (BmpDecoder*)iface; BmpDecoder *This = (BmpDecoder*)iface;
......
...@@ -39,7 +39,7 @@ typedef struct { ...@@ -39,7 +39,7 @@ typedef struct {
LONG ref; LONG ref;
} ImagingFactory; } ImagingFactory;
HRESULT WINAPI ImagingFactory_QueryInterface(IWICImagingFactory *iface, REFIID iid, static HRESULT WINAPI ImagingFactory_QueryInterface(IWICImagingFactory *iface, REFIID iid,
void **ppv) void **ppv)
{ {
ImagingFactory *This = (ImagingFactory*)iface; ImagingFactory *This = (ImagingFactory*)iface;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment