Windows下设备GUID常识

本文详细介绍了全局唯一标识符(GUID)的概念及其在微软系统中的应用。包括GUID的生成原理、数量级及确保唯一性的方法,并列举了多种设备类型的GUID,如硬盘控制器、键盘、鼠标等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

全局唯一标识符(GUID,Globally Unique Identifier)是一种由算法生成的二进制长度为128位的数字标识符。GUID主要用于在拥有多个节点、多台计算机的网络或系统中。在理想情况下,任何计算机和计算机集群都不会生成两个相同的GUID。GUID 的总数达到了2128(3.4×1038)个,所以随机生成两个相同GUID的可能性非常小,但并不为0。所以,用于生成GUID的算法通常都加入了非随机的参数(如时间),以保证这种重复的情况不会发生。
由于GUID的唯一性,所以被微软用固定的GUID来标识不同的设备类型。

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class :是设备安装类GUIDHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses:设备接口类GUID

以下转自:http://blog.sina.com.cn/s/blog_4b650d650100dabn.html

1394 Host Bus Controller
Class = 1394
ClassGuid = {6bdd1fc1-810f-11d0-bec7-08002be2092f}
This class includes system-supplied drivers of 1394 host controllers connected on a PCI bus, but not drivers of 1394 peripherals.

Battery Devices
Class = Battery
ClassGuid = {72631e54-78a4-11d0-bcf7-00aa00b7b32a}
This class includes drivers of battery devices and UPSes.

CD-ROM Drives
Class = CDROM
ClassGuid = {4d36e965-e325-11ce-bfc1-08002be10318}
This class includes drivers of CD-ROM drives, including SCSI CD-ROM drives. By default, the system’s CD-ROM class installer also installs a system-supplied CD audio driver and CD-ROM changer driver as PnP filters.

Disk Drives
Class = DiskDrive
ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}
This class includes drivers of hard disk drives. See also the HDC and SCSIAdapter classes.

Display Adapters
Class = Display
ClassGuid = {4d36e968-e325-11ce-bfc1-08002be10318}
This class includes drivers of video adapters, including display drivers and video miniports.

Floppy Disk Controllers
Class = FDC
ClassGuid = {4d36e969-e325-11ce-bfc1-08002be10318}
This class includes drivers of floppy disk drive controllers.

Floppy Disk Drives
Class= FloppyDisk
ClassGuid= {4d36e980-e325-11ce-bfc1-08002be10318}
This class includes drivers of floppy drives.

Hard Disk Controllers
Class = HDC
ClassGuid = {4d36e96a-e325-11ce-bfc1-08002be10318}
This class includes drivers of hard disk controllers, including ATA/ATAPI controllers but not SCSI and RAID disk controllers.

Human Input Devices (HID)
Class = HIDClass
ClassGuid = {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
This class includes devices that export interfaces of the HID class, including HID keyboard and mouse devices, which the installed HID device drivers enumerate as their respective “child” devices. (See also the Keyboard or Mouse classes later in this list.)

Imaging Device
Class = Image
ClassGuid = {6bdd1fc6-810f-11d0-bec7-08002be2092f}
This class includes drivers of still-image capture devices, digital cameras, and scanners.

IrDA Devices
Class = Infrared
ClassGuid = {6bdd1fc5-810f-11d0-bec7-08002be2092f}
This class includes Serial-IR and Fast-IR NDIS miniports, but see also the Network Adapter class for other NDIS NIC miniports.

Keyboard
Class = Keyboard
ClassGuid = {4d36e96b-e325-11ce-bfc1-08002be10318}
This class includes all keyboards. That is, it also must be specified in the (secondary) INF for an enumerated “child” HID keyboard device.

Medium Changers
Class= MediumChanger
ClassGuid= {ce5939ae-ebde-11d0-b181-0000f8753ec4}
This class includes drivers of SCSI media changer devices.

Memory Technology Driver
Class = MTD
ClassGUID = {4d36e970-e325-11ce-bfc1-08002be10318}
This class includes drivers for memory devices, such as flash memory cards.

Multimedia
Class = Media
ClassGuid = {4d36e96c-e325-11ce-bfc1-08002be10318}
This class includes Audio and DVD multimedia devices, joystick ports, and full-motion video-capture devices.

Modem
Class = Modem
ClassGuid = {4d36e96d-e325-11ce-bfc1-08002be10318}
This class installs modems. An INF for a device of this class installs no device driver(s), but rather specifies the features and configuration information of a particular modem and stores this information in the registry. See also the Multifunction class.

Monitor
Class = Monitor
ClassGuid = {4d36e96e-e325-11ce-bfc1-08002be10318}
This class includes display monitors. An INF for a device of this class installs no device driver(s), but rather specifies the features of a particular monitor to be stored in the registry for use by drivers of video adapters. (Monitors are enumerated as the child devices of display adapters.)

Mouse
Class = Mouse
ClassGuid = {4d36e96f-e325-11ce-bfc1-08002be10318}
This class includes all mice and other kinds of pointing devices, such as trackballs. That is, it also must be specified in the (secondary) INF for an enumerated “child” HID mouse device.

Multifunction Devices
Class = Multifunction
ClassGuid = {4d36e971-e325-11ce-bfc1-08002be10318}
This class includes combo cards, such as a PCMCIA modem and netcard adapter. The driver for such a PnP multifunction device is installed under this class and enumerates the modem and netcard separately as its “child” devices.

Multi-port Serial Adapters
Class = MultiportSerial
ClassGuid = {50906cb8-ba12-11d1-bf5d-0000f805f530}
This class includes intelligent multiport serial cards, but not peripheral devices that connect to its ports. It does not include unintelligent (16550-type) mutiport serial controllers or single-port serial controllers (see the Ports class).

Network Adapter
Class = Net
ClassGuid = {4d36e972-e325-11ce-bfc1-08002be10318}
This class includes NDIS NIC miniports excluding Fast-IR miniports, NDIS intermediate drivers (of “virtual adapters”), and CoNDIS MCM miniports.

Network Client
Class = NetClient
ClassGuid = {4d36e973-e325-11ce-bfc1-08002be10318}
This class includes network and/or print providers.

Network Service
Class = NetService
ClassGuid = {4d36e974-e325-11ce-bfc1-08002be10318}
This class includes network services, such as redirectors and servers.

Network Transport
Class = NetTrans
ClassGuid = {4d36e975-e325-11ce-bfc1-08002be10318}
This class includes NDIS protocols, CoNDIS stand-alone call managers, and CoNDIS clients, as well as higher level drivers in transport stacks.

PCMCIA Adapters
Class = PCMCIA
ClassGuid = {4d36e977-e325-11ce-bfc1-08002be10318}
This class includes system-supplied drivers of PCMCIA and CardBus host controllers, but not drivers of PCMCIA or CardBus peripherals.

Ports (COM & LPT serial ports)
Class = Ports
ClassGuid = {4d36e978-e325-11ce-bfc1-08002be10318}
This class includes drivers of serial or parallel port devices, but see also the MultiportSerial class.

Printer
Class = Printer
ClassGuid = {4d36e979-e325-11ce-bfc1-08002be10318}
This class includes printers. SCSI and RAID Controllers
Class = SCSIAdapter
ClassGuid = {4d36e97b-e325-11ce-bfc1-08002be10318}
This class includes SCSI HBA miniports and disk-array controller drivers.

Smart Card Readers
Class = SmartCardReader
ClassGuid = {50dd5230-ba8a-11d1-bf5d-0000f805f530}
This class includes drivers for smart card readers.

Storage Volumes
Class = Volume
ClassGuid = {71a27cdd-812a-11d0-bec7-08002be2092f}
This class includes storage volumes as defined by the system-supplied logical volume manager and class drivers that create device objects to represent storage volumes, such as the system disk class driver.

System Devices
Class = System
ClassGuid = {4d36e97d-e325-11ce-bfc1-08002be10318}
This class includes the Windows® 2000 HALs, system bus drivers, the system ACPI driver, and the system volume-manager driver. It also includes battery drivers and UPS drivers.

Tape Drives
Class = TapeDrive
ClassGuid = {6d807884-7d21-11cf-801c-08002be10318}
This class includes drivers of tape drives, including all tape miniclass drivers.

USB
Class = USB
ClassGuid = {36fc9e60-c465-11cf-8056-444553540000}
This class includes system-supplied (bus) drivers of USB host controllers and drivers of USB hubs, but not drivers of USB peripherals. The following classes and GUIDs should not be used to install devices (or drivers) on Windows 2000 platforms:

Adapter
Class = Adapter
ClassGUID = {4d36e964-e325-11ce-bfc1-08002be10318}
This class is obsolete.

APM
Class = APMSupport
ClassGUID = {d45b1c18-c8fa-11d1-9f77-0000f805f530}
This class is reserved for system use.

Computer
Class = Computer
ClassGUID = {4d36e966-e325-11ce-bfc1-08002be10318}
This class is reserved for system use.

Decoders
Class = Decoder
ClassGUID = {6bdd1fc2-810f-11d0-bec7-08002be2092f}
This class is reserved for future use.

Global Positioning System
Class = GPS
ClassGUID = {6bdd1fc3-810f-11d0-bec7-08002be2092f}
This class is reserved for future use.

No driver
Class = NoDriver
ClassGUID = {4d36e976-e325-11ce-bfc1-08002be10318}
This class is obsolete.

Non-Plug and Play Drivers
Class = LegacyDriver
ClassGUID = {8ecc055d-047f-11d1-a537-0000f8753ed1}
This class is reserved for system use.

Other Devices
Class = Unknown
ClassGUID = {4d36e97e-e325-11ce-bfc1-08002be10318}
This class is reserved for system use. Enumerated devices for which the system cannot determine the type are installed under this class. Do not use this class if you’re unsure in which class your device belongs; either determine the correct device setup class or create a new class.

Printer Upgrade
Class = Printer Upgrade
ClassGUID = {4d36e97a-e325-11ce-bfc1-08002be10318}
This class is reserved for system use.

Sound
Class = Sound
ClassGUID = {4d36e97c-e325-11ce-bfc1-08002be10318}
This class is obsolete. USB Mass Storage Device ClassGUID = a5dcbf10-6530-11d2- 901f-00c04fb951ed

常用设备接口类GUID

IdentifierClass GUIDHeader
GUID_DEVINTERFACE_USB_DEVICE{A5DCBF10-6530-11D2-901F-00C04FB951ED}Usbiodef.h
GUID_DEVINTERFACE_USB_HOST_CONTROLLER{3ABF6F2D-71C4-462A-8A92-1E6861E6AF27}Usbiodef.h
GUID_DEVINTERFACE_USB_HUB{F18A0E88-C30C-11D0-8815-00A0C906BED8}Usbiodef.h
GUID_DEVINTERFACE_NET{CAC88484-7515-4C03-82E6-71A87ABAC361}Ndisguid.h
GUID_DEVINTERFACE_MODEM{2C7089AA-2E0E-11D1-B114-00C04FC2AAE4}Ntddmodm.h
GUID_DEVINTERFACE_DISK{53F56307-B6BF-11D0-94F2-00A0C91EFB8B}Ndisguid.h
GUID_DEVINTERFACE_VOLUME{53F5630D-B6BF-11D0-94F2-00A0C91EFB8B}Ndisguid.h
GUID_DEVINTERFACE_MEDIUMCHANGER{53F56310-B6BF-11D0-94F2-00A0C91EFB8B}Ndisguid.h
GUID_DEVINTERFACE_CDROM{53F56308-B6BF-11D0-94F2-00A0C91EFB8B}Ndisguid.h
GUID_DEVINTERFACE_PARTITION{53F5630A-B6BF-11D0-94F2-00A0C91EFB8B}Ndisguid.h
GUID_DEVINTERFACE_HID{4D1E55B2-F16F-11CF-88CB-001111000030}Hidclass.h
GUID_DEVINTERFACE_KEYBOARD{884B96C3-56EF-11D1-BC8C-00A0C91405DD}Ntddkbd.h
GUID_DEVINTERFACE_MOUSE{378DE44C-56EF-11D1-BC8C-00A0C91405DD}Ntddmou.h
GUID_DEVINTERFACE_DISPLAY_ADAPTER{5B45201D-F2F2-4F3B-85BB-30FF1F953599}Ntddvdeo.h
GUID_DEVINTERFACE_IMAGE{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}Wiaintfc.h
GUID_DEVINTERFACE_MONITOR{E6F07B5F-EE97-4a90-B076-33F57BF4EAA7}Ntddvdeo.h
GUID_DEVINTERFACE_BRIGHTNESS{FDE5BBA4-B3F9-46FB-BDAA-0728CE3100B4}Dispmprt.h
GUID_DEVINTERFACE_I2C{2564AA4F-DDDB-4495-B497-6AD4A84163D7}Dispmprt.h
GUID_BTHPORT_DEVICE_INTERFACE{0850302A-B344-4fda-9BE9-90576B8D46F0}Bthdef.h
GUID_DEVINTERFACE_COMPORT{86E0D1E0-8089-11D0-9CE4-08003E301F73}Ntddser.h
GUID_DEVINTERFACE_PARCLASS{811FC6A5-F728-11D0-A537-0000F8753ED1}Ntddpar.h

工作笔记,以免遗忘。

### 网络单线复用 VLAN 配置方法 为了实现网络中的单线复用并确保 IPTV 服务稳定运行,可以通过合理配置 VLAN 来区分不同的业务流量。具体来说: 对于路由器或交换机设备而言,需创建多个虚拟局域网(VLAN),以便于隔离不同类型的通信数据流。针对 IPTV 流量,通常会分配一个独立的 VLAN ID 给其使用[^1]。 #### 创建 VLAN 接口 在路由器上执行如下命令以建立指定编号的 VLAN 接口: ```shell interface Vlan-interface <ID> ip address <IP地址> <子网掩码> ``` #### 设置端口模式 将连接至光猫或其他接入层设备的物理接口设为 Trunk 类型,并允许所有必要的 VLAN 数据帧通过此链路传输。 ```shell interface GigabitEthernet0/0/1 port link-type trunk port trunk permit vlan all ``` #### 添加默认路由 如果存在多条路径通往外部互联网,则应设定一条缺省静态路由指向 ISP 提供的下一跳 IP 地址。 ```shell ip route-static 0.0.0.0 0.0.0.0 <下一跳IP> ``` 以上操作能够有效支持基于单一物理线路承载多种业务需求的情况,同时也便于后续管理维护工作开展。 --- ### 解决 IPTV 卡顿问题的方法 当遇到 IPTV 视频播放过程中频繁出现缓冲现象时,可能是因为 IGMP Snooping 功能影响到了组播包的有效传递效率所致。对此情况可采取以下措施加以改善: 登录到管理界面关闭二层交换设备上的 IGMP Snooping 开关选项,从而减少不必要的过滤行为对实际观看体验造成的干扰[^2]。 另外还需注意检查是否存在其他潜在因素如带宽不足、硬件故障等问题同样可能导致此类症状发生,在排除上述可能性后再考虑调整软件层面的相关参数设置。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值