次の方法で共有


Block Drivers (Compact 2013)

3/26/2014

Block device drivers read or write data to block devices in fixed-size blocks. Block devices do not allow you to read or write individual bytes of data. Common block sizes are 512 bytes, 1 kilobyte (KB), 2 KB, and 4 KB. Block devices are ideally suited for mass storage and persistent storage applications, such as disk drives or nonvolatile RAM disks.

Some common types of block devices are hard disks, Advanced Technology Attachment (ATA) flash memory disks in miniature cards, and memory card form factors.

To add this feature to your OS, see Block Driver Catalog Items and Sysgen Variables.

For reference information, see Block Driver Reference.

Sample application code is available at the following locations.

Driver

Source file location

Binary

ATAPI PCI/IDE storage block driver

Public\Common\OAK\Drivers\Block\ATAPI\Common

Atapi.dll

USB host mass storage client driver

Public\Common\OAK\Drivers\USB\Class\Storage\Class

Public\Common\OAK\Drivers\USB\Class\Storage\Disk\SCSI2

Usbmsc.dll

Usbdisk6.dll

USB function mass storage driver

Public\Common\OAK\Drivers\USBFN\Class\Storage\Transport\BOT

Usbmsfn.dll

Secure Digital (SD) Memory Card driver

Not applicable.

Sdmemory.dll

The recommended location for your driver implementation is in %_WINCEROOT%\\Platform\<BSP Name>\Src\Drivers\Block.

The Windows Embedded Compact Test Kit (CTK) tests that apply to this type of driver are:

See Also

Other Resources

Device Drivers
Power Management