Skip to content

Commit

Permalink
Update UsbView
Browse files Browse the repository at this point in the history
  • Loading branch information
wm1 committed Jun 25, 2018
1 parent 27633ba commit 6c1981b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions usb/usbview/uvcview.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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
);

Expand Down Expand Up @@ -547,7 +548,7 @@ EXTERN_C PCHAR GetControllerFlavorString(
);

EXTERN_C ULONG GetEhciDebugPort(
ULONG vendorId,
ULONG vendorId,
ULONG deviceId
);

Expand Down Expand Up @@ -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
);

Expand Down

0 comments on commit 6c1981b

Please sign in to comment.