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
71dbeb2e
Commit
71dbeb2e
authored
Dec 09, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gameux: Convert dll registration to the IRegistrar mechanism.
parent
092af1be
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
2 deletions
+30
-2
Makefile.in
dlls/gameux/Makefile.in
+2
-2
main.c
dlls/gameux/main.c
+20
-0
regsvr.c
dlls/gameux/regsvr.c
+0
-0
gameux.idl
include/gameux.idl
+8
-0
No files found.
dlls/gameux/Makefile.in
View file @
71dbeb2e
...
...
@@ -6,10 +6,10 @@ C_SRCS = \
factory.c
\
gameexplorer.c
\
gamestatistics.c
\
main.c
\
regsvr.c
main.c
IDL_TLB_SRCS
=
gameux_tlb.idl
IDL_R_SRCS
=
gameux_tlb.idl
RC_SRCS
=
rsrc.rc
...
...
dlls/gameux/main.c
View file @
71dbeb2e
...
...
@@ -27,6 +27,7 @@
#include "winbase.h"
#include "ole2.h"
#include "rpcproxy.h"
#include "shobjidl.h"
#include "initguid.h"
#include "gameux.h"
...
...
@@ -35,6 +36,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
gameux
);
static
HINSTANCE
instance
;
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
...
...
@@ -47,6 +50,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
switch
(
fdwReason
)
{
case
DLL_PROCESS_ATTACH
:
instance
=
hInstDLL
;
DisableThreadLibraryCalls
(
hInstDLL
);
break
;
case
DLL_PROCESS_DETACH
:
...
...
@@ -54,3 +58,19 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
}
return
TRUE
;
}
/***********************************************************************
* DllRegisterServer (GAMEUX.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
instance
,
NULL
);
}
/***********************************************************************
* DllUnregisterServer (GAMEUX.@)
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
return
__wine_unregister_resources
(
instance
,
NULL
);
}
dlls/gameux/regsvr.c
deleted
100644 → 0
View file @
092af1be
This diff is collapsed.
Click to expand it.
include/gameux.idl
View file @
71dbeb2e
...
...
@@ -170,6 +170,10 @@ library gameuxLib
}
[
helpstring
(
"GameExplorer Class"
),
threading
(
both
),
progid
(
"gameux.GameExplorer.1"
),
vi_progid
(
"gameux.GameExplorer"
),
uuid
(
9
A5EA990
-
3034
-
4
D6F
-
9128
-
01
F3C61022BC
)
]
coclass
GameExplorer
...
...
@@ -178,6 +182,10 @@ library gameuxLib
}
;
[
helpstring
(
"GameStatistics Class"
),
threading
(
apartment
),
progid
(
"gameux.GameStatistics.1"
),
vi_progid
(
"gameux.GameStatistics"
),
uuid
(
DBC85A2C
-
C0DC
-
4961
-
B6E2
-
D28B62C11AD4
)
]
coclass
GameStatistics
...
...
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