Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ca7ba705
Commit
ca7ba705
authored
Jul 28, 2013
by
André Hentschel
Committed by
Alexandre Julliard
Jul 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usbd.sys: Implement USBD_ParseConfigurationDescriptor using its Ex version.
parent
cf8d7fbb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
usbd.c
dlls/usbd.sys/usbd.c
+9
-0
usbd.sys.spec
dlls/usbd.sys/usbd.sys.spec
+1
-1
usbdlib.h
include/ddk/usbdlib.h
+1
-0
No files found.
dlls/usbd.sys/usbd.c
View file @
ca7ba705
...
...
@@ -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
,
...
...
dlls/usbd.sys/usbd.sys.spec
View file @
ca7ba705
...
...
@@ -21,7 +21,7 @@
@ stdcall USBD_GetUSBDIVersion(ptr)
@ stub USBD_InitializeDevice
@ stub USBD_MakePdoName
@ st
ub USBD_ParseConfigurationDescriptor
@ st
dcall 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
...
...
include/ddk/usbdlib.h
View file @
ca7ba705
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment