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
5dab1e4e
Commit
5dab1e4e
authored
Nov 21, 2022
by
Alex Henrie
Committed by
Alexandre Julliard
Nov 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmscript: Don't force a calling convention on internal functions.
parent
be666ef4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
dmscript_main.c
dlls/dmscript/dmscript_main.c
+2
-2
dmscript_private.h
dlls/dmscript/dmscript_private.h
+2
-2
script.c
dlls/dmscript/script.c
+1
-1
scripttrack.c
dlls/dmscript/scripttrack.c
+1
-2
No files found.
dlls/dmscript/dmscript_main.c
View file @
5dab1e4e
...
...
@@ -42,10 +42,10 @@ LONG DMSCRIPT_refCount = 0;
typedef
struct
{
IClassFactory
IClassFactory_iface
;
HRESULT
WINAPI
(
*
fnCreateInstance
)(
REFIID
riid
,
void
**
ppv
,
IUnknown
*
pUnkOuter
);
HRESULT
(
*
fnCreateInstance
)(
REFIID
riid
,
void
**
ppv
,
IUnknown
*
pUnkOuter
);
}
IClassFactoryImpl
;
static
HRESULT
WINAPI
create_unimpl_instance
(
REFIID
riid
,
void
**
ppv
,
IUnknown
*
pUnkOuter
)
static
HRESULT
create_unimpl_instance
(
REFIID
riid
,
void
**
ppv
,
IUnknown
*
pUnkOuter
)
{
FIXME
(
"(%p, %s, %p) stub
\n
"
,
pUnkOuter
,
debugstr_dmguid
(
riid
),
ppv
);
...
...
dlls/dmscript/dmscript_private.h
View file @
5dab1e4e
...
...
@@ -44,9 +44,9 @@
/*****************************************************************************
* ClassFactory
*/
extern
HRESULT
WINAPI
DMUSIC_CreateDirectMusicScriptImpl
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
DMUSIC_CreateDirectMusicScriptImpl
(
REFIID
riid
,
void
**
ppobj
,
IUnknown
*
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
WINAPI
DMUSIC_CreateDirectMusicScriptTrack
(
LPCGUID
lpcGUID
,
LPVOID
*
ppobj
,
LPUNKNOWN
pUnkOuter
)
DECLSPEC_HIDDEN
;
extern
HRESULT
DMUSIC_CreateDirectMusicScriptTrack
(
REFIID
riid
,
void
**
ppobj
,
IUnknown
*
pUnkOuter
)
DECLSPEC_HIDDEN
;
/**********************************************************************
* Dll lifetime tracking declaration for dmscript.dll
...
...
dlls/dmscript/script.c
View file @
5dab1e4e
...
...
@@ -488,7 +488,7 @@ static const IPersistStreamVtbl persiststream_vtbl = {
};
/* for ClassFactory */
HRESULT
WINAPI
DMUSIC_CreateDirectMusicScriptImpl
(
REFIID
lpcGUID
,
void
**
ppobj
,
IUnknown
*
pUnkOuter
)
HRESULT
DMUSIC_CreateDirectMusicScriptImpl
(
REFIID
lpcGUID
,
void
**
ppobj
,
IUnknown
*
pUnkOuter
)
{
IDirectMusicScriptImpl
*
obj
;
HRESULT
hr
;
...
...
dlls/dmscript/scripttrack.c
View file @
5dab1e4e
...
...
@@ -317,8 +317,7 @@ static const IPersistStreamVtbl persist_vtbl = {
};
/* for ClassFactory */
HRESULT
WINAPI
DMUSIC_CreateDirectMusicScriptTrack
(
REFIID
riid
,
void
**
ret_iface
,
IUnknown
*
pUnkOuter
)
HRESULT
DMUSIC_CreateDirectMusicScriptTrack
(
REFIID
riid
,
void
**
ret_iface
,
IUnknown
*
pUnkOuter
)
{
DirectMusicScriptTrack
*
track
;
HRESULT
hr
;
...
...
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