![]() ![]() ![]() Your driver's INF file can contain INF AddReg directives that set registry values under the hardware key using INF DDInstall.HW sections. Your driver can call WdfFdoInitOpenRegistryKey and WdfDeviceOpenRegistryKey to open a device's hardware key. Settings related to the hardware (such as interrupt settings) can be stored here by drivers. When a driver stack informs the Plug and Play (PnP) manager that a device is connected to the system, the PnP manager creates a hardware key for the device. Your driver's INF file can contain INF AddReg directives that set registry values under the software key using INF DDInstall sections. Your driver can call WdfFdoInitOpenRegistryKey and WdfDeviceOpenRegistryKey to open a device's software key. ![]() The system stores information about each driver under its software key. Subsequently, the driver can obtain the path by calling WdfDriverGetRegistryPath.Ī driver's software key is also called its driver key. Your driver must pass this path to WdfDriverCreate. When the system calls your driver's DriverEntry routine, it passes the driver a path to the driver's key in the appropriate Services tree. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |