Commit 81a6c8c8 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

dmusic: Don't force a calling convention on internal functions.

parent 0b004131
...@@ -522,7 +522,7 @@ static const IPersistStreamVtbl persiststream_vtbl = { ...@@ -522,7 +522,7 @@ static const IPersistStreamVtbl persiststream_vtbl = {
}; };
HRESULT WINAPI DMUSIC_CreateDirectMusicCollectionImpl(LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter) HRESULT DMUSIC_CreateDirectMusicCollectionImpl(REFIID lpcGUID, void **ppobj, IUnknown *pUnkOuter)
{ {
IDirectMusicCollectionImpl* obj; IDirectMusicCollectionImpl* obj;
HRESULT hr; HRESULT hr;
......
...@@ -588,7 +588,7 @@ static void create_system_ports_list(IDirectMusic8Impl* object) ...@@ -588,7 +588,7 @@ static void create_system_ports_list(IDirectMusic8Impl* object)
} }
/* For ClassFactory */ /* For ClassFactory */
HRESULT WINAPI DMUSIC_CreateDirectMusicImpl(LPCGUID riid, LPVOID* ret_iface, LPUNKNOWN unkouter) HRESULT DMUSIC_CreateDirectMusicImpl(REFIID riid, void **ret_iface, IUnknown *unkouter)
{ {
IDirectMusic8Impl *dmusic; IDirectMusic8Impl *dmusic;
HRESULT ret; HRESULT ret;
......
...@@ -43,7 +43,7 @@ LONG DMUSIC_refCount = 0; ...@@ -43,7 +43,7 @@ LONG DMUSIC_refCount = 0;
typedef struct { typedef struct {
IClassFactory IClassFactory_iface; IClassFactory IClassFactory_iface;
HRESULT WINAPI (*fnCreateInstance)(REFIID riid, void **ppv, IUnknown *pUnkOuter); HRESULT (*fnCreateInstance)(REFIID riid, void **ppv, IUnknown *pUnkOuter);
} IClassFactoryImpl; } IClassFactoryImpl;
/****************************************************************** /******************************************************************
......
...@@ -95,8 +95,8 @@ typedef struct instrument_articulation { ...@@ -95,8 +95,8 @@ typedef struct instrument_articulation {
*/ */
/* CLSID */ /* CLSID */
extern HRESULT WINAPI DMUSIC_CreateDirectMusicImpl (LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN; extern HRESULT DMUSIC_CreateDirectMusicImpl(REFIID riid, void **ret_iface, IUnknown *pUnkOuter) DECLSPEC_HIDDEN;
extern HRESULT WINAPI DMUSIC_CreateDirectMusicCollectionImpl(LPCGUID lpcGUID, LPVOID* ppobj, LPUNKNOWN pUnkOuter) DECLSPEC_HIDDEN; extern HRESULT DMUSIC_CreateDirectMusicCollectionImpl(REFIID riid, void **ppobj, IUnknown *pUnkOuter) DECLSPEC_HIDDEN;
/* Internal */ /* Internal */
extern HRESULT DMUSIC_CreateDirectMusicBufferImpl(LPDMUS_BUFFERDESC desc, LPVOID* ret_iface) DECLSPEC_HIDDEN; extern HRESULT DMUSIC_CreateDirectMusicBufferImpl(LPDMUS_BUFFERDESC desc, LPVOID* ret_iface) DECLSPEC_HIDDEN;
......
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