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

This commit is contained in:
Alex Henrie 2022-11-21 20:54:30 -07:00 committed by Alexandre Julliard
parent 71fdd64bc6
commit d535c8ac16
4 changed files with 5 additions and 5 deletions

View file

@ -510,7 +510,7 @@ static const IPersistStreamVtbl persiststream_vtbl = {
}; };
/* for ClassFactory */ /* for ClassFactory */
HRESULT WINAPI create_dmband(REFIID lpcGUID, void **ppobj) HRESULT create_dmband(REFIID lpcGUID, void **ppobj)
{ {
IDirectMusicBandImpl* obj; IDirectMusicBandImpl* obj;
HRESULT hr; HRESULT hr;

View file

@ -633,7 +633,7 @@ static const IPersistStreamVtbl persiststream_vtbl = {
}; };
/* for ClassFactory */ /* for ClassFactory */
HRESULT WINAPI create_dmbandtrack(REFIID lpcGUID, void **ppobj) HRESULT create_dmbandtrack(REFIID lpcGUID, void **ppobj)
{ {
IDirectMusicBandTrack *track; IDirectMusicBandTrack *track;
HRESULT hr; HRESULT hr;

View file

@ -27,7 +27,7 @@ LONG DMBAND_refCount = 0;
typedef struct { typedef struct {
IClassFactory IClassFactory_iface; IClassFactory IClassFactory_iface;
HRESULT WINAPI (*fnCreateInstance)(REFIID riid, void **ret_iface); HRESULT (*fnCreateInstance)(REFIID riid, void **ret_iface);
} IClassFactoryImpl; } IClassFactoryImpl;
/****************************************************************** /******************************************************************

View file

@ -44,8 +44,8 @@
/***************************************************************************** /*****************************************************************************
* ClassFactory * ClassFactory
*/ */
extern HRESULT WINAPI create_dmband(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; extern HRESULT create_dmband(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN;
extern HRESULT WINAPI create_dmbandtrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; extern HRESULT create_dmbandtrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN;
/***************************************************************************** /*****************************************************************************