mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 17:35:07 +00:00
[USBHUB_NEW]
- Fix calling convention of completion routine svn path=/branches/usb-bringup-trunk/; revision=55083
This commit is contained in:
parent
d5dec59f82
commit
6612dad386
|
@ -558,7 +558,7 @@ QueryStatusChangeEndpoint(
|
|||
// Set the completion routine for when device is connected to root hub
|
||||
//
|
||||
IoSetCompletionRoutine(HubDeviceExtension->PendingSCEIrp,
|
||||
(PIO_COMPLETION_ROUTINE) StatusChangeEndpointCompletion,
|
||||
StatusChangeEndpointCompletion,
|
||||
DeviceObject,
|
||||
TRUE,
|
||||
TRUE,
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#define IO_METHOD_FROM_CTL_CODE(ctlCode) (ctlCode&0x00000003)
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
UrbCompletion(
|
||||
PDEVICE_OBJECT DeviceObject,
|
||||
PIRP Irp,
|
||||
|
@ -108,7 +109,7 @@ FowardUrbToRootHub(
|
|||
// Now set the completion routine for the new Irp.
|
||||
//
|
||||
IoSetCompletionRoutine(ForwardIrp,
|
||||
(PIO_COMPLETION_ROUTINE)UrbCompletion,
|
||||
UrbCompletion,
|
||||
Irp,
|
||||
TRUE,
|
||||
TRUE,
|
||||
|
|
Loading…
Reference in a new issue