dmcompos: 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 d535c8ac16
commit c9fb12c19d
6 changed files with 10 additions and 10 deletions

View file

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

View file

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

View file

@ -144,7 +144,7 @@ static const IDirectMusicComposerVtbl dmcomposer_vtbl = {
}; };
/* for ClassFactory */ /* for ClassFactory */
HRESULT WINAPI create_dmcomposer(REFIID riid, void **ret_iface) HRESULT create_dmcomposer(REFIID riid, void **ret_iface)
{ {
IDirectMusicComposerImpl *obj; IDirectMusicComposerImpl *obj;
HRESULT hr; HRESULT hr;

View file

@ -42,10 +42,10 @@ LONG DMCOMPOS_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;
static HRESULT WINAPI create_direct_music_template(REFIID riid, void **ret_iface) static HRESULT create_direct_music_template(REFIID riid, void **ret_iface)
{ {
FIXME("(%s, %p) stub\n", debugstr_dmguid(riid), ret_iface); FIXME("(%s, %p) stub\n", debugstr_dmguid(riid), ret_iface);

View file

@ -44,10 +44,10 @@
/***************************************************************************** /*****************************************************************************
* ClassFactory * ClassFactory
*/ */
extern HRESULT WINAPI create_dmchordmap(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; extern HRESULT create_dmchordmap(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN;
extern HRESULT WINAPI create_dmcomposer(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; extern HRESULT create_dmcomposer(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN;
extern HRESULT WINAPI create_dmchordmaptrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; extern HRESULT create_dmchordmaptrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN;
extern HRESULT WINAPI create_dmsignposttrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; extern HRESULT create_dmsignposttrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN;
/********************************************************************** /**********************************************************************
* Dll lifetime tracking declaration for dmcompos.dll * Dll lifetime tracking declaration for dmcompos.dll

View file

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