Detecting a Block Device

At boot time or when a block device is connected to a Windows CE–based platform, the Device Manager calls the driver’s detection function, which is listed among the driver’s registry keys. The detection function attempts to recognize the type of block device hardware present by querying the device. If the driver recognizes the device, the Device Manager loads the block device driver into memory. This detection and load process is standard procedure, not only for block device drivers, but also for all stream interface drivers. For more information, see Device Manager.