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
f4d0d638
Commit
f4d0d638
authored
Dec 07, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Convert dll registration to the IRegistrar mechanism.
parent
b89ea84e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
54 additions
and
2 deletions
+54
-2
Makefile.in
dlls/dinput/Makefile.in
+3
-2
dinput_classes.idl
dlls/dinput/dinput_classes.idl
+33
-0
dinput_main.c
dlls/dinput/dinput_main.c
+18
-0
regsvr.c
dlls/dinput/regsvr.c
+0
-0
No files found.
dlls/dinput/Makefile.in
View file @
f4d0d638
...
...
@@ -13,11 +13,12 @@ C_SRCS = \
joystick_linuxinput.c
\
joystick_osx.c
\
keyboard.c
\
mouse.c
\
regsvr.c
mouse.c
IMPLIB_SRCS
=
data_formats.c
IDL_R_SRCS
=
dinput_classes.idl
RC_SRCS
=
version.rc
@MAKE_DLL_RULES@
dlls/dinput/dinput_classes.idl
0 → 100644
View file @
f4d0d638
/*
*
COM
Classes
for
dinput
*
*
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
*/
[
helpstring
(
"DirectInput Object"
),
threading
(
both
),
uuid
(
25
e609e0
-
b259
-
11
cf
-
bfc7
-
444553540000
)
]
coclass
DirectInput
{
interface
IDirectInput
; }
[
helpstring
(
"DirectInputDevice Object"
),
threading
(
both
),
uuid
(
25
e609e1
-
b259
-
11
cf
-
bfc7
-
444553540000
)
]
coclass
DirectInputDevice
{
interface
IDirectInputDevice
; }
dlls/dinput/dinput_main.c
View file @
f4d0d638
...
...
@@ -44,6 +44,8 @@
#include "winbase.h"
#include "winuser.h"
#include "winerror.h"
#include "objbase.h"
#include "rpcproxy.h"
#include "dinput_private.h"
#include "device_private.h"
...
...
@@ -883,6 +885,22 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
return
CLASS_E_CLASSNOTAVAILABLE
;
}
/***********************************************************************
* DllRegisterServer (DINPUT.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
DINPUT_instance
,
NULL
);
}
/***********************************************************************
* DllUnregisterServer (DINPUT.@)
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
return
__wine_unregister_resources
(
DINPUT_instance
,
NULL
);
}
/******************************************************************************
* DInput hook thread
*/
...
...
dlls/dinput/regsvr.c
deleted
100644 → 0
View file @
b89ea84e
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