diff options
author | Martin Ling <martin-git@earth.li> | 2022-10-11 15:49:22 +0100 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2023-01-20 11:05:01 +0100 |
commit | aac2e12e5f439d401029499b7cdd77c40ee8ed45 (patch) | |
tree | d13790f371e0dbb4ecd0bac6d14d13703d789ee0 /libusb/os/windows_winusb.h | |
parent | 3c33e499a051562a4bafaeb38a79089351c94381 (diff) | |
download | libusb-aac2e12e5f439d401029499b7cdd77c40ee8ed45.tar.gz |
windows: Add GetPipePolicy to struct winusb_interface
Diffstat (limited to 'libusb/os/windows_winusb.h')
-rw-r--r-- | libusb/os/windows_winusb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libusb/os/windows_winusb.h b/libusb/os/windows_winusb.h index 8c14cea..437a33f 100644 --- a/libusb/os/windows_winusb.h +++ b/libusb/os/windows_winusb.h @@ -531,6 +531,13 @@ typedef BOOL (WINAPI *WinUsb_SetPipePolicy_t)( ULONG ValueLength, PVOID Value ); +typedef BOOL (WINAPI *WinUsb_GetPipePolicy_t)( + WINUSB_INTERFACE_HANDLE InterfaceHandle, + UCHAR PipeID, + ULONG PolicyType, + PULONG ValueLength, + PVOID Value +); typedef BOOL (WINAPI *WinUsb_UnregisterIsochBuffer_t)( WINUSB_ISOCH_BUFFER_HANDLE BufferHandle ); @@ -662,6 +669,7 @@ struct winusb_interface { WinUsb_ResetPipe_t ResetPipe; WinUsb_SetCurrentAlternateSetting_t SetCurrentAlternateSetting; WinUsb_SetPipePolicy_t SetPipePolicy; + WinUsb_GetPipePolicy_t GetPipePolicy; WinUsb_WritePipe_t WritePipe; union { struct { |