mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 01:03:08 +00:00
[DRIVERS] Fix 64 bit issues
This commit is contained in:
parent
f8bf0e9c3a
commit
9e066abe2a
27 changed files with 61 additions and 60 deletions
|
@ -408,7 +408,8 @@ CHubController::HandlePnp(
|
|||
PPNP_BUS_INFORMATION BusInformation;
|
||||
PDEVICE_RELATIONS DeviceRelations;
|
||||
NTSTATUS Status;
|
||||
ULONG Index = 0, Length;
|
||||
ULONG Index = 0;
|
||||
SIZE_T Length;
|
||||
USHORT VendorID, DeviceID;
|
||||
ULONG HiSpeed, NumPorts;
|
||||
WCHAR Buffer[300];
|
||||
|
|
|
@ -22,6 +22,6 @@ KeQueryActiveProcessorCount(OUT PKAFFINITY ActiveProcessors OPTIONAL)
|
|||
*ActiveProcessors = ActiveMap;
|
||||
}
|
||||
|
||||
RtlInitializeBitMap(&Bitmap, &ActiveMap, sizeof(ActiveMap) * 8);
|
||||
RtlInitializeBitMap(&Bitmap, (PULONG)&ActiveMap, sizeof(ActiveMap) * 8);
|
||||
return RtlNumberOfSetBits(&Bitmap);
|
||||
}
|
||||
|
|
|
@ -2312,7 +2312,7 @@ RxDereferenceAndDeleteRxContext_Real(
|
|||
/* Is ShadowCrit still owned? Shouldn't happen! */
|
||||
if (RxContext->ShadowCritOwner != 0)
|
||||
{
|
||||
DPRINT1("ShadowCritOwner not null! %p\n", (PVOID)RxContext->ShadowCritOwner);
|
||||
DPRINT1("ShadowCritOwner not null! %lx\n", RxContext->ShadowCritOwner);
|
||||
ASSERT(FALSE);
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -108,7 +108,7 @@ mxdMessage(
|
|||
DeviceId,
|
||||
(LPWAVEOPENDESC) Parameter1, /* unused */
|
||||
Parameter2,
|
||||
(DWORD*) PrivateHandle);
|
||||
(DWORD_PTR*) PrivateHandle);
|
||||
VALIDATE_MMSYS_PARAMETER(*(DWORD_PTR*)PrivateHandle);
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 );
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue