Storage Filter Driver's AddDevice Routine

The PnP manager calls the AddDevice routine of a storage filter driver when it detects a device controlled by that driver. The AddDevice routine of an storage filter driver (SFD) is similar to that of a storage class driver, except that it must not attempt to claim the device (SRB_FUNCTION_CLAIM_DEVICE).

For information about a storage class driver's AddDevice routine, see Storage Class Drivers. For general information about a PnP driver's AddDevice routine, see Plug and Play.