Share via


MyFSD Functions (Windows Embedded CE 6.0)

1/6/2010

The following table shows the file system I/O functions implemented by file system drivers (FSDs) with a description of the purpose of each.

Function Description

MyFSD_CloseFile

Called when an application closes an open handle for a file that is open on an installable file system.

MyFSD_CloseVolume

Closes a volume on a device that has an installable file system.

MyFSD_CreateDirectoryW

Called by FSD Manager to create a new directory in an installable file system.

MyFSD_CreateFileW

Creates, opens, or truncates a file, pipe, communications resource, disk device, or console in an installable file system.

MyFSD_DeleteAndRenameFileW

Deletes a file after it copies its contents to a destination file in an installable file system.

MyFSD_DeleteFileW

Deletes a file from an installable file system. The application does not call this function directly. Instead, use the corresponding standard Windows-based desktop platform function DeleteFile. FSD Manager determines the file system type and calls the MyFSD_DeleteFileW implementation of the function.

MyFSD_DeviceIoControl

Sends an I/O control directly to a specified device driver, causing the corresponding device to perform the specified operation. The application does not call this function directly. Instead, use the corresponding standard Windows-based desktop platform function DeviceIoControl. FSD Manager determines the file system type and calls the MyFSD_DeviceIoControl implementation of the function.

MyFSD_FindClose

Closes the specified search handle. The MyFSD_FindFirstFileW and the MyFSD_FindNextFileW functions use the search handle to locate files with names that match a specified name. The application does not call this function directly. Instead, use the corresponding standard Windows-based desktop platform function FindClose. FSD Manager determines the file system type and calls the MyFSD_FindClose implementation of the function.

MyFSD_FindFirstFileW

Searches a directory a specified file. This function also examines subdirectory names. The application does not call this function directly. Instead, use the corresponding standard Windows-based desktop function FindFirstFile. FSD Manager determines the file system type and calls the MyFSD_FindFirstFileW implementation of the function.

MyFSD_FindNextFileW

Continues a file search from a previous call to the MyFSD_FindFirstFileW function. The application does not call this function directly. Instead, use the corresponding standard Windows-based desktop function FindNextFile. FSD Manager determines the file system type and calls the MyFSD_FindNextFileW implementation of the function.

MyFSD_FlushFileBuffers

Clears the buffers for the specified file in an installable file system and causes all buffered data to be written to the file. The application does not call this function directly. Instead, use the corresponding standard Windows-based desktop function FlushFileBuffers. FSD Manager determines the file system type and calls the MyFSD_FlushFileBuffers implementation of the function.

MyFSD_FsIoControl

Can be exported by an FSD and processes I/O controls for a file system volume. The application does not call this function directly. Instead, use the corresponding standard function CeFsIoControl. FSD Manager determines the file system type and calls the MyFSD_FsIoControl implementation of the function.

MyFSD_GetDiskFreeSpaceW

Obtains information about the amount of space available on a disk volume in an installable file system. The application does not call this function directly. Instead, use the corresponding standard Windows-based desktop function GetDiskFreeSpaceEx. FSD Manager determines the file system type and calls the MyFSD_GetDiskFreeSpaceW implementation of the function.

MyFSD_GetFileAttributesW

Obtains attributes for a specified file or directory in an installable file system. The application does not call this function directly. Instead, use the corresponding standard Windows-based desktop function GetFileAttributes. FSD Manager determines the file system type and calls the MyFSD_GetFileAttributesW version of the function.

MyFSD_GetFileInformationByHandle

Obtains information about the specified file in an installable file system. The application does not call this function directly. Instead, use the corresponding standard Windows-based desktop function GetFileInformationByHandle. FSD Manager determines the file system type and calls the MyFSD_GetFileInformationByHandle implementation of the function.

MyFSD_GetFileSize

Obtains the size, in bytes, of the specified file in an installable file system. The application does not call this function directly. Instead, use the corresponding standard Windows-based desktop function GetFileSize. FSD Manager determines the file system type and calls the MyFSD_GetFileSize implementation of the function.

MyFSD_GetFileTime

Otains the date and time at which a file in an installable file system was created, last accessed, and last modified. The application does not call this function directly. Instead, use the corresponding standard Windows-based desktop function GetFileTime. FSD Manager determines the file system type and calls the MyFSD_GetFileTime implementation of the function.

MyFSD_LockFileEx

Locks a region of the specified file for exclusive access by the calling process.

MyFSD_MountDisk

Mounts the specified disk containing a file system of the type defined by an FSD. This function is exported by an implementation of an FSD and is called indirectly by FSD Manager.

MyFSD_MoveFileW

Renames a file or directory, including all its children, that resides in an installable file system. The application does not call this function directly. Instead, use the corresponding standard Windows-based desktop function MoveFile. FSD Manager determines the file system type and calls the MyFSD_MoveFileW implementation of the function.

MyFSD_Notify

Event notification handler. This function is called by the application to notify an FSD on a per-volume basis.

MyFSD_ReadFile

Reads data from a file, starting at the position indicated by the file pointer.

MyFSD_ReadFileScatter

Reads data from a file and stores it in an array of buffers.

MyFSD_ReadFileWithSeek

Reads data from a file, starting at the position indicated by the caller.

MyFSD_RemoveDirectoryW

Deletes an empty directory from an installable file system.

MyFSD_SetEndOfFile

Moves the end-of-file (EOF) position for the specified file in an installable file system to the current position of the file pointer.

MyFSD_SetFileAttributesW

Sets the attributes of a file that resides in an installable file system.

MyFSD_SetFilePointer

Moves the file position of an open file in an installable file system.

MyFSD_SetFileTime

Sets the date and time at which a file in an installable file system was created, last accessed, or last modified.

MyFSD_UnLockFileEx

Unlocks a region in an open file. Unlocking a region enables other processes to access the region.

MyFSD_UnmountDisk

Unmounts the specified disk containing a file system of the type defined by an FSD.

MyFSD_WriteFile

Writes data to a file in an installable file system at the position indicated by the file pointer.

MyFSD_WriteFileGather

Gathers data from a set of buffers and writes it to a file.

MyFSD_WriteFileWithSeek

Writes data to a file in an installable file system, starting at the position indicated by the caller.

PACQUIREFILELOCKSTATE

Acquires the lock state of the specified file.

PRELEASEFILELOCKSTATE

Returns the lock state of the specified file before exiting the critical section of the file.

See Also

Reference

FSD Reference