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.

76 lines
1.2 KiB

  1. /***************************************************************************
  2. *
  3. * Copyright (C) 1997 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: DIWdm.h
  6. * Content: DirectInput internal include file for Winnt
  7. *
  8. ***************************************************************************/
  9. #ifndef DIWdm_H
  10. #define DIWdm_H
  11. #define JOY_BOGUSID ( cJoyMax + 1 )
  12. HRESULT EXTERNAL
  13. DIWdm_SetJoyId
  14. (
  15. IN PCGUID guid,
  16. IN int idJoy
  17. );
  18. PHIDDEVICEINFO EXTERNAL
  19. phdiFindJoyId
  20. (
  21. IN int idJoy
  22. );
  23. HRESULT INTERNAL
  24. DIWdm_SetLegacyConfig
  25. (
  26. IN int idJoy
  27. );
  28. BOOL EXTERNAL
  29. DIWdm_InitJoyId( void );
  30. DWORD EXTERNAL
  31. DIWinnt_RegDeleteKey
  32. (
  33. IN HKEY hStartKey ,
  34. IN LPCTSTR pKeyName
  35. );
  36. HRESULT EXTERNAL
  37. DIWdm_SetConfig
  38. (
  39. UINT idJoy,
  40. LPJOYREGHWCONFIG jwc,
  41. LPCDIJOYCONFIG pcfg,
  42. DWORD fl
  43. );
  44. HRESULT EXTERNAL
  45. DIWdm_DeleteConfig
  46. (
  47. int idJoy
  48. );
  49. HRESULT EXTERNAL
  50. DIWdm_JoyHidMapping
  51. (
  52. IN int idJoy,
  53. OUT PVXDINITPARMS pvip, OPTIONAL
  54. OUT LPDIJOYCONFIG pcfg, OPTIONAL
  55. OUT LPDIJOYTYPEINFO pdijti OPTIONAL
  56. );
  57. LPTSTR EXTERNAL
  58. JoyReg_JoyIdToDeviceInterface
  59. (
  60. IN UINT idJoy,
  61. OUT PVXDINITPARMS pvip,
  62. OUT LPTSTR ptszBuf
  63. );
  64. #endif // DIWdm_H