Example 23: Monitor the fresh filter drivers to possess a set-up class

Example 23: Monitor the fresh filter drivers to possess a set-up class

The following demand measures up the new DevCon Come across and you will DevCon FindAll surgery because of the powering a great DevCon See command with similar variables due to the fact the last DevCon FindAll demand.

Predictably, the latest DevCon Pick demand, and this productivity only already installed equipment, cannot record the application-specified product because device is perhaps not hung.

Another order uses the fresh new DevCon ClassFilter operation showing the fresh higher filter out vehicle operators towards DiskDrive configurations group. Because this order comes with zero classfilter workers, DevCon screens brand new filter out motorists towards class, however, will not transform her or him.

As a result, DevCon screens the upper filter vehicle operators to your DiskDrive category and you may confirms that it did not changes him or her. In this instance, this new display shows that gadgets about DiskDrive options group fool around with the brand new PartMgr.sys top filter out driver.

Analogy twenty four: Include a filter rider to help you a setup group

The second order uses this new DevCon ClassFilter process to incorporate a great fictitious filter out, Disklog.sys, towards directory of top filter drivers on DiskDrive setup category.

That it order spends this new include-after (+) ClassFilter driver in order to load the newest Disklog rider following the PartMgr rider so it receives analysis you to definitely PartMgr.sys has processed.

In the event that demand begins, the fresh virtual cursor is positioned until the earliest filter out driver. Because it’s not placed on a particular rider, DevCon contributes new Disklog rider for the stop of filter out driver number.

The newest command along with uses the fresh new /r factor, and this reboots the device if it is had a need to make group filter out changes active.

For many who misspell the fresh new driver name, or attempt to incorporate a motorist this is not installed on the fresh system, the brand new command fails. DevCon cannot include a drivers unless of course the new rider is entered as a service, that’s, unless brand new driver keeps a good subkey regarding the Services registry subkey (HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services).

The next order screening which safeguard feature. It tries to incorporate “Disklgg” (in the place of “Disklog”) on the list of top strain into the DiskDrive class. The brand new returns suggests that the newest order fails.

Analogy twenty five: Type a filter rider throughout the group checklist

The following command uses the brand new DevCon ClassFilter operation to include a fictitious filter driver, MyFilter.sys, to the range of top filter out vehicle operators with the DiskDrive options group. The new demand locations MyFilter.sys ranging from PartMgr.sys and you can Disklog.sys in the weight acquisition.

The original subcommand, , spends the career driver () to get the brand new virtual cursor on the Disklog filter rider. The next subcommand, -MyFilter, spends the fresh incorporate-in advance of user (-) to include MyFilter.sys prior to Disklog.sys.

The brand new command along with spends the fresh /r factor, which reboots the computer if it’s needed to result in the group filter transform effective.

The position agent is essential in this example. In advance of DevCon procedure one classfilter subcommands, the fresh new digital cursor was at the beginning of record and you can is not put on any filter out vehicle operators. If you utilize brand new add-ahead of (+) driver if cursor is not to your placed on a driver, DevCon adds the newest rider into start of the checklist. If you are using the latest create-after (-) agent if cursor isn’t added to a motorist, they contributes new driver with the end of checklist.

You are able to use the adopting the command France asexual dating to provide new MyFilter rider and also to place it anywhere between PartMgr and you can Disklog. Within this example, the original subcommand, , ranking the new virtual cursor to your PartMgr filter out rider. The second subcommand, +MyFilter, uses this new incorporate-immediately after operator (+) to provide MyFilter.sys immediately following PartMgr.

Example twenty-six: Exchange a filtration rider

Another demand spends this new DevCon ClassFilter procedure to exchange new original content regarding MyFilter.sys with a new and you can increased type, MyNewFilter.sys, on directory of filter drivers on the DiskDrive options classification.

Leave a comment

Your email address will not be published. Required fields are marked *