mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:43:08 +00:00
[USBPORT] Type-safe function signature (PVOID -> PUSBPORT_xxx).
This commit is contained in:
parent
a913501626
commit
73bfc3c897
5 changed files with 89 additions and 84 deletions
|
@ -1524,7 +1524,7 @@ USBPORT_RestoreDevice(IN PDEVICE_OBJECT FdoDevice,
|
|||
PUSBPORT_DEVICE_EXTENSION FdoExtension;
|
||||
PLIST_ENTRY iHandleList;
|
||||
PUSBPORT_ENDPOINT Endpoint;
|
||||
ULONG EndpointRequirements[2] = {0};
|
||||
USBPORT_ENDPOINT_REQUIREMENTS EndpointRequirements = {0};
|
||||
USB_DEFAULT_PIPE_SETUP_PACKET SetupPacket;
|
||||
NTSTATUS Status = STATUS_SUCCESS;
|
||||
USBD_STATUS USBDStatus;
|
||||
|
@ -1707,7 +1707,7 @@ USBPORT_RestoreDevice(IN PDEVICE_OBJECT FdoDevice,
|
|||
|
||||
Packet->QueryEndpointRequirements(FdoExtension->MiniPortExt,
|
||||
&Endpoint->EndpointProperties,
|
||||
EndpointRequirements);
|
||||
&EndpointRequirements);
|
||||
|
||||
KeReleaseSpinLock(&FdoExtension->MiniportSpinLock,
|
||||
OldIrql);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue