[DRIVERS] Fix 64 bit issues

This commit is contained in:
Timo Kreuzer 2018-04-23 11:27:49 +02:00
parent f8bf0e9c3a
commit 9e066abe2a
27 changed files with 61 additions and 60 deletions

View file

@ -108,7 +108,7 @@ mxdMessage(
DeviceId,
(LPWAVEOPENDESC) Parameter1, /* unused */
Parameter2,
(DWORD*) PrivateHandle);
(DWORD_PTR*) PrivateHandle);
VALIDATE_MMSYS_PARAMETER(*(DWORD_PTR*)PrivateHandle);
break;
}

View file

@ -153,7 +153,7 @@ DetectNt4SoundDevices(
IN PWSTR BaseDeviceName,
IN SOUND_DEVICE_DETECTED_PROC SoundDeviceDetectedProc)
{
ULONG DeviceNameLength = 0;
SIZE_T DeviceNameLength = 0;
PWSTR DeviceName = NULL;
ULONG Index = 0;
HANDLE DeviceHandle;

View file

@ -21,7 +21,7 @@ OpenSoundDriverParametersRegKey(
IN LPWSTR ServiceName,
OUT PHKEY KeyHandle)
{
ULONG KeyLength;
SIZE_T KeyLength;
PWCHAR ParametersKeyName;
VALIDATE_MMSYS_PARAMETER( ServiceName );
@ -75,7 +75,7 @@ OpenSoundDeviceRegKey(
IN DWORD DeviceIndex,
OUT PHKEY KeyHandle)
{
DWORD PathLength;
SIZE_T PathLength;
PWCHAR RegPath;
VALIDATE_MMSYS_PARAMETER( ServiceName );

View file

@ -386,7 +386,7 @@ MMixerGetMidiDevicePath(
PMIXER_LIST MixerList;
LPMIXER_DATA MixerData;
LPMIDI_INFO MidiInfo;
ULONG Length;
SIZE_T Length;
MIXER_STATUS Status;
/* verify mixer context */

View file

@ -665,7 +665,7 @@ MMixerGetWaveDevicePath(
PMIXER_LIST MixerList;
LPMIXER_DATA MixerData;
LPWAVE_INFO WaveInfo;
ULONG Length;
SIZE_T Length;
MIXER_STATUS Status;
/* verify mixer context */