[VGA_NEW] Fix 64 bit issues

This commit is contained in:
Timo Kreuzer 2019-01-13 15:56:23 +01:00
parent 403fec1b27
commit 72e43c4b33
2 changed files with 12 additions and 12 deletions

View File

@ -33,7 +33,7 @@ VgaQueryAvailableModes(
PHW_DEVICE_EXTENSION HwDeviceExtension,
PVIDEO_MODE_INFORMATION ModeInformation,
ULONG ModeInformationSize,
PULONG OutputSize
PULONG_PTR OutputSize
);
VP_STATUS
@ -42,7 +42,7 @@ VgaQueryNumberOfAvailableModes(
PHW_DEVICE_EXTENSION HwDeviceExtension,
PVIDEO_NUM_MODES NumModes,
ULONG NumModesSize,
PULONG OutputSize
PULONG_PTR OutputSize
);
VP_STATUS
@ -51,7 +51,7 @@ VgaQueryCurrentMode(
PHW_DEVICE_EXTENSION HwDeviceExtension,
PVIDEO_MODE_INFORMATION ModeInformation,
ULONG ModeInformationSize,
PULONG OutputSize
PULONG_PTR OutputSize
);
VOID
@ -99,12 +99,12 @@ Return Value:
{
ULONG ulCmd;
ULONG ulPort;
ULONG_PTR ulPort;
UCHAR jValue;
USHORT usValue;
ULONG culCount;
ULONG ulIndex;
ULONG ulBase;
ULONG_PTR ulBase;
if (pusCmdStream == NULL) {
@ -112,7 +112,7 @@ Return Value:
return TRUE;
}
ulBase = (ULONG)HwDeviceExtension->IOAddress;
ulBase = (ULONG_PTR)HwDeviceExtension->IOAddress;
//
// Now set the adapter to the desired mode.
@ -518,7 +518,7 @@ VgaQueryAvailableModes(
PHW_DEVICE_EXTENSION HwDeviceExtension,
PVIDEO_MODE_INFORMATION ModeInformation,
ULONG ModeInformationSize,
PULONG OutputSize
PULONG_PTR OutputSize
)
/*++
@ -656,7 +656,7 @@ VgaQueryNumberOfAvailableModes(
PHW_DEVICE_EXTENSION HwDeviceExtension,
PVIDEO_NUM_MODES NumModes,
ULONG NumModesSize,
PULONG OutputSize
PULONG_PTR OutputSize
)
/*++
@ -720,7 +720,7 @@ VgaQueryCurrentMode(
PHW_DEVICE_EXTENSION HwDeviceExtension,
PVIDEO_MODE_INFORMATION ModeInformation,
ULONG ModeInformationSize,
PULONG OutputSize
PULONG_PTR OutputSize
)
/*++

View File

@ -53,7 +53,7 @@ VgaQueryAvailableModes(
PHW_DEVICE_EXTENSION HwDeviceExtension,
PVIDEO_MODE_INFORMATION ModeInformation,
ULONG ModeInformationSize,
PULONG OutputSize
PULONG_PTR OutputSize
);
VP_STATUS
@ -62,7 +62,7 @@ VgaQueryNumberOfAvailableModes(
PHW_DEVICE_EXTENSION HwDeviceExtension,
PVIDEO_NUM_MODES NumModes,
ULONG NumModesSize,
PULONG OutputSize
PULONG_PTR OutputSize
);
VP_STATUS
@ -71,7 +71,7 @@ VgaQueryCurrentMode(
PHW_DEVICE_EXTENSION HwDeviceExtension,
PVIDEO_MODE_INFORMATION ModeInformation,
ULONG ModeInformationSize,
PULONG OutputSize
PULONG_PTR OutputSize
);
VP_STATUS