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
8db3669d
Commit
8db3669d
authored
Dec 03, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmcompos: Convert dll registration to the IRegistrar mechanism.
parent
fde44df4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
79 additions
and
1 deletion
+79
-1
Makefile.in
dlls/dmcompos/Makefile.in
+2
-1
dmcompos.idl
dlls/dmcompos/dmcompos.idl
+59
-0
dmcompos_main.c
dlls/dmcompos/dmcompos_main.c
+18
-0
regsvr.c
dlls/dmcompos/regsvr.c
+0
-0
No files found.
dlls/dmcompos/Makefile.in
View file @
8db3669d
...
...
@@ -6,9 +6,10 @@ C_SRCS = \
chordmaptrack.c
\
composer.c
\
dmcompos_main.c
\
regsvr.c
\
signposttrack.c
IDL_R_SRCS
=
dmcompos.idl
RC_SRCS
=
version.rc
@MAKE_DLL_RULES@
dlls/dmcompos/dmcompos.idl
0 → 100644
View file @
8db3669d
/*
*
COM
Classes
for
dmcompos
*
*
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.DirectMusicChordMap.1"
),
vi_progid
(
"Microsoft.DirectMusicChordMap"
),
uuid
(
d2ac288f
-
b39b
-
11
d1
-
8704
-
00600893b1b
d
)
]
coclass
DirectMusicChordMap
{
interface
IDirectMusicChordMap
; }
[
threading
(
both
),
progid
(
"Microsoft.DirectMusicComposer.1"
),
vi_progid
(
"Microsoft.DirectMusicComposer"
),
uuid
(
d2ac2890
-
b39b
-
11
d1
-
8704
-
00600893b1b
d
)
]
coclass
DirectMusicComposer
{
interface
IDirectMusicComposer
; }
[
threading
(
both
),
progid
(
"Microsoft.DirectMusicChordMapTrack.1"
),
vi_progid
(
"Microsoft.DirectMusicChordMapTrack"
),
uuid
(
d2ac2896
-
b39b
-
11
d1
-
8704
-
00600893b1b
d
)
]
coclass
DirectMusicChordMapTrack
{
interface
IDirectMusicChordMapTrack
; }
[
threading
(
both
),
progid
(
"Microsoft.DirectMusicTemplate.1"
),
vi_progid
(
"Microsoft.DirectMusicTemplate"
),
uuid
(
d30bcc65
-
60
e8
-
11
d1
-
a7ce
-
00
a0c913f73c
)
]
coclass
DirectMusicTemplate
{
interface
IDirectMusicTemplate
; }
[
threading
(
both
),
progid
(
"Microsoft.DirectMusicSignPostTrack.1"
),
vi_progid
(
"Microsoft.DirectMusicSignPostTrack"
),
uuid
(
f17e8672
-
c3b4
-
11
d1
-
870b
-
00600893b1b
d
)
]
coclass
DirectMusicSignPostTrack
{
interface
IDirectMusicSignPostTrack
; }
dlls/dmcompos/dmcompos_main.c
View file @
8db3669d
...
...
@@ -21,9 +21,11 @@
#include "wine/port.h"
#include "dmcompos_private.h"
#include "rpcproxy.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dmcompos
);
static
HINSTANCE
instance
;
LONG
DMCOMPOS_refCount
=
0
;
typedef
struct
{
...
...
@@ -289,6 +291,7 @@ static IClassFactoryImpl SignPostTrack_CF = {&SignPostTrackCF_Vtbl};
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
if
(
fdwReason
==
DLL_PROCESS_ATTACH
)
{
instance
=
hinstDLL
;
DisableThreadLibraryCalls
(
hinstDLL
);
/* FIXME: Initialisation */
}
...
...
@@ -343,6 +346,21 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) {
return
CLASS_E_CLASSNOTAVAILABLE
;
}
/***********************************************************************
* DllRegisterServer (DMCOMPOS.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
instance
,
NULL
);
}
/***********************************************************************
* DllUnregisterServer (DMCOMPOS.@)
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
return
__wine_unregister_resources
(
instance
,
NULL
);
}
/******************************************************************
* Helper functions
...
...
dlls/dmcompos/regsvr.c
deleted
100644 → 0
View file @
fde44df4
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