From d535c8ac161babf9405cf5ed84aadf028b5245c9 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Mon, 21 Nov 2022 20:54:30 -0700 Subject: [PATCH] dmband: Don't force a calling convention on internal functions. --- dlls/dmband/band.c | 2 +- dlls/dmband/bandtrack.c | 2 +- dlls/dmband/dmband_main.c | 2 +- dlls/dmband/dmband_private.h | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/dmband/band.c b/dlls/dmband/band.c index 1910e53d187..d71863a1f9d 100644 --- a/dlls/dmband/band.c +++ b/dlls/dmband/band.c @@ -510,7 +510,7 @@ static const IPersistStreamVtbl persiststream_vtbl = { }; /* for ClassFactory */ -HRESULT WINAPI create_dmband(REFIID lpcGUID, void **ppobj) +HRESULT create_dmband(REFIID lpcGUID, void **ppobj) { IDirectMusicBandImpl* obj; HRESULT hr; diff --git a/dlls/dmband/bandtrack.c b/dlls/dmband/bandtrack.c index 0864e91bd4b..0142b5b5188 100644 --- a/dlls/dmband/bandtrack.c +++ b/dlls/dmband/bandtrack.c @@ -633,7 +633,7 @@ static const IPersistStreamVtbl persiststream_vtbl = { }; /* for ClassFactory */ -HRESULT WINAPI create_dmbandtrack(REFIID lpcGUID, void **ppobj) +HRESULT create_dmbandtrack(REFIID lpcGUID, void **ppobj) { IDirectMusicBandTrack *track; HRESULT hr; diff --git a/dlls/dmband/dmband_main.c b/dlls/dmband/dmband_main.c index 93553c88ca1..c08f8b0a087 100644 --- a/dlls/dmband/dmband_main.c +++ b/dlls/dmband/dmband_main.c @@ -27,7 +27,7 @@ LONG DMBAND_refCount = 0; typedef struct { IClassFactory IClassFactory_iface; - HRESULT WINAPI (*fnCreateInstance)(REFIID riid, void **ret_iface); + HRESULT (*fnCreateInstance)(REFIID riid, void **ret_iface); } IClassFactoryImpl; /****************************************************************** diff --git a/dlls/dmband/dmband_private.h b/dlls/dmband/dmband_private.h index b618b9b3c0b..b0b26076285 100644 --- a/dlls/dmband/dmband_private.h +++ b/dlls/dmband/dmband_private.h @@ -44,8 +44,8 @@ /***************************************************************************** * ClassFactory */ -extern HRESULT WINAPI create_dmband(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; -extern HRESULT WINAPI create_dmbandtrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; +extern HRESULT create_dmband(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; +extern HRESULT create_dmbandtrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; /*****************************************************************************