From 6c1981b8504329521343ad00f32daa847fa6083a Mon Sep 17 00:00:00 2001 From: Wei Mao Date: Mon, 25 Jun 2018 11:50:48 -0700 Subject: Update UsbView --- usb/usbview/uvcview.h | 15 ++++++++------- 1 file 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 #include #include +#include #include #include #include @@ -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 ); -- cgit v1.3.1