取消对usb设备的判断,

This commit is contained in:
13038267101 2023-01-10 10:30:22 +08:00
parent 866d51f8f5
commit 277219b1be
1 changed files with 1 additions and 1 deletions

View File

@ -906,7 +906,7 @@ bool __stdcall usb_monitor::find_parent_hub(LPUSBDEV hub, void* param/*LPUSBDEV*
} }
bool usb_monitor::is_desired_usb_device(int vid, int pid) bool usb_monitor::is_desired_usb_device(int vid, int pid)
{ {
return vid == PRODUCT_VID || vid == PRODUCT_VENDOR_HG1; return true; // vid == PRODUCT_VID || vid == PRODUCT_VENDOR_HG1;
} }
LRESULT CALLBACK usb_monitor::monitor_wnd_proc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) LRESULT CALLBACK usb_monitor::monitor_wnd_proc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp)