mirror of
https://github.com/reactos/reactos.git
synced 2025-05-18 00:31:27 +00:00
- Fix usbdlib.h -- don't assume that the basic calling convention is stdcall.
svn path=/trunk/; revision=43412
This commit is contained in:
parent
d6c99976ac
commit
ed7f3daf87
1 changed files with 12 additions and 0 deletions
|
@ -125,6 +125,7 @@ typedef struct _USBD_INTERFACE_LIST_ENTRY
|
||||||
|
|
||||||
DECLSPEC_IMPORT
|
DECLSPEC_IMPORT
|
||||||
VOID
|
VOID
|
||||||
|
NTAPI
|
||||||
USBD_GetUSBDIVersion(
|
USBD_GetUSBDIVersion(
|
||||||
OUT PUSBD_VERSION_INFORMATION VersionInformation
|
OUT PUSBD_VERSION_INFORMATION VersionInformation
|
||||||
);
|
);
|
||||||
|
@ -132,6 +133,7 @@ USBD_GetUSBDIVersion(
|
||||||
|
|
||||||
DECLSPEC_IMPORT
|
DECLSPEC_IMPORT
|
||||||
PUSB_INTERFACE_DESCRIPTOR
|
PUSB_INTERFACE_DESCRIPTOR
|
||||||
|
NTAPI
|
||||||
USBD_ParseConfigurationDescriptor(
|
USBD_ParseConfigurationDescriptor(
|
||||||
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
|
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
|
||||||
IN UCHAR InterfaceNumber,
|
IN UCHAR InterfaceNumber,
|
||||||
|
@ -140,6 +142,7 @@ USBD_ParseConfigurationDescriptor(
|
||||||
|
|
||||||
DECLSPEC_IMPORT
|
DECLSPEC_IMPORT
|
||||||
PURB
|
PURB
|
||||||
|
NTAPI
|
||||||
USBD_CreateConfigurationRequest(
|
USBD_CreateConfigurationRequest(
|
||||||
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
|
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
|
||||||
OUT PUSHORT Siz
|
OUT PUSHORT Siz
|
||||||
|
@ -147,6 +150,7 @@ USBD_CreateConfigurationRequest(
|
||||||
|
|
||||||
DECLSPEC_IMPORT
|
DECLSPEC_IMPORT
|
||||||
PUSB_COMMON_DESCRIPTOR
|
PUSB_COMMON_DESCRIPTOR
|
||||||
|
NTAPI
|
||||||
USBD_ParseDescriptors(
|
USBD_ParseDescriptors(
|
||||||
IN PVOID DescriptorBuffer,
|
IN PVOID DescriptorBuffer,
|
||||||
IN ULONG TotalLength,
|
IN ULONG TotalLength,
|
||||||
|
@ -156,6 +160,7 @@ USBD_ParseDescriptors(
|
||||||
|
|
||||||
DECLSPEC_IMPORT
|
DECLSPEC_IMPORT
|
||||||
PUSB_INTERFACE_DESCRIPTOR
|
PUSB_INTERFACE_DESCRIPTOR
|
||||||
|
NTAPI
|
||||||
USBD_ParseConfigurationDescriptorEx(
|
USBD_ParseConfigurationDescriptorEx(
|
||||||
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
|
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
|
||||||
IN PVOID StartPosition,
|
IN PVOID StartPosition,
|
||||||
|
@ -168,6 +173,7 @@ USBD_ParseConfigurationDescriptorEx(
|
||||||
|
|
||||||
DECLSPEC_IMPORT
|
DECLSPEC_IMPORT
|
||||||
PURB
|
PURB
|
||||||
|
NTAPI
|
||||||
USBD_CreateConfigurationRequestEx(
|
USBD_CreateConfigurationRequestEx(
|
||||||
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
|
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
|
||||||
IN PUSBD_INTERFACE_LIST_ENTRY InterfaceList
|
IN PUSBD_INTERFACE_LIST_ENTRY InterfaceList
|
||||||
|
@ -176,6 +182,7 @@ USBD_CreateConfigurationRequestEx(
|
||||||
|
|
||||||
DECLSPEC_IMPORT
|
DECLSPEC_IMPORT
|
||||||
ULONG
|
ULONG
|
||||||
|
NTAPI
|
||||||
USBD_GetInterfaceLength(
|
USBD_GetInterfaceLength(
|
||||||
IN PUSB_INTERFACE_DESCRIPTOR InterfaceDescriptor,
|
IN PUSB_INTERFACE_DESCRIPTOR InterfaceDescriptor,
|
||||||
IN PUCHAR BufferEnd
|
IN PUCHAR BufferEnd
|
||||||
|
@ -183,6 +190,7 @@ USBD_GetInterfaceLength(
|
||||||
|
|
||||||
DECLSPEC_IMPORT
|
DECLSPEC_IMPORT
|
||||||
VOID
|
VOID
|
||||||
|
NTAPI
|
||||||
USBD_RegisterHcFilter(
|
USBD_RegisterHcFilter(
|
||||||
IN PDEVICE_OBJECT DeviceObject,
|
IN PDEVICE_OBJECT DeviceObject,
|
||||||
IN PDEVICE_OBJECT FilterDeviceObject
|
IN PDEVICE_OBJECT FilterDeviceObject
|
||||||
|
@ -192,6 +200,7 @@ USBD_RegisterHcFilter(
|
||||||
|
|
||||||
DECLSPEC_IMPORT
|
DECLSPEC_IMPORT
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
|
NTAPI
|
||||||
USBD_GetPdoRegistryParameter(
|
USBD_GetPdoRegistryParameter(
|
||||||
IN PDEVICE_OBJECT PhysicalDeviceObject,
|
IN PDEVICE_OBJECT PhysicalDeviceObject,
|
||||||
IN PVOID Parameter,
|
IN PVOID Parameter,
|
||||||
|
@ -202,6 +211,7 @@ USBD_GetPdoRegistryParameter(
|
||||||
|
|
||||||
DECLSPEC_IMPORT
|
DECLSPEC_IMPORT
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
|
NTAPI
|
||||||
USBD_QueryBusTime(
|
USBD_QueryBusTime(
|
||||||
IN PDEVICE_OBJECT RootHubPdo,
|
IN PDEVICE_OBJECT RootHubPdo,
|
||||||
OUT PULONG CurrentFrame
|
OUT PULONG CurrentFrame
|
||||||
|
@ -211,6 +221,7 @@ USBD_QueryBusTime(
|
||||||
|
|
||||||
DECLSPEC_IMPORT
|
DECLSPEC_IMPORT
|
||||||
ULONG
|
ULONG
|
||||||
|
NTAPI
|
||||||
USBD_CalculateUsbBandwidth(
|
USBD_CalculateUsbBandwidth(
|
||||||
IN ULONG MaxPacketSize,
|
IN ULONG MaxPacketSize,
|
||||||
IN UCHAR EndpointType,
|
IN UCHAR EndpointType,
|
||||||
|
@ -223,6 +234,7 @@ USBD_CalculateUsbBandwidth(
|
||||||
|
|
||||||
DECLSPEC_IMPORT
|
DECLSPEC_IMPORT
|
||||||
USBD_STATUS
|
USBD_STATUS
|
||||||
|
NTAPI
|
||||||
USBD_ValidateConfigurationDescriptor(
|
USBD_ValidateConfigurationDescriptor(
|
||||||
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigDesc,
|
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigDesc,
|
||||||
IN ULONG BufferLength,
|
IN ULONG BufferLength,
|
||||||
|
|
Loading…
Reference in a new issue