Last change
on this file since 8346 was 8346, checked in by sandervl, 23 years ago |
Resync with last X11 licensed Wine
|
File size:
828 bytes
|
Line | |
---|
1 | #ifndef __WINE_DLLS_DINPUT_DINPUT_PRIVATE_H
|
---|
2 | #define __WINE_DLLS_DINPUT_DINPUT_PRIVATE_H
|
---|
3 |
|
---|
4 | #include "winbase.h"
|
---|
5 | #include "dinput.h"
|
---|
6 |
|
---|
7 | /* Implementation specification */
|
---|
8 | typedef struct IDirectInputAImpl IDirectInputAImpl;
|
---|
9 | struct IDirectInputAImpl
|
---|
10 | {
|
---|
11 | ICOM_VFIELD(IDirectInputA);
|
---|
12 | DWORD ref;
|
---|
13 |
|
---|
14 | /* Used to have an unique sequence number for all the events */
|
---|
15 | DWORD evsequence;
|
---|
16 | };
|
---|
17 |
|
---|
18 | /* Function called by all devices that Wine supports */
|
---|
19 | typedef struct dinput_device {
|
---|
20 | INT pref;
|
---|
21 | BOOL (*enum_device)(DWORD dwDevType, DWORD dwFlags, LPCDIDEVICEINSTANCEA lpddi);
|
---|
22 | HRESULT (*create_device)(IDirectInputAImpl *dinput, REFGUID rguid, REFIID riid, LPDIRECTINPUTDEVICEA* pdev);
|
---|
23 | } dinput_device;
|
---|
24 |
|
---|
25 | extern void dinput_register_device(dinput_device *device) ;
|
---|
26 |
|
---|
27 | #endif /* __WINE_DLLS_DINPUT_DINPUT_PRIVATE_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.