Module: wine Branch: master Commit: e84562a15a58b274054f4ec5c62cc8ffdad9d766 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e84562a15a58b274054f4ec5c6...
Author: Francois Gouget fgouget@free.fr Date: Tue Jun 12 17:52:20 2007 +0200
msdmo: Improve the prototypes Win64 compatibility by replacing long with LONG.
---
dlls/msdmo/dmoreg.c | 8 ++++---- include/dmoreg.h | 4 ++-- tools/winapi/win32.api | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/dlls/msdmo/dmoreg.c b/dlls/msdmo/dmoreg.c index 74aa1b4..ff0440a 100644 --- a/dlls/msdmo/dmoreg.c +++ b/dlls/msdmo/dmoreg.c @@ -650,11 +650,11 @@ static const IEnumDMOVtbl edmovt = };
-HRESULT WINAPI DMOGetTypes(REFCLSID a, unsigned long b, unsigned long* c, - DMO_PARTIAL_MEDIATYPE* d, unsigned long e, - unsigned long* f, DMO_PARTIAL_MEDIATYPE* g) +HRESULT WINAPI DMOGetTypes(REFCLSID a, ULONG b, ULONG* c, + DMO_PARTIAL_MEDIATYPE* d, ULONG e, + ULONG* f, DMO_PARTIAL_MEDIATYPE* g) { - FIXME("(%p,%lu,%p,%p,%lu,%p,%p),stub!\n",a,b,c,d,e,f,g); + FIXME("(%p,%u,%p,%p,%u,%p,%p),stub!\n",a,b,c,d,e,f,g);
return E_NOTIMPL; } diff --git a/include/dmoreg.h b/include/dmoreg.h index 0852346..c352790 100644 --- a/include/dmoreg.h +++ b/include/dmoreg.h @@ -42,8 +42,8 @@ HRESULT WINAPI DMORegister(LPCWSTR,REFCLSID,REFGUID,DWORD,DWORD,const DMO_PARTIA HRESULT WINAPI DMOUnregister(REFCLSID,REFGUID); HRESULT WINAPI DMOEnum(REFGUID,DWORD,DWORD,const DMO_PARTIAL_MEDIATYPE*,DWORD, const DMO_PARTIAL_MEDIATYPE*,IEnumDMO**); -HRESULT WINAPI DMOGetTypes(REFCLSID,unsigned long,unsigned long*,DMO_PARTIAL_MEDIATYPE*, - unsigned long,unsigned long*,DMO_PARTIAL_MEDIATYPE*); +HRESULT WINAPI DMOGetTypes(REFCLSID,ULONG,ULONG*,DMO_PARTIAL_MEDIATYPE*, + ULONG,ULONG*,DMO_PARTIAL_MEDIATYPE*); HRESULT WINAPI DMOGetName(REFCLSID,WCHAR*);
DEFINE_GUID(DMOCATEGORY_AUDIO_DECODER, diff --git a/tools/winapi/win32.api b/tools/winapi/win32.api index 1039cbd..989755f 100644 --- a/tools/winapi/win32.api +++ b/tools/winapi/win32.api @@ -2305,7 +2305,7 @@ PWSTR
DWORD HRESULT -unsigned long +ULONG
%ptr
@@ -2315,7 +2315,7 @@ DMO_PARTIAL_MEDIATYPE * IEnumDMO ** REFCLSID REFGUID -unsigned long * +ULONG *
%wstr