432d3f184a238ff49928cbcbfec9e77709c45e9f
[reactos.git] / reactos / dll / 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 DllCanUnloadNow(void)
47 {
48 FIXME("(void): stub\n");
49
50 return S_FALSE;
51 }
52
53 /***********************************************************************
54 * DllGetClassObject (DINPUT8.@)
55 */
56 HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
57 {
58 FIXME("(%p, %p, %p): stub\n", debugstr_guid(rclsid),
59 debugstr_guid(riid), ppv);
60
61 return CLASS_E_CLASSNOTAVAILABLE;
62 }
63
64 /***********************************************************************
65 * DllRegisterServer (DINPUT8.@)
66 */
67 HRESULT WINAPI DllRegisterServer(void)
68 {
69 FIXME("(void): stub\n");
70
71 return S_OK;
72 }
73
74 /***********************************************************************
75 * DllUnregisterServer (DINPUT8.@)
76 */
77 HRESULT WINAPI DllUnregisterServer(void)
78 {
79 FIXME("(void): stub\n");
80
81 return S_OK;
82 }