- Fix calling convention of completion routine
svn path=/branches/usb-bringup-trunk/; revision=55083
// Set the completion routine for when device is connected to root hub
//
IoSetCompletionRoutine(HubDeviceExtension->PendingSCEIrp,
- (PIO_COMPLETION_ROUTINE) StatusChangeEndpointCompletion,
+ StatusChangeEndpointCompletion,
DeviceObject,
TRUE,
TRUE,
#define IO_METHOD_FROM_CTL_CODE(ctlCode) (ctlCode&0x00000003)
NTSTATUS
+NTAPI
UrbCompletion(
PDEVICE_OBJECT DeviceObject,
PIRP Irp,
// Now set the completion routine for the new Irp.
//
IoSetCompletionRoutine(ForwardIrp,
- (PIO_COMPLETION_ROUTINE)UrbCompletion,
+ UrbCompletion,
Irp,
TRUE,
TRUE,