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.

24 lines
803 B

  1. #pragma once
  2. #ifndef VREGISTRY_DSOUND_H
  3. #define VREGISTRY_DSOUND_H
  4. // DirectSound Acceleration levels.
  5. #define DSAPPHACK_ACCELNONE 0xF
  6. #define DSAPPHACK_ACCELSTANDARD 0x8
  7. #define DSAPPHACK_ACCELFULL 0x0
  8. // DirectSound Device Types
  9. #define DSAPPHACK_DEV_EMULATEDRENDER 0x01
  10. #define DSAPPHACK_DEV_KSRENDER 0x04
  11. #define DSAPPHACK_DEV_EMULATEDCAPTURE 0x08
  12. #define DSAPPHACK_DEV_KSCAPTURE 0x10
  13. // Functions to set DirectSound app hacks.
  14. BOOL AddDSHackDeviceAcceleration(DWORD dwAcceleration, DWORD dwDevicesAffected);
  15. BOOL AddDSHackDisableDevice(DWORD dwDevicesAffected);
  16. BOOL AddDSHackPadCursors(LONG lCursorPad);
  17. BOOL AddDSHackReturnWritePos(DWORD dwDevicesAffected);
  18. BOOL AddDSHackSmoothWritePos(LONG lCursorPad);
  19. BOOL AddDSHackCachePositions(DWORD dwDevicesAffected);
  20. #endif