Fixed header dependencies to be fully compatible with the Windows
[wine] / dlls / dinput8 / dinput8_main.c
1 /* DirectInput 8
2  *
3  * Copyright 2002 TransGaming Technologies Inc.
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  */
19
20 #include "config.h"
21 #include <assert.h>
22 #include <stdarg.h>
23 #include <string.h>
24
25 #include "wine/debug.h"
26 #include "windef.h"
27 #include "winbase.h"
28 #include "winerror.h"
29 #include "dinput.h"
30
31 WINE_DEFAULT_DEBUG_CHANNEL(dinput);
32
33 /******************************************************************************
34  *      DirectInput8Create (DINPUT8.@)
35  */
36 HRESULT WINAPI DirectInput8Create(
37         HINSTANCE hinst, DWORD dwVersion, REFIID riid, LPVOID *ppDI,
38         LPUNKNOWN punkOuter
39 ) {
40         return DirectInputCreateEx(hinst, dwVersion, riid, ppDI, punkOuter);
41 }
42
43 /***********************************************************************
44  *              DllCanUnloadNow (DINPUT8.@)
45  */
46 HRESULT WINAPI DINPUT8_DllCanUnloadNow(void)
47 {
48     FIXME("(void): stub\n");
49
50     return S_FALSE;
51 }
52
53 /***********************************************************************
54  *              DllGetClassObject (DINPUT8.@)
55  */
56 HRESULT WINAPI DINPUT8_DllGetClassObject(REFCLSID rclsid, REFIID riid,
57                                          LPVOID *ppv)
58 {
59     FIXME("(%p, %p, %p): stub\n", debugstr_guid(rclsid),
60           debugstr_guid(riid), ppv);
61
62     return CLASS_E_CLASSNOTAVAILABLE;
63 }
64
65 /***********************************************************************
66  *              DllRegisterServer (DINPUT8.@)
67  */
68 HRESULT WINAPI DINPUT8_DllRegisterServer(void)
69 {
70     FIXME("(void): stub\n");
71
72     return S_OK;
73 }
74
75 /***********************************************************************
76  *              DllUnregisterServer (DINPUT8.@)
77  */
78 HRESULT WINAPI DINPUT8_DllUnregisterServer(void)
79 {
80     FIXME("(void): stub\n");
81
82     return S_OK;
83 }