文件名称:Unit5
介绍说明--下载内容均来自于网络,请自行研究使用
// Get device interface info set handle for all devices attached to system
HDEVINFO hDevInfo = SetupDiGetClassDevs(
&GUID_DEVINTERFACE_USB_DEVICE, /* CONST GUID * ClassGuid - USB class GUID */
NULL, /* PCTSTR Enumerator */
NULL, /* HWND hwndParent */
DIGCF_PRESENT | DIGCF_DEVICEINTERFACE /* DWORD Flags */
) - // Get device interface info set handle for all devices attached to system
HDEVINFO hDevInfo = SetupDiGetClassDevs(
&GUID_DEVINTERFACE_USB_DEVICE, /* CONST GUID* ClassGuid- USB class GUID*/
NULL, /* PCTSTR Enumerator*/
NULL, /* HWND hwndParent*/
DIGCF_PRESENT | DIGCF_DEVICEINTERFACE /* DWORD Flags*/
)
HDEVINFO hDevInfo = SetupDiGetClassDevs(
&GUID_DEVINTERFACE_USB_DEVICE, /* CONST GUID * ClassGuid - USB class GUID */
NULL, /* PCTSTR Enumerator */
NULL, /* HWND hwndParent */
DIGCF_PRESENT | DIGCF_DEVICEINTERFACE /* DWORD Flags */
) - // Get device interface info set handle for all devices attached to system
HDEVINFO hDevInfo = SetupDiGetClassDevs(
&GUID_DEVINTERFACE_USB_DEVICE, /* CONST GUID* ClassGuid- USB class GUID*/
NULL, /* PCTSTR Enumerator*/
NULL, /* HWND hwndParent*/
DIGCF_PRESENT | DIGCF_DEVICEINTERFACE /* DWORD Flags*/
)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Unit5.cpp