mirror of
https://github.com/reactos/reactos.git
synced 2025-06-24 17:29:54 +00:00
[DDK] Add definitions required for newer storage class drivers (cdrom)
CORE-17129
This commit is contained in:
parent
f7c58468f1
commit
d7d716a64c
3 changed files with 19 additions and 2 deletions
|
@ -89,11 +89,24 @@ typedef struct _USBD_INTERFACE_LIST_ENTRY {
|
|||
(urb)->UrbOSFeatureDescriptorRequest.TransferBuffer = (transferBuffer); \
|
||||
(urb)->UrbOSFeatureDescriptorRequest.InterfaceNumber = (interface); \
|
||||
(urb)->UrbOSFeatureDescriptorRequest.MS_FeatureDescriptorIndex = (index); \
|
||||
urb)->UrbOSFeatureDescriptorRequest.UrbLink = (link); \
|
||||
(urb)->UrbOSFeatureDescriptorRequest.UrbLink = (link); \
|
||||
}
|
||||
|
||||
#endif /* NTDDI_VERSION >= NTDDI_WINXP */
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
||||
|
||||
#define USBD_CLIENT_CONTRACT_VERSION_INVALID 0xFFFFFFFF
|
||||
#define USBD_CLIENT_CONTRACT_VERSION_602 0x602
|
||||
|
||||
#define USBD_INTERFACE_VERSION_600 0x600
|
||||
#define USBD_INTERFACE_VERSION_602 0x602
|
||||
#define USBD_INTERFACE_VERSION_603 0x603
|
||||
|
||||
DECLARE_HANDLE(USBD_HANDLE);
|
||||
|
||||
#endif // NTDDI_VISTA
|
||||
|
||||
#define URB_STATUS(urb) ((urb)->UrbHeader.Status)
|
||||
|
||||
#define GET_SELECT_CONFIGURATION_REQUEST_SIZE(totalInterfaces, totalPipes) \
|
||||
|
@ -230,4 +243,3 @@ USBD_ValidateConfigurationDescriptor(
|
|||
#endif
|
||||
|
||||
#endif /* ! _USBD_ */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue