usbd.sys: Implement USBD_ParseConfigurationDescriptor using its Ex version.
This commit is contained in:
parent
cf8d7fbb6b
commit
ca7ba7053f
|
@ -198,6 +198,15 @@ PUSB_INTERFACE_DESCRIPTOR WINAPI USBD_ParseConfigurationDescriptorEx(
|
|||
return NULL;
|
||||
}
|
||||
|
||||
PUSB_INTERFACE_DESCRIPTOR WINAPI USBD_ParseConfigurationDescriptor(
|
||||
PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor, UCHAR InterfaceNumber,
|
||||
UCHAR AlternateSetting )
|
||||
{
|
||||
TRACE( "(%p, %u, %u)\n", ConfigurationDescriptor, InterfaceNumber, AlternateSetting );
|
||||
return USBD_ParseConfigurationDescriptorEx( ConfigurationDescriptor, ConfigurationDescriptor,
|
||||
InterfaceNumber, AlternateSetting, -1, -1, -1 );
|
||||
}
|
||||
|
||||
PUSB_COMMON_DESCRIPTOR WINAPI USBD_ParseDescriptors(
|
||||
PVOID DescriptorBuffer,
|
||||
ULONG TotalLength,
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
@ stdcall USBD_GetUSBDIVersion(ptr)
|
||||
@ stub USBD_InitializeDevice
|
||||
@ stub USBD_MakePdoName
|
||||
@ stub USBD_ParseConfigurationDescriptor
|
||||
@ stdcall USBD_ParseConfigurationDescriptor(ptr long long)
|
||||
@ stdcall _USBD_ParseConfigurationDescriptorEx@28(ptr ptr long long long long long) USBD_ParseConfigurationDescriptorEx
|
||||
@ stdcall _USBD_ParseDescriptors@16(ptr long ptr long) USBD_ParseDescriptors
|
||||
@ stub USBD_QueryBusTime
|
||||
|
|
|
@ -30,6 +30,7 @@ PURB WINAPI USBD_CreateConfigurationRequestEx(PUSB_CONFIGURATION_DESCRIPTOR,PUSB
|
|||
ULONG WINAPI USBD_GetInterfaceLength(PUSB_INTERFACE_DESCRIPTOR,PUCHAR);
|
||||
VOID WINAPI USBD_GetUSBDIVersion(PUSBD_VERSION_INFORMATION);
|
||||
PUSB_COMMON_DESCRIPTOR WINAPI USBD_ParseDescriptors(PVOID,ULONG,PVOID,LONG);
|
||||
PUSB_INTERFACE_DESCRIPTOR WINAPI USBD_ParseConfigurationDescriptor(PUSB_CONFIGURATION_DESCRIPTOR,UCHAR,UCHAR);
|
||||
PUSB_INTERFACE_DESCRIPTOR WINAPI USBD_ParseConfigurationDescriptorEx(PUSB_CONFIGURATION_DESCRIPTOR,PVOID,LONG,LONG,LONG,LONG,LONG);
|
||||
USBD_STATUS WINAPI USBD_ValidateConfigurationDescriptor(PUSB_CONFIGURATION_DESCRIPTOR,ULONG,USHORT,PUCHAR*,ULONG);
|
||||
|
||||
|
|
Loading…
Reference in New Issue