Author: sginsberg
Date: Mon Oct 12 20:40:18 2009
New Revision: 43412
URL:
http://svn.reactos.org/svn/reactos?rev=43412&view=rev
Log:
- Fix usbdlib.h -- don't assume that the basic calling convention is stdcall.
Modified:
trunk/reactos/include/ddk/usbdlib.h
Modified: trunk/reactos/include/ddk/usbdlib.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/usbdlib.h?rev=…
==============================================================================
--- trunk/reactos/include/ddk/usbdlib.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/usbdlib.h [iso-8859-1] Mon Oct 12 20:40:18 2009
@@ -125,6 +125,7 @@
DECLSPEC_IMPORT
VOID
+NTAPI
USBD_GetUSBDIVersion(
OUT PUSBD_VERSION_INFORMATION VersionInformation
);
@@ -132,6 +133,7 @@
DECLSPEC_IMPORT
PUSB_INTERFACE_DESCRIPTOR
+NTAPI
USBD_ParseConfigurationDescriptor(
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
IN UCHAR InterfaceNumber,
@@ -140,6 +142,7 @@
DECLSPEC_IMPORT
PURB
+NTAPI
USBD_CreateConfigurationRequest(
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
OUT PUSHORT Siz
@@ -147,6 +150,7 @@
DECLSPEC_IMPORT
PUSB_COMMON_DESCRIPTOR
+NTAPI
USBD_ParseDescriptors(
IN PVOID DescriptorBuffer,
IN ULONG TotalLength,
@@ -156,6 +160,7 @@
DECLSPEC_IMPORT
PUSB_INTERFACE_DESCRIPTOR
+NTAPI
USBD_ParseConfigurationDescriptorEx(
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
IN PVOID StartPosition,
@@ -168,6 +173,7 @@
DECLSPEC_IMPORT
PURB
+NTAPI
USBD_CreateConfigurationRequestEx(
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
IN PUSBD_INTERFACE_LIST_ENTRY InterfaceList
@@ -176,6 +182,7 @@
DECLSPEC_IMPORT
ULONG
+NTAPI
USBD_GetInterfaceLength(
IN PUSB_INTERFACE_DESCRIPTOR InterfaceDescriptor,
IN PUCHAR BufferEnd
@@ -183,6 +190,7 @@
DECLSPEC_IMPORT
VOID
+NTAPI
USBD_RegisterHcFilter(
IN PDEVICE_OBJECT DeviceObject,
IN PDEVICE_OBJECT FilterDeviceObject
@@ -192,6 +200,7 @@
DECLSPEC_IMPORT
NTSTATUS
+NTAPI
USBD_GetPdoRegistryParameter(
IN PDEVICE_OBJECT PhysicalDeviceObject,
IN PVOID Parameter,
@@ -202,6 +211,7 @@
DECLSPEC_IMPORT
NTSTATUS
+NTAPI
USBD_QueryBusTime(
IN PDEVICE_OBJECT RootHubPdo,
OUT PULONG CurrentFrame
@@ -211,6 +221,7 @@
DECLSPEC_IMPORT
ULONG
+NTAPI
USBD_CalculateUsbBandwidth(
IN ULONG MaxPacketSize,
IN UCHAR EndpointType,
@@ -223,6 +234,7 @@
DECLSPEC_IMPORT
USBD_STATUS
+NTAPI
USBD_ValidateConfigurationDescriptor(
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigDesc,
IN ULONG BufferLength,