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
06ff754a
Commit
06ff754a
authored
Jun 10, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmscript: Make the virtual table functions static where possible.
parent
12179978
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
68 additions
and
77 deletions
+68
-77
dmscript_private.h
dlls/dmscript/dmscript_private.h
+0
-18
script.c
dlls/dmscript/script.c
+35
-30
scripttrack.c
dlls/dmscript/scripttrack.c
+33
-29
No files found.
dlls/dmscript/dmscript_private.h
View file @
06ff754a
...
...
@@ -76,16 +76,6 @@ struct IDirectMusicScriptImpl {
WCHAR
*
pwzSource
;
};
/* IUnknown: */
extern
HRESULT
WINAPI
IDirectMusicScriptImpl_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
);
extern
ULONG
WINAPI
IDirectMusicScriptImpl_IUnknown_AddRef
(
LPUNKNOWN
iface
);
/* IDirectMusicScript: */
extern
ULONG
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_AddRef
(
LPDIRECTMUSICSCRIPT
iface
);
/* IDirectMusicObject: */
extern
ULONG
WINAPI
IDirectMusicScriptImpl_IDirectMusicObject_AddRef
(
LPDIRECTMUSICOBJECT
iface
);
/* IPersistStream: */
extern
ULONG
WINAPI
IDirectMusicScriptImpl_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
);
/*****************************************************************************
* IDirectMusicScriptTrack implementation structure
*/
...
...
@@ -100,14 +90,6 @@ struct IDirectMusicScriptTrack {
LPDMUS_OBJECTDESC
pDesc
;
};
/* IUnknown: */
extern
HRESULT
WINAPI
IDirectMusicScriptTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
);
extern
ULONG
WINAPI
IDirectMusicScriptTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
);
/* IDirectMusicTrack(8): */
extern
ULONG
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
);
/* IPersistStream: */
extern
ULONG
WINAPI
IDirectMusicScriptTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
);
/**********************************************************************
* Dll lifetime tracking declaration for dmscript.dll
*/
...
...
dlls/dmscript/script.c
View file @
06ff754a
...
...
@@ -31,11 +31,16 @@ WINE_DEFAULT_DEBUG_CHANNEL(dmscript);
WINE_DECLARE_DEBUG_CHANNEL
(
dmfile
);
static
ULONG
WINAPI
IDirectMusicScriptImpl_IUnknown_AddRef
(
LPUNKNOWN
iface
);
static
ULONG
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_AddRef
(
LPDIRECTMUSICSCRIPT
iface
);
static
ULONG
WINAPI
IDirectMusicScriptImpl_IDirectMusicObject_AddRef
(
LPDIRECTMUSICOBJECT
iface
);
static
ULONG
WINAPI
IDirectMusicScriptImpl_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
);
/*****************************************************************************
* IDirectMusicScriptImpl implementation
*/
/* IDirectMusicScriptImpl IUnknown part: */
HRESULT
WINAPI
IDirectMusicScriptImpl_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
...
...
@@ -61,7 +66,7 @@ HRESULT WINAPI IDirectMusicScriptImpl_IUnknown_QueryInterface (LPUNKNOWN iface,
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicScriptImpl_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptImpl_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -72,7 +77,7 @@ ULONG WINAPI IDirectMusicScriptImpl_IUnknown_AddRef (LPUNKNOWN iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicScriptImpl_IUnknown_Release
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptImpl_IUnknown_Release
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
...
...
@@ -98,29 +103,29 @@ static const IUnknownVtbl DirectMusicScript_Unknown_Vtbl = {
};
/* IDirectMusicScriptImpl IDirectMusicScript part: */
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_QueryInterface
(
LPDIRECTMUSICSCRIPT
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_QueryInterface
(
LPDIRECTMUSICSCRIPT
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
return
IDirectMusicScriptImpl_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_AddRef
(
LPDIRECTMUSICSCRIPT
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_AddRef
(
LPDIRECTMUSICSCRIPT
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
return
IDirectMusicScriptImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_Release
(
LPDIRECTMUSICSCRIPT
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_Release
(
LPDIRECTMUSICSCRIPT
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
return
IDirectMusicScriptImpl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_Init
(
LPDIRECTMUSICSCRIPT
iface
,
IDirectMusicPerformance
*
pPerformance
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_Init
(
LPDIRECTMUSICSCRIPT
iface
,
IDirectMusicPerformance
*
pPerformance
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %p, %p): stub
\n
"
,
This
,
pPerformance
,
pErrorInfo
);
This
->
pPerformance
=
pPerformance
;
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_CallRoutine
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszRoutineName
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_CallRoutine
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszRoutineName
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %s, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszRoutineName
),
pErrorInfo
);
/*return E_NOTIMPL;*/
...
...
@@ -128,49 +133,49 @@ HRESULT WINAPI IDirectMusicScriptImpl_IDirectMusicScript_CallRoutine (LPDIRECTMU
/*return E_FAIL;*/
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_SetVariableVariant
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
VARIANT
varValue
,
BOOL
fSetRef
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_SetVariableVariant
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
VARIANT
varValue
,
BOOL
fSetRef
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %s, FIXME, %d, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
/* varValue,*/
fSetRef
,
pErrorInfo
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_GetVariableVariant
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
VARIANT
*
pvarValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_GetVariableVariant
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
VARIANT
*
pvarValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %s, %p, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
pvarValue
,
pErrorInfo
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_SetVariableNumber
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
LONG
lValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_SetVariableNumber
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
LONG
lValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %s, %li, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
lValue
,
pErrorInfo
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_GetVariableNumber
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
LONG
*
plValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_GetVariableNumber
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
LONG
*
plValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %s, %p, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
plValue
,
pErrorInfo
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_SetVariableObject
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
IUnknown
*
punkValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_SetVariableObject
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
IUnknown
*
punkValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %s, %p, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
punkValue
,
pErrorInfo
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_GetVariableObject
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
REFIID
riid
,
LPVOID
*
ppv
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_GetVariableObject
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
REFIID
riid
,
LPVOID
*
ppv
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %s, %s, %p, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
debugstr_dmguid
(
riid
),
ppv
,
pErrorInfo
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_EnumRoutine
(
LPDIRECTMUSICSCRIPT
iface
,
DWORD
dwIndex
,
WCHAR
*
pwszName
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_EnumRoutine
(
LPDIRECTMUSICSCRIPT
iface
,
DWORD
dwIndex
,
WCHAR
*
pwszName
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %ld, %p): stub
\n
"
,
This
,
dwIndex
,
pwszName
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_EnumVariable
(
LPDIRECTMUSICSCRIPT
iface
,
DWORD
dwIndex
,
WCHAR
*
pwszName
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_EnumVariable
(
LPDIRECTMUSICSCRIPT
iface
,
DWORD
dwIndex
,
WCHAR
*
pwszName
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %ld, %p): stub
\n
"
,
This
,
dwIndex
,
pwszName
);
return
S_OK
;
...
...
@@ -193,22 +198,22 @@ static const IDirectMusicScriptVtbl DirectMusicScript_Script_Vtbl = {
};
/* IDirectMusicScriptImpl IDirectMusicObject part: */
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicObject_QueryInterface
(
LPDIRECTMUSICOBJECT
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicObject_QueryInterface
(
LPDIRECTMUSICOBJECT
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ObjectVtbl
,
iface
);
return
IDirectMusicScriptImpl_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicScriptImpl_IDirectMusicObject_AddRef
(
LPDIRECTMUSICOBJECT
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptImpl_IDirectMusicObject_AddRef
(
LPDIRECTMUSICOBJECT
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ObjectVtbl
,
iface
);
return
IDirectMusicScriptImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicScriptImpl_IDirectMusicObject_Release
(
LPDIRECTMUSICOBJECT
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptImpl_IDirectMusicObject_Release
(
LPDIRECTMUSICOBJECT
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ObjectVtbl
,
iface
);
return
IDirectMusicScriptImpl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicObject_GetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicObject_GetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ObjectVtbl
,
iface
);
TRACE
(
"(%p, %p)
\n
"
,
This
,
pDesc
);
/* I think we shouldn't return pointer here since then values can be changed; it'd be a mess */
...
...
@@ -216,7 +221,7 @@ HRESULT WINAPI IDirectMusicScriptImpl_IDirectMusicObject_GetDescriptor (LPDIRECT
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicObject_SetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicObject_SetDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPDMUS_OBJECTDESC
pDesc
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ObjectVtbl
,
iface
);
TRACE
(
"(%p, %p): setting descriptor:
\n
%s
\n
"
,
This
,
pDesc
,
debugstr_DMUS_OBJECTDESC
(
pDesc
));
...
...
@@ -250,7 +255,7 @@ HRESULT WINAPI IDirectMusicScriptImpl_IDirectMusicObject_SetDescriptor (LPDIRECT
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicObject_ParseDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPSTREAM
pStream
,
LPDMUS_OBJECTDESC
pDesc
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicObject_ParseDescriptor
(
LPDIRECTMUSICOBJECT
iface
,
LPSTREAM
pStream
,
LPDMUS_OBJECTDESC
pDesc
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ObjectVtbl
,
iface
);
DMUS_PRIVATE_CHUNK
Chunk
;
DWORD
StreamSize
,
StreamCount
,
ListSize
[
1
],
ListCount
[
1
];
...
...
@@ -408,35 +413,35 @@ static const IDirectMusicObjectVtbl DirectMusicScript_Object_Vtbl = {
};
/* IDirectMusicScriptImpl IPersistStream part: */
HRESULT
WINAPI
IDirectMusicScriptImpl_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicScriptImpl_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicScriptImpl_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptImpl_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicScriptImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicScriptImpl_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptImpl_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicScriptImpl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
PersistStreamVtbl
,
iface
);
TRACE
(
"(%p, %p)
\n
"
,
This
,
pClassID
);
memcpy
(
pClassID
,
&
CLSID_DirectMusicScript
,
sizeof
(
CLSID
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
PersistStreamVtbl
,
iface
);
FIXME
(
"(%p): stub, always S_FALSE
\n
"
,
This
);
return
S_FALSE
;
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
PersistStreamVtbl
,
iface
);
DMUS_PRIVATE_CHUNK
Chunk
;
...
...
@@ -664,11 +669,11 @@ HRESULT WINAPI IDirectMusicScriptImpl_IPersistStream_Load (LPPERSISTSTREAM iface
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicScriptImpl_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
return
E_NOTIMPL
;
}
...
...
dlls/dmscript/scripttrack.c
View file @
06ff754a
...
...
@@ -24,8 +24,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(dmscript);
/*****************************************************************************
* IDirectMusicScriptTrack implementation
*/
static
ULONG
WINAPI
IDirectMusicScriptTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
);
static
ULONG
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
);
static
ULONG
WINAPI
IDirectMusicScriptTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
);
/* IDirectMusicScriptTrack IUnknown part: */
HRESULT
WINAPI
IDirectMusicScriptTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
...
...
@@ -48,7 +52,7 @@ HRESULT WINAPI IDirectMusicScriptTrack_IUnknown_QueryInterface (LPUNKNOWN iface,
return
E_NOINTERFACE
;
}
ULONG
WINAPI
IDirectMusicScriptTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptTrack_IUnknown_AddRef
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -59,7 +63,7 @@ ULONG WINAPI IDirectMusicScriptTrack_IUnknown_AddRef (LPUNKNOWN iface) {
return
ref
;
}
ULONG
WINAPI
IDirectMusicScriptTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptTrack_IUnknown_Release
(
LPUNKNOWN
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
UnknownVtbl
,
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
...
...
@@ -81,62 +85,62 @@ static const IUnknownVtbl DirectMusicScriptTrack_Unknown_Vtbl = {
};
/* IDirectMusicScriptTrack IDirectMusicTrack8 part: */
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_QueryInterface
(
LPDIRECTMUSICTRACK8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicScriptTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_AddRef
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicScriptTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_Release
(
LPDIRECTMUSICTRACK8
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
return
IDirectMusicScriptTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_Init
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegment
*
pSegment
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pSegment
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_InitPlay
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicSegmentState
*
pSegmentState
,
IDirectMusicPerformance
*
pPerformance
,
void
**
ppStateData
,
DWORD
dwVirtualTrack8ID
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %p, %p, %ld, %ld): stub
\n
"
,
This
,
pSegmentState
,
pPerformance
,
ppStateData
,
dwVirtualTrack8ID
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_EndPlay
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pStateData
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_Play
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
MUSIC_TIME
mtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %ld, %ld, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
mtStart
,
mtEnd
,
mtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_GetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
MUSIC_TIME
*
pmtNext
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pmtNext
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_SetParam
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
MUSIC_TIME
mtTime
,
void
*
pParam
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %ld, %p): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
mtTime
,
pParam
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_IsParamSupported
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
TRACE
(
"(%p, %s): "
,
This
,
debugstr_dmguid
(
rguidType
));
...
...
@@ -145,49 +149,49 @@ HRESULT WINAPI IDirectMusicScriptTrack_IDirectMusicTrack_IsParamSupported (LPDIR
return
DMUS_E_TYPE_UNSUPPORTED
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_AddNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_RemoveNotificationType
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidNotificationType
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidNotificationType
));
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_Clone
(
LPDIRECTMUSICTRACK8
iface
,
MUSIC_TIME
mtStart
,
MUSIC_TIME
mtEnd
,
IDirectMusicTrack
**
ppTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %ld, %ld, %p): stub
\n
"
,
This
,
mtStart
,
mtEnd
,
ppTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_PlayEx
(
LPDIRECTMUSICTRACK8
iface
,
void
*
pStateData
,
REFERENCE_TIME
rtStart
,
REFERENCE_TIME
rtEnd
,
REFERENCE_TIME
rtOffset
,
DWORD
dwFlags
,
IDirectMusicPerformance
*
pPerf
,
IDirectMusicSegmentState
*
pSegSt
,
DWORD
dwVirtualID
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %lli, %lli, %lli, %ld, %p, %p, %ld): stub
\n
"
,
This
,
pStateData
,
rtStart
,
rtEnd
,
rtOffset
,
dwFlags
,
pPerf
,
pSegSt
,
dwVirtualID
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_GetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
REFERENCE_TIME
*
prtNext
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
prtNext
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_SetParamEx
(
LPDIRECTMUSICTRACK8
iface
,
REFGUID
rguidType
,
REFERENCE_TIME
rtTime
,
void
*
pParam
,
void
*
pStateData
,
DWORD
dwFlags
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %s, %lli, %p, %p, %ld): stub
\n
"
,
This
,
debugstr_dmguid
(
rguidType
),
rtTime
,
pParam
,
pStateData
,
dwFlags
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_Compose
(
LPDIRECTMUSICTRACK8
iface
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p): stub
\n
"
,
This
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IDirectMusicTrack_Join
(
LPDIRECTMUSICTRACK8
iface
,
IDirectMusicTrack
*
pNewTrack
,
MUSIC_TIME
mtJoin
,
IUnknown
*
pContext
,
DWORD
dwTrackGroup
,
IDirectMusicTrack
**
ppResultTrack
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
TrackVtbl
,
iface
);
FIXME
(
"(%p, %p, %ld, %p, %ld, %p): stub
\n
"
,
This
,
pNewTrack
,
mtJoin
,
pContext
,
dwTrackGroup
,
ppResultTrack
);
return
S_OK
;
...
...
@@ -215,39 +219,39 @@ static const IDirectMusicTrack8Vtbl DirectMusicScriptTrack_Track_Vtbl = {
};
/* IDirectMusicScriptTrack IPersistStream part: */
HRESULT
WINAPI
IDirectMusicScriptTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IPersistStream_QueryInterface
(
LPPERSISTSTREAM
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicScriptTrack_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
ULONG
WINAPI
IDirectMusicScriptTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptTrack_IPersistStream_AddRef
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicScriptTrack_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
ULONG
WINAPI
IDirectMusicScriptTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptTrack_IPersistStream_Release
(
LPPERSISTSTREAM
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptTrack
,
PersistStreamVtbl
,
iface
);
return
IDirectMusicScriptTrack_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IPersistStream_GetClassID
(
LPPERSISTSTREAM
iface
,
CLSID
*
pClassID
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IPersistStream_IsDirty
(
LPPERSISTSTREAM
iface
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IPersistStream_Load
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
)
{
FIXME
(
": Loading not implemented yet
\n
"
);
return
S_OK
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IPersistStream_Save
(
LPPERSISTSTREAM
iface
,
IStream
*
pStm
,
BOOL
fClearDirty
)
{
return
E_NOTIMPL
;
}
HRESULT
WINAPI
IDirectMusicScriptTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
static
HRESULT
WINAPI
IDirectMusicScriptTrack_IPersistStream_GetSizeMax
(
LPPERSISTSTREAM
iface
,
ULARGE_INTEGER
*
pcbSize
)
{
return
E_NOTIMPL
;
}
...
...
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