Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
87e75a03
Commit
87e75a03
authored
Apr 24, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Internal functions don't need to be WINAPI.
parent
15a60db0
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
14 deletions
+14
-14
buffer.c
dlls/dmusic/buffer.c
+1
-1
clock.c
dlls/dmusic/clock.c
+1
-1
dmusic_private.h
dlls/dmusic/dmusic_private.h
+7
-7
download.c
dlls/dmusic/download.c
+1
-1
downloadedinstrument.c
dlls/dmusic/downloadedinstrument.c
+1
-1
instrument.c
dlls/dmusic/instrument.c
+2
-2
port.c
dlls/dmusic/port.c
+1
-1
No files found.
dlls/dmusic/buffer.c
View file @
87e75a03
...
@@ -207,7 +207,7 @@ static const IDirectMusicBufferVtbl DirectMusicBuffer_Vtbl = {
...
@@ -207,7 +207,7 @@ static const IDirectMusicBufferVtbl DirectMusicBuffer_Vtbl = {
IDirectMusicBufferImpl_SetUsedBytes
IDirectMusicBufferImpl_SetUsedBytes
};
};
HRESULT
WINAPI
DMUSIC_CreateDirectMusicBufferImpl
(
LPDMUS_BUFFERDESC
desc
,
LPVOID
*
ret_iface
)
HRESULT
DMUSIC_CreateDirectMusicBufferImpl
(
LPDMUS_BUFFERDESC
desc
,
LPVOID
*
ret_iface
)
{
{
IDirectMusicBufferImpl
*
dmbuffer
;
IDirectMusicBufferImpl
*
dmbuffer
;
HRESULT
hr
;
HRESULT
hr
;
...
...
dlls/dmusic/clock.c
View file @
87e75a03
...
@@ -99,7 +99,7 @@ static const IReferenceClockVtbl ReferenceClock_Vtbl = {
...
@@ -99,7 +99,7 @@ static const IReferenceClockVtbl ReferenceClock_Vtbl = {
};
};
/* for ClassFactory */
/* for ClassFactory */
HRESULT
WINAPI
DMUSIC_CreateReferenceClockImpl
(
LPCGUID
riid
,
LPVOID
*
ret_iface
,
LPUNKNOWN
unkouter
)
HRESULT
DMUSIC_CreateReferenceClockImpl
(
LPCGUID
riid
,
LPVOID
*
ret_iface
,
LPUNKNOWN
unkouter
)
{
{
IReferenceClockImpl
*
clock
;
IReferenceClockImpl
*
clock
;
...
...
dlls/dmusic/dmusic_private.h
View file @
87e75a03
...
@@ -81,11 +81,11 @@ extern HRESULT WINAPI DMUSIC_CreateDirectMusicImpl (LPCGUID lpcGUID, LPVOID* ppo
...
@@ -81,11 +81,11 @@ extern HRESULT WINAPI DMUSIC_CreateDirectMusicImpl (LPCGUID lpcGUID, LPVOID* ppo
extern
HRESULT
WINAPI
DMUSIC_CreateDirectMusicCollectionImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
WINAPI
DMUSIC_CreateDirectMusicCollectionImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
/* Internal */
/* Internal */
extern
HRESULT
WINAPI
DMUSIC_CreateDirectMusicBufferImpl
(
LPDMUS_BUFFERDESC
desc
,
LPVOID
*
ret_iface
)
DECLSPEC_HIDDEN
;
extern
HRESULT
DMUSIC_CreateDirectMusicBufferImpl
(
LPDMUS_BUFFERDESC
desc
,
LPVOID
*
ret_iface
)
DECLSPEC_HIDDEN
;
extern
HRESULT
WINAPI
DMUSIC_CreateDirectMusicDownloadedInstrumentImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
DMUSIC_CreateDirectMusicDownloadedInstrumentImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
WINAPI
DMUSIC_CreateDirectMusicDownloadImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
DMUSIC_CreateDirectMusicDownloadImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
WINAPI
DMUSIC_CreateReferenceClockImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
DMUSIC_CreateReferenceClockImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
WINAPI
DMUSIC_CreateDirectMusicInstrumentImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
DMUSIC_CreateDirectMusicInstrumentImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
/*****************************************************************************
/*****************************************************************************
* IDirectMusic8Impl implementation structure
* IDirectMusic8Impl implementation structure
...
@@ -158,7 +158,7 @@ struct IDirectMusicPortImpl {
...
@@ -158,7 +158,7 @@ struct IDirectMusicPortImpl {
};
};
/** Internal factory */
/** Internal factory */
extern
HRESULT
WINAPI
DMUSIC_CreateDirectMusicPortImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
,
LPDMUS_PORTPARAMS
pPortParams
,
LPDMUS_PORTCAPS
pPortCaps
)
DECLSPEC_HIDDEN
;
extern
HRESULT
DMUSIC_CreateDirectMusicPortImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
,
LPDMUS_PORTPARAMS
pPortParams
,
LPDMUS_PORTCAPS
pPortCaps
)
DECLSPEC_HIDDEN
;
/*****************************************************************************
/*****************************************************************************
* IReferenceClockImpl implementation structure
* IReferenceClockImpl implementation structure
...
@@ -225,7 +225,7 @@ struct IDirectMusicInstrumentImpl {
...
@@ -225,7 +225,7 @@ struct IDirectMusicInstrumentImpl {
};
};
/* custom :) */
/* custom :) */
extern
HRESULT
WINAPI
IDirectMusicInstrumentImpl_Custom_Load
(
LPDIRECTMUSICINSTRUMENT
iface
,
LPSTREAM
pStm
)
DECLSPEC_HIDDEN
;
extern
HRESULT
IDirectMusicInstrumentImpl_Custom_Load
(
LPDIRECTMUSICINSTRUMENT
iface
,
LPSTREAM
pStm
)
DECLSPEC_HIDDEN
;
/**********************************************************************
/**********************************************************************
* Dll lifetime tracking declaration for dmusic.dll
* Dll lifetime tracking declaration for dmusic.dll
...
...
dlls/dmusic/download.c
View file @
87e75a03
...
@@ -77,7 +77,7 @@ static const IDirectMusicDownloadVtbl DirectMusicDownload_Vtbl = {
...
@@ -77,7 +77,7 @@ static const IDirectMusicDownloadVtbl DirectMusicDownload_Vtbl = {
};
};
/* for ClassFactory */
/* for ClassFactory */
HRESULT
WINAPI
DMUSIC_CreateDirectMusicDownloadImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
HRESULT
DMUSIC_CreateDirectMusicDownloadImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
IDirectMusicDownloadImpl
*
dmdl
;
IDirectMusicDownloadImpl
*
dmdl
;
dmdl
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectMusicDownloadImpl
));
dmdl
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectMusicDownloadImpl
));
...
...
dlls/dmusic/downloadedinstrument.c
View file @
87e75a03
...
@@ -73,7 +73,7 @@ static const IDirectMusicDownloadedInstrumentVtbl DirectMusicDownloadedInstrumen
...
@@ -73,7 +73,7 @@ static const IDirectMusicDownloadedInstrumentVtbl DirectMusicDownloadedInstrumen
};
};
/* for ClassFactory */
/* for ClassFactory */
HRESULT
WINAPI
DMUSIC_CreateDirectMusicDownloadedInstrumentImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
HRESULT
DMUSIC_CreateDirectMusicDownloadedInstrumentImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
IDirectMusicDownloadedInstrumentImpl
*
dmdlinst
;
IDirectMusicDownloadedInstrumentImpl
*
dmdlinst
;
dmdlinst
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectMusicDownloadedInstrumentImpl
));
dmdlinst
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectMusicDownloadedInstrumentImpl
));
...
...
dlls/dmusic/instrument.c
View file @
87e75a03
...
@@ -125,7 +125,7 @@ static const IDirectMusicInstrumentVtbl DirectMusicInstrument_Instrument_Vtbl =
...
@@ -125,7 +125,7 @@ static const IDirectMusicInstrumentVtbl DirectMusicInstrument_Instrument_Vtbl =
};
};
/* for ClassFactory */
/* for ClassFactory */
HRESULT
WINAPI
DMUSIC_CreateDirectMusicInstrumentImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
HRESULT
DMUSIC_CreateDirectMusicInstrumentImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
IDirectMusicInstrumentImpl
*
dminst
;
IDirectMusicInstrumentImpl
*
dminst
;
dminst
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectMusicInstrumentImpl
));
dminst
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectMusicInstrumentImpl
));
...
@@ -238,7 +238,7 @@ static HRESULT load_instrument(IDirectMusicInstrumentImpl *This, IStream *stream
...
@@ -238,7 +238,7 @@ static HRESULT load_instrument(IDirectMusicInstrumentImpl *This, IStream *stream
/* aux. function that completely loads instrument; my tests indicate that it's
/* aux. function that completely loads instrument; my tests indicate that it's
called somewhere around IDirectMusicCollection_GetInstrument */
called somewhere around IDirectMusicCollection_GetInstrument */
HRESULT
WINAPI
IDirectMusicInstrumentImpl_Custom_Load
(
LPDIRECTMUSICINSTRUMENT
iface
,
LPSTREAM
stream
)
HRESULT
IDirectMusicInstrumentImpl_Custom_Load
(
LPDIRECTMUSICINSTRUMENT
iface
,
LPSTREAM
stream
)
{
{
ICOM_THIS_MULTI
(
IDirectMusicInstrumentImpl
,
InstrumentVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicInstrumentImpl
,
InstrumentVtbl
,
iface
);
LARGE_INTEGER
move
;
LARGE_INTEGER
move
;
...
...
dlls/dmusic/port.c
View file @
87e75a03
...
@@ -361,7 +361,7 @@ static const IDirectMusicThruVtbl DirectMusicThru_Vtbl = {
...
@@ -361,7 +361,7 @@ static const IDirectMusicThruVtbl DirectMusicThru_Vtbl = {
IDirectMusicThruImpl_ThruChannel
IDirectMusicThruImpl_ThruChannel
};
};
HRESULT
WINAPI
DMUSIC_CreateDirectMusicPortImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
,
LPDMUS_PORTPARAMS
pPortParams
,
LPDMUS_PORTCAPS
pPortCaps
)
{
HRESULT
DMUSIC_CreateDirectMusicPortImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
,
LPDMUS_PORTPARAMS
pPortParams
,
LPDMUS_PORTCAPS
pPortCaps
)
{
IDirectMusicPortImpl
*
obj
;
IDirectMusicPortImpl
*
obj
;
HRESULT
hr
=
E_FAIL
;
HRESULT
hr
=
E_FAIL
;
UINT
j
;
UINT
j
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment