Commit 6bf23c4a authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

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

parent 5dab1e4e
...@@ -316,7 +316,7 @@ static const IPersistStreamVtbl persiststream_vtbl = { ...@@ -316,7 +316,7 @@ static const IPersistStreamVtbl persiststream_vtbl = {
}; };
/* for ClassFactory */ /* for ClassFactory */
HRESULT WINAPI create_dmauditiontrack(REFIID lpcGUID, void **ppobj) HRESULT create_dmauditiontrack(REFIID lpcGUID, void **ppobj)
{ {
IDirectMusicAuditionTrack *track; IDirectMusicAuditionTrack *track;
HRESULT hr; HRESULT hr;
......
...@@ -415,7 +415,7 @@ static const IPersistStreamVtbl persiststream_vtbl = { ...@@ -415,7 +415,7 @@ static const IPersistStreamVtbl persiststream_vtbl = {
}; };
/* for ClassFactory */ /* for ClassFactory */
HRESULT WINAPI create_dmchordtrack(REFIID lpcGUID, void **ppobj) HRESULT create_dmchordtrack(REFIID lpcGUID, void **ppobj)
{ {
IDirectMusicChordTrack *track; IDirectMusicChordTrack *track;
HRESULT hr; HRESULT hr;
......
...@@ -368,7 +368,7 @@ static const IPersistStreamVtbl persiststream_vtbl = { ...@@ -368,7 +368,7 @@ static const IPersistStreamVtbl persiststream_vtbl = {
}; };
/* for ClassFactory */ /* for ClassFactory */
HRESULT WINAPI create_dmcommandtrack(REFIID lpcGUID, void **ppobj) HRESULT create_dmcommandtrack(REFIID lpcGUID, void **ppobj)
{ {
IDirectMusicCommandTrack *track; IDirectMusicCommandTrack *track;
HRESULT hr; HRESULT hr;
......
...@@ -41,10 +41,10 @@ LONG DMSTYLE_refCount = 0; ...@@ -41,10 +41,10 @@ LONG DMSTYLE_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_section(REFIID riid, void **ret_iface) static HRESULT create_direct_music_section(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);
......
...@@ -44,13 +44,13 @@ ...@@ -44,13 +44,13 @@
/***************************************************************************** /*****************************************************************************
* ClassFactory * ClassFactory
*/ */
extern HRESULT WINAPI create_dmstyle(REFIID lpcGUID, LPVOID* ppobj) DECLSPEC_HIDDEN; extern HRESULT create_dmstyle(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN;
extern HRESULT WINAPI create_dmauditiontrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; extern HRESULT create_dmauditiontrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN;
extern HRESULT WINAPI create_dmchordtrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; extern HRESULT create_dmchordtrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN;
extern HRESULT WINAPI create_dmcommandtrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; extern HRESULT create_dmcommandtrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN;
extern HRESULT WINAPI create_dmmotiftrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; extern HRESULT create_dmmotiftrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN;
extern HRESULT WINAPI create_dmmutetrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; extern HRESULT create_dmmutetrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN;
extern HRESULT WINAPI create_dmstyletrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN; extern HRESULT create_dmstyletrack(REFIID riid, void **ret_iface) DECLSPEC_HIDDEN;
/***************************************************************************** /*****************************************************************************
* Auxiliary definitions * Auxiliary definitions
......
...@@ -288,7 +288,7 @@ static const IPersistStreamVtbl persiststream_vtbl = { ...@@ -288,7 +288,7 @@ static const IPersistStreamVtbl persiststream_vtbl = {
}; };
/* for ClassFactory */ /* for ClassFactory */
HRESULT WINAPI create_dmmotiftrack(REFIID lpcGUID, void **ppobj) HRESULT create_dmmotiftrack(REFIID lpcGUID, void **ppobj)
{ {
IDirectMusicMotifTrack *track; IDirectMusicMotifTrack *track;
HRESULT hr; HRESULT hr;
......
...@@ -297,7 +297,7 @@ static const IPersistStreamVtbl persiststream_vtbl = { ...@@ -297,7 +297,7 @@ static const IPersistStreamVtbl persiststream_vtbl = {
}; };
/* for ClassFactory */ /* for ClassFactory */
HRESULT WINAPI create_dmmutetrack(REFIID lpcGUID, void **ppobj) HRESULT create_dmmutetrack(REFIID lpcGUID, void **ppobj)
{ {
IDirectMusicMuteTrack *track; IDirectMusicMuteTrack *track;
HRESULT hr; HRESULT hr;
......
...@@ -973,7 +973,7 @@ static const IPersistStreamVtbl persiststream_vtbl = { ...@@ -973,7 +973,7 @@ static const IPersistStreamVtbl persiststream_vtbl = {
}; };
/* for ClassFactory */ /* for ClassFactory */
HRESULT WINAPI create_dmstyle(REFIID lpcGUID, void **ppobj) HRESULT create_dmstyle(REFIID lpcGUID, void **ppobj)
{ {
IDirectMusicStyle8Impl* obj; IDirectMusicStyle8Impl* obj;
HRESULT hr; HRESULT hr;
......
...@@ -502,7 +502,7 @@ static const IPersistStreamVtbl persiststream_vtbl = { ...@@ -502,7 +502,7 @@ static const IPersistStreamVtbl persiststream_vtbl = {
}; };
/* for ClassFactory */ /* for ClassFactory */
HRESULT WINAPI create_dmstyletrack(REFIID lpcGUID, void **ppobj) HRESULT create_dmstyletrack(REFIID lpcGUID, void **ppobj)
{ {
IDirectMusicStyleTrack *track; IDirectMusicStyleTrack *track;
HRESULT hr; HRESULT hr;
......
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