diff options
| author | Wei Mao <[email protected]> | 2018-06-25 11:50:48 -0700 |
|---|---|---|
| committer | Wei Mao <[email protected]> | 2018-06-25 11:50:48 -0700 |
| commit | 6c1981b8504329521343ad00f32daa847fa6083a (patch) | |
| tree | 278512734b38a96254603131724b9db7abe153a7 | |
| parent | 27633ba03b7904619d8622ab73797f3e143e5081 (diff) | |
Update UsbView
| -rw-r--r-- | usb/usbview/uvcview.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/usb/usbview/uvcview.h b/usb/usbview/uvcview.h index eeb28eca..6f742462 100644 --- a/usb/usbview/uvcview.h +++ b/usb/usbview/uvcview.h @@ -30,6 +30,7 @@ Revision History: #include <devioctl.h> #include <dbt.h> #include <stdio.h> +#include <stddef.h> #include <commctrl.h> #include <usbioctl.h> #include <usbiodef.h> @@ -393,7 +394,7 @@ DEFINE_GUID(NV12_Format,0x3231564EL,0x0000,0x0010,0x80,0x00,0x00,0xAA,0x00,0x38, DEFINE_GUID(H264_Format,0x34363248, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71); #endif -// The following flags/variables are all initialized in Display.c InitializePerDeviceSettings() +// The following flags/variables are all initialized in Display.c InitializePerDeviceSettings() // // Save the default frame from the MJPEG, Uncompressed, Vendor and Frame Based Format descriptor // Check for this when processing the individual Frame descriptors @@ -422,7 +423,7 @@ DWORD dwConfigIndex; int gDeviceSpeed; // Save the current Configuration starting and ending addresses -// Used in ValidateDescAddress() +// Used in ValidateDescAddress() // PUSB_CONFIGURATION_DESCRIPTOR g_pConfigDesc; PSTRING_DESCRIPTOR_NODE g_pStringDescs; @@ -462,13 +463,13 @@ EXTERN_C PCHAR GetLangIDString(USHORT idLang); EXTERN_C UINT GetConfigurationSize (PUSBDEVICEINFO info); EXTERN_C PUSB_COMMON_DESCRIPTOR GetNextDescriptor( - _In_reads_bytes_(TotalLength) + _In_reads_bytes_(TotalLength) PUSB_COMMON_DESCRIPTOR FirstDescriptor, _In_ ULONG TotalLength, - _In_ + _In_ PUSB_COMMON_DESCRIPTOR StartDescriptor, - _In_ long + _In_ long DescriptorType ); @@ -547,7 +548,7 @@ EXTERN_C PCHAR GetControllerFlavorString( ); EXTERN_C ULONG GetEhciDebugPort( - ULONG vendorId, + ULONG vendorId, ULONG deviceId ); @@ -636,7 +637,7 @@ MyCheckForLeaks ( PUSB_DEVICE_PNP_STRINGS DriverNameToDeviceProperties( - _In_reads_bytes_(cbDriverName) PCHAR DriverName, + _In_reads_bytes_(cbDriverName) PCHAR DriverName, _In_ size_t cbDriverName ); |
