Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.6 KiB

  1. /***************************************************************************
  2. *
  3. * Copyright (C) 1997 - 2000 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: dihel.h
  6. * Content: DirectInput internal include file for the
  7. * hardware emulation layer
  8. *
  9. ***************************************************************************/
  10. HRESULT EXTERNAL Hel_AcquireInstance(PVXDINSTANCE pvi);
  11. HRESULT EXTERNAL Hel_UnacquireInstance(PVXDINSTANCE pvi);
  12. HRESULT EXTERNAL Hel_SetBufferSize(PVXDDWORDDATA pvdd);
  13. HRESULT EXTERNAL Hel_DestroyInstance(PVXDINSTANCE pvi);
  14. HRESULT EXTERNAL Hel_SetDataFormat(PVXDDATAFORMAT pvdf);
  15. HRESULT EXTERNAL Hel_SetNotifyHandle(PVXDDWORDDATA pvdd);
  16. HRESULT EXTERNAL
  17. Hel_Mouse_CreateInstance(PVXDDEVICEFORMAT pdevf, PVXDINSTANCE *ppviOut);
  18. HRESULT EXTERNAL
  19. Hel_Kbd_CreateInstance(PVXDDEVICEFORMAT pdevf, PVXDINSTANCE *ppviOut);
  20. HRESULT EXTERNAL Hel_Kbd_InitKeys(PVXDDWORDDATA pvdd);
  21. HRESULT EXTERNAL
  22. Hel_Joy_CreateInstance(PVXDDEVICEFORMAT pdevf, PVXDINSTANCE *ppviOut);
  23. HRESULT EXTERNAL Hel_Joy_Ping(PVXDINSTANCE pvi);
  24. HRESULT EXTERNAL Hel_Joy_ConfigChanged(DWORD dwFlags);
  25. HRESULT EXTERNAL
  26. Hel_Joy_GetInitParms(DWORD dwExternalID, PVXDINITPARMS pvip);
  27. HRESULT EXTERNAL
  28. Hel_Joy_GetAxisCaps(DWORD dwExternalID, PVXDAXISCAPS pvac, LPJOYREGHWCONFIG phwc );
  29. /*
  30. * HID always runs via ring 3.
  31. */
  32. #define Hel_HID_CreateInstance CEm_HID_CreateInstance
  33. #ifdef WINNT
  34. #define IoctlHw( ioctl, pvIn, cbIn, pvOut, cbOut ) ( (HRESULT)DIERR_BADDRIVERVER )
  35. #else
  36. HRESULT EXTERNAL
  37. IoctlHw(DWORD ioctl, LPVOID pvIn, DWORD cbIn, LPVOID pvOut, DWORD cbOut);
  38. #endif