Skip to content

Commit

Permalink
Fixed #1408.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebattista committed Jan 23, 2023
1 parent 11a83e3 commit 927a197
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 1 deletion.
6 changes: 6 additions & 0 deletions generation/WinSDK/autoTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -1490,5 +1490,11 @@
"Name": "OLE_HANDLE",
"ValueType": "uint",
"InvalidHandleValues": [ 0 ]
},
{
"Name": "WINUSB_INTERFACE_HANDLE",
"ValueType": "DECLARE_HANDLE",
"CloseApi": "WinUsb_Free",
"InvalidHandleValues": [ 0 ]
}
]
63 changes: 63 additions & 0 deletions generation/WinSDK/enums.json
Original file line number Diff line number Diff line change
Expand Up @@ -35625,6 +35625,69 @@
"parameter": "dwFlags"
}
]
},
{
"name": "WINUSB_PIPE_POLICY",
"members": [
{
"name": "SHORT_PACKET_TERMINATE"
},
{
"name": "AUTO_CLEAR_STALL"
},
{
"name": "PIPE_TRANSFER_TIMEOUT"
},
{
"name": "IGNORE_SHORT_PACKETS"
},
{
"name": "ALLOW_PARTIAL_READS"
},
{
"name": "AUTO_FLUSH"
},
{
"name": "RAW_IO"
},
{
"name": "MAXIMUM_TRANSFER_SIZE"
},
{
"name": "RESET_PIPE_ON_RESUME"
}
],
"uses": [
{
"method": "WinUsb_GetPipePolicy",
"parameter": "PolicyType"
},
{
"method": "WinUsb_SetPipePolicy",
"parameter": "PolicyType"
}
]
},
{
"name": "WINUSB_POWER_POLICY",
"members": [
{
"name": "AUTO_SUSPEND"
},
{
"name": "SUSPEND_DELAY"
}
],
"uses": [
{
"method": "WinUsb_GetPowerPolicy",
"parameter": "PolicyType"
},
{
"method": "WinUsb_SetPowerPolicy",
"parameter": "PolicyType"
}
]
}
]
}
3 changes: 2 additions & 1 deletion generation/WinSDK/scraper.settings.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -12237,4 +12237,5 @@ tagRASCON_IPUI_FLAGS=RASCON_UIINFO_FLAGS
VARIANT_BOOL=VARIANT_BOOL
_IFaxAccountNotify=IFaxAccountNotify
_IFaxServerNotify2=IFaxServerNotify2
PLSA_HANDLE=LSA_HANDLE*
PLSA_HANDLE=LSA_HANDLE*
PWINUSB_INTERFACE_HANDLE=WINUSB_INTERFACE_HANDLE*
57 changes: 57 additions & 0 deletions scripts/ChangesSinceLastRelease.txt
Original file line number Diff line number Diff line change
Expand Up @@ -755,3 +755,60 @@ Windows.Win32.System.RemoteDesktop.Apis.WTSQuerySessionInformationA : hServer :
Windows.Win32.System.RemoteDesktop.Apis.WTSQuerySessionInformationW : hServer : [In] => [Optional]
# Fixed #1431.
Windows.Win32.Media.MediaFoundation.Apis.MF_VERSION added
# Fixed #1408.
Windows.Win32.Devices.Usb.Apis.ALLOW_PARTIAL_READS removed
Windows.Win32.Devices.Usb.Apis.AUTO_CLEAR_STALL removed
Windows.Win32.Devices.Usb.Apis.AUTO_FLUSH removed
Windows.Win32.Devices.Usb.Apis.AUTO_SUSPEND removed
Windows.Win32.Devices.Usb.Apis.IGNORE_SHORT_PACKETS removed
Windows.Win32.Devices.Usb.Apis.MAXIMUM_TRANSFER_SIZE removed
Windows.Win32.Devices.Usb.Apis.PIPE_TRANSFER_TIMEOUT removed
Windows.Win32.Devices.Usb.Apis.RAW_IO removed
Windows.Win32.Devices.Usb.Apis.RESET_PIPE_ON_RESUME removed
Windows.Win32.Devices.Usb.Apis.SHORT_PACKET_TERMINATE removed
Windows.Win32.Devices.Usb.Apis.SUSPEND_DELAY removed
Windows.Win32.Devices.Usb.Apis.WinUsb_AbortPipe : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_ControlTransfer : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_FlushPipe : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_Free : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_GetAssociatedInterface : AssociatedInterfaceHandle...Void** => WINUSB_INTERFACE_HANDLE*
Windows.Win32.Devices.Usb.Apis.WinUsb_GetAssociatedInterface : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_GetCurrentAlternateSetting : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_GetCurrentFrameNumber : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_GetCurrentFrameNumberAndQpc : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_GetDescriptor : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_GetOverlappedResult : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_GetPipePolicy : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_GetPipePolicy : PolicyType...UInt32 => WINUSB_PIPE_POLICY
Windows.Win32.Devices.Usb.Apis.WinUsb_GetPowerPolicy : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_GetPowerPolicy : PolicyType...UInt32 => WINUSB_POWER_POLICY
Windows.Win32.Devices.Usb.Apis.WinUsb_Initialize : InterfaceHandle...Void** => WINUSB_INTERFACE_HANDLE*
Windows.Win32.Devices.Usb.Apis.WinUsb_QueryDeviceInformation : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_QueryInterfaceSettings : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_QueryPipe : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_QueryPipeEx : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_ReadPipe : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_RegisterIsochBuffer : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_ResetPipe : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_SetCurrentAlternateSetting : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_SetPipePolicy : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_SetPipePolicy : PolicyType...UInt32 => WINUSB_PIPE_POLICY
Windows.Win32.Devices.Usb.Apis.WinUsb_SetPowerPolicy : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_SetPowerPolicy : PolicyType...UInt32 => WINUSB_POWER_POLICY
Windows.Win32.Devices.Usb.Apis.WinUsb_StartTrackingForTimeSync : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_StopTrackingForTimeSync : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.Apis.WinUsb_WritePipe : InterfaceHandle...Void* => WINUSB_INTERFACE_HANDLE
Windows.Win32.Devices.Usb.WINUSB_INTERFACE_HANDLE added
Windows.Win32.Devices.Usb.WINUSB_PIPE_POLICY added
Windows.Win32.Devices.Usb.WINUSB_PIPE_POLICY.ALLOW_PARTIAL_READS added
Windows.Win32.Devices.Usb.WINUSB_PIPE_POLICY.AUTO_CLEAR_STALL added
Windows.Win32.Devices.Usb.WINUSB_PIPE_POLICY.AUTO_FLUSH added
Windows.Win32.Devices.Usb.WINUSB_PIPE_POLICY.IGNORE_SHORT_PACKETS added
Windows.Win32.Devices.Usb.WINUSB_PIPE_POLICY.MAXIMUM_TRANSFER_SIZE added
Windows.Win32.Devices.Usb.WINUSB_PIPE_POLICY.PIPE_TRANSFER_TIMEOUT added
Windows.Win32.Devices.Usb.WINUSB_PIPE_POLICY.RAW_IO added
Windows.Win32.Devices.Usb.WINUSB_PIPE_POLICY.RESET_PIPE_ON_RESUME added
Windows.Win32.Devices.Usb.WINUSB_PIPE_POLICY.SHORT_PACKET_TERMINATE added
Windows.Win32.Devices.Usb.WINUSB_POWER_POLICY added
Windows.Win32.Devices.Usb.WINUSB_POWER_POLICY.AUTO_SUSPEND added
Windows.Win32.Devices.Usb.WINUSB_POWER_POLICY.SUSPEND_DELAY added

0 comments on commit 927a197

Please sign in to comment.