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
75b2ce77
Commit
75b2ce77
authored
Jan 12, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmscript: Remove duplicate "IDirectMusicScript" from method names.
parent
f7dc10d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
26 deletions
+50
-26
script.c
dlls/dmscript/script.c
+50
-26
No files found.
dlls/dmscript/script.c
View file @
75b2ce77
...
@@ -98,29 +98,37 @@ static const IUnknownVtbl DirectMusicScript_Unknown_Vtbl = {
...
@@ -98,29 +98,37 @@ static const IUnknownVtbl DirectMusicScript_Unknown_Vtbl = {
};
};
/* IDirectMusicScriptImpl IDirectMusicScript part: */
/* IDirectMusicScriptImpl IDirectMusicScript part: */
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_QueryInterface
(
LPDIRECTMUSICSCRIPT
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_QueryInterface
(
IDirectMusicScript
*
iface
,
REFIID
riid
,
void
**
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
return
IDirectMusicScriptImpl_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
return
IDirectMusicScriptImpl_IUnknown_QueryInterface
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
,
riid
,
ppobj
);
}
}
static
ULONG
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_AddRef
(
LPDIRECTMUSICSCRIPT
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptImpl_AddRef
(
IDirectMusicScript
*
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
return
IDirectMusicScriptImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IDirectMusicScriptImpl_IUnknown_AddRef
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
}
static
ULONG
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_Release
(
LPDIRECTMUSICSCRIPT
iface
)
{
static
ULONG
WINAPI
IDirectMusicScriptImpl_Release
(
IDirectMusicScript
*
iface
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
return
IDirectMusicScriptImpl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
return
IDirectMusicScriptImpl_IUnknown_Release
((
LPUNKNOWN
)
&
This
->
UnknownVtbl
);
}
}
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_Init
(
LPDIRECTMUSICSCRIPT
iface
,
IDirectMusicPerformance
*
pPerformance
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_Init
(
IDirectMusicScript
*
iface
,
IDirectMusicPerformance
*
pPerformance
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %p, %p): stub
\n
"
,
This
,
pPerformance
,
pErrorInfo
);
FIXME
(
"(%p, %p, %p): stub
\n
"
,
This
,
pPerformance
,
pErrorInfo
);
This
->
pPerformance
=
pPerformance
;
This
->
pPerformance
=
pPerformance
;
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_CallRoutine
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszRoutineName
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_CallRoutine
(
IDirectMusicScript
*
iface
,
WCHAR
*
pwszRoutineName
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %s, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszRoutineName
),
pErrorInfo
);
FIXME
(
"(%p, %s, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszRoutineName
),
pErrorInfo
);
/*return E_NOTIMPL;*/
/*return E_NOTIMPL;*/
...
@@ -128,68 +136,84 @@ static HRESULT WINAPI IDirectMusicScriptImpl_IDirectMusicScript_CallRoutine (LPD
...
@@ -128,68 +136,84 @@ static HRESULT WINAPI IDirectMusicScriptImpl_IDirectMusicScript_CallRoutine (LPD
/*return E_FAIL;*/
/*return E_FAIL;*/
}
}
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_SetVariableVariant
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
VARIANT
varValue
,
BOOL
fSetRef
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_SetVariableVariant
(
IDirectMusicScript
*
iface
,
WCHAR
*
pwszVariableName
,
VARIANT
varValue
,
BOOL
fSetRef
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %s, FIXME, %d, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
/* varValue,*/
fSetRef
,
pErrorInfo
);
FIXME
(
"(%p, %s, FIXME, %d, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
/* varValue,*/
fSetRef
,
pErrorInfo
);
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_GetVariableVariant
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
VARIANT
*
pvarValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_GetVariableVariant
(
IDirectMusicScript
*
iface
,
WCHAR
*
pwszVariableName
,
VARIANT
*
pvarValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %s, %p, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
pvarValue
,
pErrorInfo
);
FIXME
(
"(%p, %s, %p, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
pvarValue
,
pErrorInfo
);
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_SetVariableNumber
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
LONG
lValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_SetVariableNumber
(
IDirectMusicScript
*
iface
,
WCHAR
*
pwszVariableName
,
LONG
lValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %s, %i, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
lValue
,
pErrorInfo
);
FIXME
(
"(%p, %s, %i, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
lValue
,
pErrorInfo
);
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_GetVariableNumber
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
LONG
*
plValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_GetVariableNumber
(
IDirectMusicScript
*
iface
,
WCHAR
*
pwszVariableName
,
LONG
*
plValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %s, %p, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
plValue
,
pErrorInfo
);
FIXME
(
"(%p, %s, %p, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
plValue
,
pErrorInfo
);
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_SetVariableObject
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
IUnknown
*
punkValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_SetVariableObject
(
IDirectMusicScript
*
iface
,
WCHAR
*
pwszVariableName
,
IUnknown
*
punkValue
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %s, %p, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
punkValue
,
pErrorInfo
);
FIXME
(
"(%p, %s, %p, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
punkValue
,
pErrorInfo
);
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_GetVariableObject
(
LPDIRECTMUSICSCRIPT
iface
,
WCHAR
*
pwszVariableName
,
REFIID
riid
,
LPVOID
*
ppv
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_GetVariableObject
(
IDirectMusicScript
*
iface
,
WCHAR
*
pwszVariableName
,
REFIID
riid
,
void
**
ppv
,
DMUS_SCRIPT_ERRORINFO
*
pErrorInfo
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %s, %s, %p, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
debugstr_dmguid
(
riid
),
ppv
,
pErrorInfo
);
FIXME
(
"(%p, %s, %s, %p, %p): stub
\n
"
,
This
,
debugstr_w
(
pwszVariableName
),
debugstr_dmguid
(
riid
),
ppv
,
pErrorInfo
);
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_EnumRoutine
(
LPDIRECTMUSICSCRIPT
iface
,
DWORD
dwIndex
,
WCHAR
*
pwszName
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_EnumRoutine
(
IDirectMusicScript
*
iface
,
DWORD
dwIndex
,
WCHAR
*
pwszName
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %d, %p): stub
\n
"
,
This
,
dwIndex
,
pwszName
);
FIXME
(
"(%p, %d, %p): stub
\n
"
,
This
,
dwIndex
,
pwszName
);
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IDirectMusicScriptImpl_IDirectMusicScript_EnumVariable
(
LPDIRECTMUSICSCRIPT
iface
,
DWORD
dwIndex
,
WCHAR
*
pwszName
)
{
static
HRESULT
WINAPI
IDirectMusicScriptImpl_EnumVariable
(
IDirectMusicScript
*
iface
,
DWORD
dwIndex
,
WCHAR
*
pwszName
)
{
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
ICOM_THIS_MULTI
(
IDirectMusicScriptImpl
,
ScriptVtbl
,
iface
);
FIXME
(
"(%p, %d, %p): stub
\n
"
,
This
,
dwIndex
,
pwszName
);
FIXME
(
"(%p, %d, %p): stub
\n
"
,
This
,
dwIndex
,
pwszName
);
return
S_OK
;
return
S_OK
;
}
}
static
const
IDirectMusicScriptVtbl
DirectMusicScript_Script_Vtbl
=
{
static
const
IDirectMusicScriptVtbl
DirectMusicScript_Script_Vtbl
=
{
IDirectMusicScriptImpl_IDirectMusicScript
_QueryInterface
,
IDirectMusicScriptImpl
_QueryInterface
,
IDirectMusicScriptImpl_IDirectMusicScript
_AddRef
,
IDirectMusicScriptImpl
_AddRef
,
IDirectMusicScriptImpl_IDirectMusicScript
_Release
,
IDirectMusicScriptImpl
_Release
,
IDirectMusicScriptImpl_IDirectMusicScript
_Init
,
IDirectMusicScriptImpl
_Init
,
IDirectMusicScriptImpl_IDirectMusicScript
_CallRoutine
,
IDirectMusicScriptImpl
_CallRoutine
,
IDirectMusicScriptImpl_IDirectMusicScript
_SetVariableVariant
,
IDirectMusicScriptImpl
_SetVariableVariant
,
IDirectMusicScriptImpl_IDirectMusicScript
_GetVariableVariant
,
IDirectMusicScriptImpl
_GetVariableVariant
,
IDirectMusicScriptImpl_IDirectMusicScript
_SetVariableNumber
,
IDirectMusicScriptImpl
_SetVariableNumber
,
IDirectMusicScriptImpl_IDirectMusicScript
_GetVariableNumber
,
IDirectMusicScriptImpl
_GetVariableNumber
,
IDirectMusicScriptImpl_IDirectMusicScript
_SetVariableObject
,
IDirectMusicScriptImpl
_SetVariableObject
,
IDirectMusicScriptImpl_IDirectMusicScript
_GetVariableObject
,
IDirectMusicScriptImpl
_GetVariableObject
,
IDirectMusicScriptImpl_IDirectMusicScript
_EnumRoutine
,
IDirectMusicScriptImpl
_EnumRoutine
,
IDirectMusicScriptImpl_IDirectMusicScript
_EnumVariable
IDirectMusicScriptImpl
_EnumVariable
};
};
/* IDirectMusicScriptImpl IDirectMusicObject part: */
/* IDirectMusicScriptImpl IDirectMusicObject part: */
...
...
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