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
0dbd7990
Commit
0dbd7990
authored
Dec 03, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmstyle: Convert dll registration to the IRegistrar mechanism.
parent
e5596404
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
112 additions
and
1 deletion
+112
-1
Makefile.in
dlls/dmstyle/Makefile.in
+2
-1
dmstyle.idl
dlls/dmstyle/dmstyle.idl
+91
-0
dmstyle_main.c
dlls/dmstyle/dmstyle_main.c
+19
-0
regsvr.c
dlls/dmstyle/regsvr.c
+0
-0
No files found.
dlls/dmstyle/Makefile.in
View file @
0dbd7990
...
...
@@ -9,10 +9,11 @@ C_SRCS = \
dmutils.c
\
motiftrack.c
\
mutetrack.c
\
regsvr.c
\
style.c
\
styletrack.c
IDL_R_SRCS
=
dmstyle.idl
RC_SRCS
=
version.rc
@MAKE_DLL_RULES@
dlls/dmstyle/dmstyle.idl
0 → 100644
View file @
0dbd7990
/*
*
COM
Classes
for
dmstyle
*
*
Copyright
2010
Alexandre
Julliard
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
[
threading
(
both
),
progid
(
"Microsoft.DirectMusicSection.1"
),
vi_progid
(
"Microsoft.DirectMusicSection"
),
uuid
(
3
f037241
-414e-11
d1
-
a7ce
-
00
a0c913f73c
)
]
coclass
DirectMusicSection
{
interface
IDirectMusicSection
; }
[
threading
(
both
),
progid
(
"Microsoft.DirectMusicStyle.1"
),
vi_progid
(
"Microsoft.DirectMusicStyle"
),
uuid
(
d2ac288a
-
b39b
-
11
d1
-
8704
-
00600893b1b
d
)
]
coclass
DirectMusicStyle
{
interface
IDirectMusicStyle
; }
[
threading
(
both
),
progid
(
"Microsoft.DirectMusicChordTrack.1"
),
vi_progid
(
"Microsoft.DirectMusicChordTrack"
),
uuid
(
d2ac288b
-
b39b
-
11
d1
-
8704
-
00600893b1b
d
)
]
coclass
DirectMusicChordTrack
{
interface
IDirectMusicChordTrack
; }
[
threading
(
both
),
progid
(
"Microsoft.DirectMusicCommandTrack.1"
),
vi_progid
(
"Microsoft.DirectMusicCommandTrack"
),
uuid
(
d2ac288c
-
b39b
-
11
d1
-
8704
-
00600893b1b
d
)
]
coclass
DirectMusicCommandTrack
{
interface
IDirectMusicCommandTrack
; }
[
threading
(
both
),
progid
(
"Microsoft.DirectMusicStyleTrack.1"
),
vi_progid
(
"Microsoft.DirectMusicStyleTrack"
),
uuid
(
d2ac288d
-
b39b
-
11
d1
-
8704
-
00600893b1b
d
)
]
coclass
DirectMusicStyleTrack
{
interface
IDirectMusicStyleTrack
; }
[
threading
(
both
),
progid
(
"Microsoft.DirectMusicMotifTrack.1"
),
vi_progid
(
"Microsoft.DirectMusicMotifTrack"
),
uuid
(
d2ac288e
-
b39b
-
11
d1
-
8704
-
00600893b1b
d
)
]
coclass
DirectMusicMotifTrack
{
interface
IDirectMusicMotifTrack
; }
[
threading
(
both
),
progid
(
"Microsoft.DirectMusicAuditionTrack.1"
),
vi_progid
(
"Microsoft.DirectMusicAuditionTrack"
),
uuid
(
d2ac2897
-
b39b
-
11
d1
-
8704
-
00600893b1b
d
)
]
coclass
DirectMusicAuditionTrack
{
interface
IDirectMusicAuditionTrack
; }
[
threading
(
both
),
progid
(
"Microsoft.DirectMusicMuteTrack.1"
),
vi_progid
(
"Microsoft.DirectMusicMuteTrack"
),
uuid
(
d2ac2898
-
b39b
-
11
d1
-
8704
-
00600893b1b
d
)
]
coclass
DirectMusicMuteTrack
{
interface
IDirectMusicMuteTrack
; }
[
threading
(
both
),
progid
(
"Microsoft.DirectMusicMelodyFormulationTrack.1"
),
vi_progid
(
"Microsoft.DirectMusicMelodyFormulationTrack"
),
uuid
(
b0684266
-
b57f
-
11
d2
-
97
f9
-
00
c04fa36e58
)
]
coclass
DirectMusicMelodyFormulationTrack
{
interface
IDirectMusicMelodyFormulationTrack
; }
dlls/dmstyle/dmstyle_main.c
View file @
0dbd7990
...
...
@@ -18,9 +18,11 @@
*/
#include "dmstyle_private.h"
#include "rpcproxy.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dmstyle
);
static
HINSTANCE
instance
;
LONG
DMSTYLE_refCount
=
0
;
typedef
struct
{
...
...
@@ -437,6 +439,7 @@ static IClassFactoryImpl MuteTrack_CF = {&MuteTrackCF_Vtbl};
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
if
(
fdwReason
==
DLL_PROCESS_ATTACH
)
{
instance
=
hinstDLL
;
DisableThreadLibraryCalls
(
hinstDLL
);
/* FIXME: Initialisation */
}
else
if
(
fdwReason
==
DLL_PROCESS_DETACH
)
{
...
...
@@ -502,3 +505,19 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) {
WARN
(
"(%s, %s, %p): no interface found.
\n
"
,
debugstr_dmguid
(
rclsid
),
debugstr_dmguid
(
riid
),
ppv
);
return
CLASS_E_CLASSNOTAVAILABLE
;
}
/***********************************************************************
* DllRegisterServer (DMSTYLE.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
instance
,
NULL
);
}
/***********************************************************************
* DllUnregisterServer (DMSTYLE.@)
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
return
__wine_unregister_resources
(
instance
,
NULL
);
}
dlls/dmstyle/regsvr.c
deleted
100644 → 0
View file @
e5596404
This diff is collapsed.
Click to expand it.
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