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
e1fab4a8
Commit
e1fab4a8
authored
May 30, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmscript: Move a struct definition to the .c file that uses it.
parent
1b8d8ef3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
23 deletions
+13
-23
dmscript_private.h
dlls/dmscript/dmscript_private.h
+0
-23
script.c
dlls/dmscript/script.c
+13
-0
No files found.
dlls/dmscript/dmscript_private.h
View file @
e1fab4a8
...
...
@@ -43,35 +43,12 @@
#include "dmusics.h"
/*****************************************************************************
* Interfaces
*/
typedef
struct
IDirectMusicScriptImpl
IDirectMusicScriptImpl
;
/*****************************************************************************
* ClassFactory
*/
extern
HRESULT
WINAPI
DMUSIC_CreateDirectMusicScriptImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
WINAPI
DMUSIC_CreateDirectMusicScriptTrack
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
/*****************************************************************************
* IDirectMusicScriptImpl implementation structure
*/
struct
IDirectMusicScriptImpl
{
IDirectMusicScript
IDirectMusicScript_iface
;
const
IDirectMusicObjectVtbl
*
ObjectVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
/* IDirectMusicScriptImpl fields */
IDirectMusicPerformance
*
pPerformance
;
LPDMUS_OBJECTDESC
pDesc
;
DMUS_IO_SCRIPT_HEADER
*
pHeader
;
DMUS_IO_VERSION
*
pVersion
;
WCHAR
*
pwzLanguage
;
WCHAR
*
pwzSource
;
};
/**********************************************************************
* Dll lifetime tracking declaration for dmscript.dll
*/
...
...
dlls/dmscript/script.c
View file @
e1fab4a8
...
...
@@ -34,6 +34,19 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
/*****************************************************************************
* IDirectMusicScriptImpl implementation
*/
typedef
struct
IDirectMusicScriptImpl
{
IDirectMusicScript
IDirectMusicScript_iface
;
const
IDirectMusicObjectVtbl
*
ObjectVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
IDirectMusicPerformance
*
pPerformance
;
DMUS_OBJECTDESC
*
pDesc
;
DMUS_IO_SCRIPT_HEADER
*
pHeader
;
DMUS_IO_VERSION
*
pVersion
;
WCHAR
*
pwzLanguage
;
WCHAR
*
pwzSource
;
}
IDirectMusicScriptImpl
;
static
inline
IDirectMusicScriptImpl
*
impl_from_IDirectMusicScript
(
IDirectMusicScript
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectMusicScriptImpl
,
IDirectMusicScript_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