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
0b4bc2f9
Commit
0b4bc2f9
authored
Jun 28, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmstyle: Move struct definitions to the files that need them.
parent
15eba399
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
51 additions
and
95 deletions
+51
-95
auditiontrack.c
dlls/dmstyle/auditiontrack.c
+8
-0
chordtrack.c
dlls/dmstyle/chordtrack.c
+9
-0
commandtrack.c
dlls/dmstyle/commandtrack.c
+9
-0
dmstyle_private.h
dlls/dmstyle/dmstyle_private.h
+0
-95
motiftrack.c
dlls/dmstyle/motiftrack.c
+8
-0
mutetrack.c
dlls/dmstyle/mutetrack.c
+8
-0
styletrack.c
dlls/dmstyle/styletrack.c
+9
-0
No files found.
dlls/dmstyle/auditiontrack.c
View file @
0b4bc2f9
...
...
@@ -28,6 +28,14 @@ static ULONG WINAPI IDirectMusicAuditionTrack_IPersistStream_AddRef (LPPERSISTST
/*****************************************************************************
* IDirectMusicAuditionTrack implementation
*/
typedef
struct
IDirectMusicAuditionTrack
{
const
IUnknownVtbl
*
UnknownVtbl
;
const
IDirectMusicTrack8Vtbl
*
TrackVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
DMUS_OBJECTDESC
*
pDesc
;
}
IDirectMusicAuditionTrack
;
/* IDirectMusicAuditionTrack IUnknown part: */
static
HRESULT
WINAPI
IDirectMusicAuditionTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicAuditionTrack
,
UnknownVtbl
,
iface
);
...
...
dlls/dmstyle/chordtrack.c
View file @
0b4bc2f9
...
...
@@ -30,6 +30,15 @@ static ULONG WINAPI IDirectMusicChordTrack_IPersistStream_AddRef (LPPERSISTSTREA
/*****************************************************************************
* IDirectMusicChordTrack implementation
*/
typedef
struct
IDirectMusicChordTrack
{
const
IUnknownVtbl
*
UnknownVtbl
;
const
IDirectMusicTrack8Vtbl
*
TrackVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
DMUS_OBJECTDESC
*
pDesc
;
DWORD
dwScale
;
}
IDirectMusicChordTrack
;
/* IDirectMusicChordTrack IUnknown part: */
static
HRESULT
WINAPI
IDirectMusicChordTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicChordTrack
,
UnknownVtbl
,
iface
);
...
...
dlls/dmstyle/commandtrack.c
View file @
0b4bc2f9
...
...
@@ -29,6 +29,15 @@ static ULONG WINAPI IDirectMusicCommandTrack_IPersistStream_AddRef (LPPERSISTSTR
/*****************************************************************************
* IDirectMusicCommandTrack implementation
*/
typedef
struct
IDirectMusicCommandTrack
{
const
IUnknownVtbl
*
UnknownVtbl
;
const
IDirectMusicTrack8Vtbl
*
TrackVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
DMUS_OBJECTDESC
*
pDesc
;
struct
list
Commands
;
}
IDirectMusicCommandTrack
;
/* IDirectMusicCommandTrack IUnknown part: */
static
HRESULT
WINAPI
IDirectMusicCommandTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicCommandTrack
,
UnknownVtbl
,
iface
);
...
...
dlls/dmstyle/dmstyle_private.h
View file @
0b4bc2f9
...
...
@@ -45,13 +45,7 @@
/*****************************************************************************
* Interfaces
*/
typedef
struct
IDirectMusicAuditionTrack
IDirectMusicAuditionTrack
;
typedef
struct
IDirectMusicChordTrack
IDirectMusicChordTrack
;
typedef
struct
IDirectMusicCommandTrack
IDirectMusicCommandTrack
;
typedef
struct
IDirectMusicMelodyFormulationTrack
IDirectMusicMelodyFormulationTrack
;
typedef
struct
IDirectMusicMotifTrack
IDirectMusicMotifTrack
;
typedef
struct
IDirectMusicMuteTrack
IDirectMusicMuteTrack
;
typedef
struct
IDirectMusicStyleTrack
IDirectMusicStyleTrack
;
/*****************************************************************************
* ClassFactory
...
...
@@ -97,35 +91,6 @@ typedef struct _DMUS_PRIVATE_STYLE_ITEM {
}
DMUS_PRIVATE_STYLE_ITEM
,
*
LPDMUS_PRIVATE_STYLE_ITEM
;
/*****************************************************************************
* IDirectMusicAuditionTrack implementation structure
*/
struct
IDirectMusicAuditionTrack
{
/* IUnknown fields */
const
IUnknownVtbl
*
UnknownVtbl
;
const
IDirectMusicTrack8Vtbl
*
TrackVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
/* IDirectMusicAuditionTrack fields */
LPDMUS_OBJECTDESC
pDesc
;
};
/*****************************************************************************
* IDirectMusicChordTrack implementation structure
*/
struct
IDirectMusicChordTrack
{
/* IUnknown fields */
const
IUnknownVtbl
*
UnknownVtbl
;
const
IDirectMusicTrack8Vtbl
*
TrackVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
/* IDirectMusicChordTrack fields */
LPDMUS_OBJECTDESC
pDesc
;
DWORD
dwScale
;
};
typedef
struct
_DMUS_PRIVATE_COMMAND
{
struct
list
entry
;
/* for listing elements */
DMUS_IO_COMMAND
pCommand
;
...
...
@@ -133,22 +98,6 @@ typedef struct _DMUS_PRIVATE_COMMAND {
}
DMUS_PRIVATE_COMMAND
,
*
LPDMUS_PRIVATE_COMMAND
;
/*****************************************************************************
* IDirectMusicCommandTrack implementation structure
*/
struct
IDirectMusicCommandTrack
{
/* IUnknown fields */
const
IUnknownVtbl
*
UnknownVtbl
;
const
IDirectMusicTrack8Vtbl
*
TrackVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
/* IDirectMusicCommandTrack fields */
LPDMUS_OBJECTDESC
pDesc
;
/* track data */
struct
list
Commands
;
};
/*****************************************************************************
* IDirectMusicMelodyFormulationTrack implementation structure
*/
struct
IDirectMusicMelodyFormulationTrack
{
...
...
@@ -170,50 +119,6 @@ extern ULONG WINAPI IDirectMusicMelodyFormulationTrack_IDirectMusicTrack_AddRe
/* IPersistStream: */
extern
ULONG
WINAPI
IDirectMusicMelodyFormulationTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
DECLSPEC_HIDDEN
;
/*****************************************************************************
* IDirectMusicMotifTrack implementation structure
*/
struct
IDirectMusicMotifTrack
{
/* IUnknown fields */
const
IUnknownVtbl
*
UnknownVtbl
;
const
IDirectMusicTrack8Vtbl
*
TrackVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
/* IDirectMusicMotifTrack fields */
LPDMUS_OBJECTDESC
pDesc
;
};
/*****************************************************************************
* IDirectMusicMuteTrack implementation structure
*/
struct
IDirectMusicMuteTrack
{
/* IUnknown fields */
const
IUnknownVtbl
*
UnknownVtbl
;
const
IDirectMusicTrack8Vtbl
*
TrackVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
/* IDirectMusicMuteTrack fields */
LPDMUS_OBJECTDESC
pDesc
;
};
/*****************************************************************************
* IDirectMusicStyleTrack implementation structure
*/
struct
IDirectMusicStyleTrack
{
/* IUnknown fields */
const
IUnknownVtbl
*
UnknownVtbl
;
const
IDirectMusicTrack8Vtbl
*
TrackVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
/* IDirectMusicStyleTrack fields */
LPDMUS_OBJECTDESC
pDesc
;
struct
list
Items
;
};
/**********************************************************************
* Dll lifetime tracking declaration for dmstyle.dll
*/
...
...
dlls/dmstyle/motiftrack.c
View file @
0b4bc2f9
...
...
@@ -28,6 +28,14 @@ static ULONG WINAPI IDirectMusicMotifTrack_IPersistStream_AddRef (LPPERSISTSTREA
/*****************************************************************************
* IDirectMusicMotifTrack implementation
*/
typedef
struct
IDirectMusicMotifTrack
{
const
IUnknownVtbl
*
UnknownVtbl
;
const
IDirectMusicTrack8Vtbl
*
TrackVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
DMUS_OBJECTDESC
*
pDesc
;
}
IDirectMusicMotifTrack
;
/* IDirectMusicMotifTrack IUnknown part: */
static
HRESULT
WINAPI
IDirectMusicMotifTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicMotifTrack
,
UnknownVtbl
,
iface
);
...
...
dlls/dmstyle/mutetrack.c
View file @
0b4bc2f9
...
...
@@ -28,6 +28,14 @@ static ULONG WINAPI IDirectMusicMuteTrack_IPersistStream_AddRef (LPPERSISTSTREAM
/*****************************************************************************
* IDirectMusicMuteTrack implementation
*/
typedef
struct
IDirectMusicMuteTrack
{
const
IUnknownVtbl
*
UnknownVtbl
;
const
IDirectMusicTrack8Vtbl
*
TrackVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
DMUS_OBJECTDESC
*
pDesc
;
}
IDirectMusicMuteTrack
;
/* IDirectMusicMuteTrack IUnknown part: */
static
HRESULT
WINAPI
IDirectMusicMuteTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicMuteTrack
,
UnknownVtbl
,
iface
);
...
...
dlls/dmstyle/styletrack.c
View file @
0b4bc2f9
...
...
@@ -29,6 +29,15 @@ static ULONG WINAPI IDirectMusicStyleTrack_IPersistStream_AddRef (LPPERSISTSTREA
/*****************************************************************************
* IDirectMusicStyleTrack implementation
*/
typedef
struct
IDirectMusicStyleTrack
{
const
IUnknownVtbl
*
UnknownVtbl
;
const
IDirectMusicTrack8Vtbl
*
TrackVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
DMUS_OBJECTDESC
*
pDesc
;
struct
list
Items
;
}
IDirectMusicStyleTrack
;
/* IDirectMusicStyleTrack IUnknown part: */
static
HRESULT
WINAPI
IDirectMusicStyleTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicStyleTrack
,
UnknownVtbl
,
iface
);
...
...
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