Rob Shearman : quartz: Fix placement of WINAPI attribute in fnFoundSeek typedef.

Alexandre Julliard julliard at winehq.org
Wed Oct 1 14:09:42 CDT 2008


Module: wine
Branch: master
Commit: 2fb89a4e36f6101182615f6b9d613577ef8f10e1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2fb89a4e36f6101182615f6b9d613577ef8f10e1

Author: Rob Shearman <robertshearman at gmail.com>
Date:   Wed Oct  1 11:21:11 2008 +0100

quartz: Fix placement of WINAPI attribute in fnFoundSeek typedef.

MSVC requires that calling conventions appear inside the brackets.

---

 dlls/quartz/filtergraph.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index 42b6da8..c9e4e56 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -2091,7 +2091,7 @@ static ULONG WINAPI MediaSeeking_Release(IMediaSeeking *iface) {
     return Filtergraph_Release(This);
 }
 
-typedef HRESULT WINAPI (*fnFoundSeek)(IFilterGraphImpl *This, IMediaSeeking*, DWORD_PTR arg);
+typedef HRESULT (WINAPI *fnFoundSeek)(IFilterGraphImpl *This, IMediaSeeking*, DWORD_PTR arg);
 
 static HRESULT all_renderers_seek(IFilterGraphImpl *This, fnFoundSeek FoundSeek, DWORD_PTR arg) {
     BOOL allnotimpl = TRUE;




More information about the wine-cvs mailing list