mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:05:41 +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
2 changed files with 3 additions and 2 deletions
|
@ -558,7 +558,7 @@ QueryStatusChangeEndpoint(
|
||||||
// Set the completion routine for when device is connected to root hub
|
// Set the completion routine for when device is connected to root hub
|
||||||
//
|
//
|
||||||
IoSetCompletionRoutine(HubDeviceExtension->PendingSCEIrp,
|
IoSetCompletionRoutine(HubDeviceExtension->PendingSCEIrp,
|
||||||
(PIO_COMPLETION_ROUTINE) StatusChangeEndpointCompletion,
|
StatusChangeEndpointCompletion,
|
||||||
DeviceObject,
|
DeviceObject,
|
||||||
TRUE,
|
TRUE,
|
||||||
TRUE,
|
TRUE,
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
#define IO_METHOD_FROM_CTL_CODE(ctlCode) (ctlCode&0x00000003)
|
#define IO_METHOD_FROM_CTL_CODE(ctlCode) (ctlCode&0x00000003)
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
|
NTAPI
|
||||||
UrbCompletion(
|
UrbCompletion(
|
||||||
PDEVICE_OBJECT DeviceObject,
|
PDEVICE_OBJECT DeviceObject,
|
||||||
PIRP Irp,
|
PIRP Irp,
|
||||||
|
@ -108,7 +109,7 @@ FowardUrbToRootHub(
|
||||||
// Now set the completion routine for the new Irp.
|
// Now set the completion routine for the new Irp.
|
||||||
//
|
//
|
||||||
IoSetCompletionRoutine(ForwardIrp,
|
IoSetCompletionRoutine(ForwardIrp,
|
||||||
(PIO_COMPLETION_ROUTINE)UrbCompletion,
|
UrbCompletion,
|
||||||
Irp,
|
Irp,
|
||||||
TRUE,
|
TRUE,
|
||||||
TRUE,
|
TRUE,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue