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.

77 lines
1.3 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. #define REGSTR_SZREGKEY (TEXT("DINPUT.DLL"))
  13. HRESULT EXTERNAL
  14. DIWdm_SetJoyId
  15. (
  16. IN PCGUID guid,
  17. IN int idJoy
  18. );
  19. PHIDDEVICEINFO EXTERNAL
  20. phdiFindJoyId
  21. (
  22. IN int idJoy
  23. );
  24. HRESULT INTERNAL
  25. DIWdm_SetLegacyConfig
  26. (
  27. IN int idJoy
  28. );
  29. BOOL EXTERNAL
  30. DIWdm_InitJoyId( void );
  31. DWORD EXTERNAL
  32. DIWinnt_RegDeleteKey
  33. (
  34. IN HKEY hStartKey ,
  35. IN LPCTSTR pKeyName
  36. );
  37. HRESULT EXTERNAL
  38. DIWdm_SetConfig
  39. (
  40. UINT idJoy,
  41. LPJOYREGHWCONFIG jwc,
  42. LPCDIJOYCONFIG pcfg,
  43. DWORD fl
  44. );
  45. HRESULT EXTERNAL
  46. DIWdm_DeleteConfig
  47. (
  48. int idJoy
  49. );
  50. HRESULT EXTERNAL
  51. DIWdm_JoyHidMapping
  52. (
  53. IN int idJoy,
  54. OUT PVXDINITPARMS pvip, OPTIONAL
  55. OUT LPDIJOYCONFIG pcfg, OPTIONAL
  56. OUT LPDIJOYTYPEINFO pdijti OPTIONAL
  57. );
  58. LPTSTR EXTERNAL
  59. JoyReg_JoyIdToDeviceInterface
  60. (
  61. IN UINT idJoy,
  62. OUT PVXDINITPARMS pvip,
  63. OUT LPTSTR ptszBuf
  64. );
  65. #endif // DIWdm_H