![reflector 2 as window reflector 2 as window](https://ae01.alicdn.com/kf/HTB1padIOFXXXXcIaXXXq6xXFXXXA/1-x-Mirror-Silver-20-Solar-Reflective-Window-Film-Privacy-Tint-50cm-x-2m-new-arrival.jpg)
Reflector 2 as window driver#
The ErrorControl entry specifies the level of error control that the driver provides. The StartType entry specifies when to start the driver. The ServiceType entry specifies 1 or 0x00000001, which indicates that the INF installs support for one or more devices. The AddService directive references an service-install-section similar to the following code example. In this case, the mshidumdf service is associated with the FDO for the device stack, and the reflector is a lower filter. HKR,"LowerFilters",0x00010008,"WUDFRd" FLG_ADDREG_TYPE_MULTI_SZ | FLG_ADDREG_APPEND ĪddService=WUDFRd,0x000001f8,WUDFRD_ServiceInstallĪddService=mshidumdf, 0x000001fa, mshidumdf.AddService The following code example, taken from the WUDFVhidmini sample, shows an AddService directive for a UMDF filter driver. For more information about these flags, see the flags parameter of the AddService directive. The AddService directive also sets the 0x000001f8 flags to prevent overwriting any preexisting configuration for the service.
![reflector 2 as window reflector 2 as window](https://ae01.alicdn.com/kf/HTB1vrFwQXXXXXXlXXXXq6xXFXXXW/Silver-Blue-Gold-Two-Way-UV-proof-Reflective-Mirror-Window-Film-Insulation-Film-Self-Adhesive-Sticky.jpg)
In this example, the driver specifies the 0x2 (SPSVCINST_ASSOCSERVICE) flag (ORed into the flags parameter above) to assign the reflector as the function driver in the kernel-mode device stack. ĪddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall The following code example shows how the INF file for a UMDF function driver might add the reflector. The reflector can be an upper filter, a lower filter, or the service for the device, depending on the configuration of the user-mode stack. To add the reflector (WUDFRd.sys) to the kernel-mode device stack, the INF file of a UMDF driver must include an AddService directive in an INF DDInstall.Services section.