Share via


File System in CE Boot (Compact 2013)

3/26/2014

The File System driver encapsulates functionality to read and write from a file. Its driver class is BOOT_DRIVER_CLASS_FILESYSTEM.

Its interface is defined in:

%_WINCEROOT%\Platform\Common\Src\Common\Bldr\Inc\Bootfilesystem.hpp

The IOCTL codes to which a file system driver can respond are listed in the following table.

File System Driver IOCTLs

IOCTL

Description

BOOT_FILESYSTEM_IOCTL_OPEN

Opens a file.

BOOT_FILESYSTEM_IOCTL_DELETE

Deletes a file.

BOOT_FILESYSTEM_IOCTL_FREE_SPACE

Determines how much free space is on the disk.

BOOT_FILESYSTEM_IOCTL_READ

Reads a file.

BOOT_FILESYSTEM_IOCTL_WRITE

Writes to a file.

BOOT_FILESYSTEM_IOCTL_SEEK

Seeks within a file.

BOOT_FILESYSTEM_IOCTL_GET_SIZE

Gets the size of a file.

BOOT_FILESYSTEM_IOCTL_FLUSH

Flushes the buffer.

BOOT_FILESYSTEM_IOCTL_GET_POSITION

Gets the position, within the file, at which the file is being accessed.

See Also

Concepts

Boot Driver Examples