TAILIEUCHUNG - USB Complete fourth- P26

USB Complete fourth- P26:This book focuses on Windows programming for PCs, but other computers and operating systems also have USB support, including Linux and Apple Computer’s Macintosh. Some real-time kernels also support USB. | Chapter 9 Figure 9-3. Device Manager also has an option to view devices grouped by type or function. various system IDs any filter drivers or coinstallers the device uses and power capabilities. For example the Device Instance ID contains the device s Vendor ID VID and Product ID PID . A driver can provide custom property pages when needed. Device Information in the Registry The system registry is a database that Windows maintains for storing critical information about the hardware and software installed on a system. The registry stores information about devices that have been installed including devices not currently attached. After enumerating a new device Windows stores information about the device in the registry. The registry obtains some of its information from the bus drivers which in turn obtain the information from the devices. Other information is from the INF file that the operating system selects when assigning a driver to a device. You can view the registry s contents using Windows regedit utility Start Run regedit . You can also use regedit to edit the registry s contents but making 226 Matching a Driver to a Device registry changes this way isn t recommended and is seldom necessary. The Windows SDK documents API functions that enable applications to read and write to the registry. Device installation adds or changes device information in the registry. A request to uninstall a device via the Device Manager or another application also results in registry changes. The system registry is so important that Windows maintains multiple backup copies in case the current copy becomes unusable. Windows System Restore utility can restore the registry to an earlier state. The registry s data has a tree structure. Each node on the tree is a registry key. Each key can have entries with assigned values and subkeys that in turn may have entries and subkeys. Information about the system s hardware and installed software is under the HKEY_LOCAL_MACHINE key. Information

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.