Using this IOCTL, you can define the edge on which the interrupt is triggered.
#define IOCTL_HAL_IRQEDGE CTL_CODE(FILE_DEVICE_HAL, 2050, METHOD_BUFFERED,FILE_ANY_ACCESS)
You can find a sample in the SourceCode Samples.