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.
 
 
 
 
 
 

24 lines
827 B

#pragma once
#ifndef VREGISTRY_DSOUND_H
#define VREGISTRY_DSOUND_H
// DirectSound Acceleration levels.
#define DSAPPHACK_ACCELNONE 0xF
#define DSAPPHACK_ACCELSTANDARD 0x8
#define DSAPPHACK_ACCELFULL 0x0
// DirectSound Device Types
#define DSAPPHACK_DEV_EMULATEDRENDER 0x01
#define DSAPPHACK_DEV_KSRENDER 0x04
#define DSAPPHACK_DEV_EMULATEDCAPTURE 0x08
#define DSAPPHACK_DEV_KSCAPTURE 0x10
// Functions to set DirectSound app hacks.
BOOL AddDSHackDeviceAcceleration(DWORD dwAcceleration, DWORD dwDevicesAffected);
BOOL AddDSHackDisableDevice(DWORD dwDevicesAffected);
BOOL AddDSHackPadCursors(LONG lCursorPad);
BOOL AddDSHackReturnWritePos(DWORD dwDevicesAffected);
BOOL AddDSHackSmoothWritePos(LONG lCursorPad);
BOOL AddDSHackCachePositions(DWORD dwDevicesAffected);
#endif