Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
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 = {
IDirectMusicBufferImpl_SetUsedBytes
};
HRESULT
WINAPI
DMUSIC_CreateDirectMusicBufferImpl
(
LPDMUS_BUFFERDESC
desc
,
LPVOID
*
ret_iface
)
HRESULT
DMUSIC_CreateDirectMusicBufferImpl
(
LPDMUS_BUFFERDESC
desc
,
LPVOID
*
ret_iface
)
{
IDirectMusicBufferImpl
*
dmbuffer
;
HRESULT
hr
;
...
...
dlls/dmusic/clock.c
View file @
87e75a03
...
...
@@ -99,7 +99,7 @@ static const IReferenceClockVtbl ReferenceClock_Vtbl = {
};
/* 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
;
...
...
dlls/dmusic/dmusic_private.h
View file @
87e75a03
...
...
@@ -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
;
/* Internal */
extern
HRESULT
WINAPI
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
WINAPI
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
WINAPI
DMUSIC_CreateDirectMusicInstrumentImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
DMUSIC_CreateDirectMusicBufferImpl
(
LPDMUS_BUFFERDESC
desc
,
LPVOID
*
ret_iface
)
DECLSPEC_HIDDEN
;
extern
HRESULT
DMUSIC_CreateDirectMusicDownloadedInstrumentImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
DMUSIC_CreateDirectMusicDownloadImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
DMUSIC_CreateReferenceClockImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
DMUSIC_CreateDirectMusicInstrumentImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
/*****************************************************************************
* IDirectMusic8Impl implementation structure
...
...
@@ -158,7 +158,7 @@ struct IDirectMusicPortImpl {
};
/** 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
...
...
@@ -225,7 +225,7 @@ struct IDirectMusicInstrumentImpl {
};
/* 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
...
...
dlls/dmusic/download.c
View file @
87e75a03
...
...
@@ -77,7 +77,7 @@ static const IDirectMusicDownloadVtbl DirectMusicDownload_Vtbl = {
};
/* for ClassFactory */
HRESULT
WINAPI
DMUSIC_CreateDirectMusicDownloadImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
HRESULT
DMUSIC_CreateDirectMusicDownloadImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
IDirectMusicDownloadImpl
*
dmdl
;
dmdl
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectMusicDownloadImpl
));
...
...
dlls/dmusic/downloadedinstrument.c
View file @
87e75a03
...
...
@@ -73,7 +73,7 @@ static const IDirectMusicDownloadedInstrumentVtbl DirectMusicDownloadedInstrumen
};
/* for ClassFactory */
HRESULT
WINAPI
DMUSIC_CreateDirectMusicDownloadedInstrumentImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
HRESULT
DMUSIC_CreateDirectMusicDownloadedInstrumentImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
IDirectMusicDownloadedInstrumentImpl
*
dmdlinst
;
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 =
};
/* for ClassFactory */
HRESULT
WINAPI
DMUSIC_CreateDirectMusicInstrumentImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
HRESULT
DMUSIC_CreateDirectMusicInstrumentImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
{
IDirectMusicInstrumentImpl
*
dminst
;
dminst
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectMusicInstrumentImpl
));
...
...
@@ -238,7 +238,7 @@ static HRESULT load_instrument(IDirectMusicInstrumentImpl *This, IStream *stream
/* aux. function that completely loads instrument; my tests indicate that it's
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
);
LARGE_INTEGER
move
;
...
...
dlls/dmusic/port.c
View file @
87e75a03
...
...
@@ -361,7 +361,7 @@ static const IDirectMusicThruVtbl DirectMusicThru_Vtbl = {
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
;
HRESULT
hr
=
E_FAIL
;
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