NTAPI
VideoPortEnableInterrupt(IN PVOID HwDeviceExtension)
{
+#ifndef _M_AMD64
PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension;
BOOLEAN InterruptValid;
}
/* Re-enable the interrupt and return */
- InterruptValid = HalEnableSystemInterrupt(DeviceExtension->InterruptVector,
+ InterruptValid = HalEnableSystemInterrupt((UCHAR)DeviceExtension->InterruptVector,
0,
DeviceExtension->InterruptLevel);
/* Return to caller */
return NO_ERROR;
+#else
+ /* FIXME: Function still present? If so what to use instead of HalEnableSystemInterrupt? */
+ UNIMPLEMENTED;
+ return ERROR_INVALID_FUNCTION;
+#endif
}
/*
NTAPI
VideoPortDisableInterrupt(IN PVOID HwDeviceExtension)
{
+#ifndef _M_AMD64
PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension;
/* Get the device extension */
}
/* Disable the interrupt and return */
- HalDisableSystemInterrupt(DeviceExtension->InterruptVector,
+ HalDisableSystemInterrupt((UCHAR)DeviceExtension->InterruptVector,
0);
return NO_ERROR;
+#else
+ /* FIXME: Function still present? If so what to use instead of HalDisableSystemInterrupt? */
+ UNIMPLEMENTED;
+ return ERROR_INVALID_FUNCTION;
+#endif
}