Leaked source code of windows server 2003
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.

46 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 Hel_Joy_GetInitParms(DWORD dwExternalID, PVXDINITPARMS pvip);
  22. #ifndef WINNT
  23. HRESULT EXTERNAL Hel_Joy_CreateInstance(PVXDDEVICEFORMAT pdevf, PVXDINSTANCE *ppviOut);
  24. HRESULT EXTERNAL Hel_Joy_Ping(PVXDINSTANCE pvi);
  25. HRESULT EXTERNAL Hel_Joy_ConfigChanged(DWORD dwFlags);
  26. HRESULT EXTERNAL Hel_Joy_GetAxisCaps(DWORD dwExternalID, PVXDAXISCAPS pvac, LPJOYREGHWCONFIG phwc );
  27. #endif
  28. /*
  29. * HID always runs via ring 3.
  30. */
  31. #define Hel_HID_CreateInstance CEm_HID_CreateInstance
  32. #ifdef WINNT
  33. #define IoctlHw( ioctl, pvIn, cbIn, pvOut, cbOut ) ( (HRESULT)DIERR_BADDRIVERVER )
  34. #else
  35. HRESULT EXTERNAL
  36. IoctlHw(DWORD ioctl, LPVOID pvIn, DWORD cbIn, LPVOID pvOut, DWORD cbOut);
  37. #endif