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.

66 lines
2.5 KiB

  1. /****************************************************************************
  2. MODULE: joyregst.hpp
  3. Tab settings: 5 9
  4. Copyright 1995, 1996, 1999, Microsoft Corporation, All Rights Reserved.
  5. PURPOSE: Header for VJOYD Registry functions
  6. FUNCTIONS:
  7. Author(s): Name:
  8. ---------- ----------------
  9. MEA Manolito E. Adan
  10. Revision History:
  11. -----------------
  12. Version Date Author Comments
  13. ------- ------ ----- -------------------------------------------
  14. 1.0 22-Jan-96 MEA original
  15. 12-Mar-99 waltw Removed dead joyGetOEMProductName &
  16. joyGetOEMForceFeedbackDriverDLLName
  17. 20-Mar-99 waltw Nuked dead GetRing0DriverName
  18. ****************************************************************************/
  19. #ifndef joyregst_SEEN
  20. #define joyregst_SEEN
  21. #define REGSTR_OEMFORCEFEEDBACK "OEMForceFeedback"
  22. #define REGSTR_VAL_SFORCE_DRIVERDLL "Driver DLL"
  23. #define REGSTR_VAL_SFORCE_PRODUCTNAME "ProductName"
  24. #define REGSTR_VAL_SFORCE_MANUFACTURERNAME "Manufacturer"
  25. #define REGSTR_VAL_SFORCE_PRODUCTVERSION "ProductVersion"
  26. #define REGSTR_VAL_SFORCE_DEVICEDRIVERVERSION "DeviceDriverVersion"
  27. #define REGSTR_VAL_SFORCE_DEVICEFIRMWAREVERSION "DeviceFirmwareVersion"
  28. #define REGSTR_VAL_SFORCE_INTERFACE "Interface"
  29. #define REGSTR_VAL_SFORCE_MAXSAMPLERATE "MaxSampleRate"
  30. #define REGSTR_VAL_SFORCE_MAXMEMORY "MaxMemory"
  31. #define REGSTR_VAL_SFORCE_NUMBEROFSENSORS "NumberOfSensors"
  32. #define REGSTR_VAL_SFORCE_NUMBEROFAXES "NumberOfAxes"
  33. #define REGSTR_VAL_SFORCE_EFFECTSCAPS "EffectsCaps"
  34. #define REGSTR_VAL_SFORCE_EXTRAINFO "ExtraInfo"
  35. #define REGSTR_VAL_COMM_INTERFACE "COMMInterface"
  36. #define REGSTR_VAL_COMM_PORT "COMMPort"
  37. #define REGSTR_VAL_RING0_DRIVER "RING0 Driver"
  38. HKEY joyOpenOEMForceFeedbackKey(UINT id);
  39. MMRESULT joyGetForceFeedbackCOMMInterface(UINT id, ULONG* ulArg1, ULONG* ulArg2);
  40. MMRESULT joySetForceFeedbackCOMMInterface(UINT id, ULONG ulCOMMInterface, ULONG ulCOMMPort);
  41. DWORD GetAckNackMethodFromRegistry(UINT id);
  42. #define REGBITS_DESTROYEFFECT 14
  43. #define REGBITS_PLAYEFFECT 12
  44. #define REGBITS_STOPEFFECT 10
  45. #define REGBITS_SETINDEX 8
  46. #define REGBITS_MODIFYPARAM 6
  47. #define REGBITS_SETDEVICESTATE 4
  48. #define REGBITS_DOWNLOADEFFECT 2
  49. #define REGBITS_DEVICEINIT 0
  50. #define ACKNACK_NOTHING 0x00
  51. #define ACKNACK_BUTTONSTATUS 0x01
  52. #define ACKNACK_STATUSPACKET 0x02
  53. #endif // of if joyregst_SEEN