windows-nt/Source/XPSP1/NT/windows/appcompat/shims/layer/vregistry_dsound.h

25 lines
803 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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