Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
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 |
---|---|
Called when an application closes an open handle for a file that is open on an installable file system. |
|
Closes a volume on a device that has an installable file system. |
|
Called by FSD Manager to create a new directory in an installable file system. |
|
Creates, opens, or truncates a file, pipe, communications resource, disk device, or console in an installable file system. |
|
Deletes a file after it copies its contents to a destination file in an installable file system. |
|
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_DeleteFileWimplementation of the function. |
|
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_DeviceIoControlimplementation of the function. |
|
|
|
Closes the specified search handle. The MyFSD_FindFirstFileWand the MyFSD_FindNextFileWfunctions 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_FindCloseimplementation of the function. |
|
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_FindFirstFileWimplementation of the function. |
|
Continues a file search from a previous call to the MyFSD_FindFirstFileWfunction. 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_FindNextFileWimplementation of the function. |
|
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_FlushFileBuffersimplementation of the function. |
|
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_FsIoControlimplementation of the function. |
|
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_GetDiskFreeSpaceWimplementation of the function. |
|
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_GetFileAttributesWversion of the function. |
|
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_GetFileInformationByHandleimplementation of the function. |
|
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_GetFileSizeimplementation of the function. |
|
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_GetFileTimeimplementation of the function. |
|
Locks a region of the specified file for exclusive access by the calling process. |
|
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. |
|
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_MoveFileWimplementation of the function. |
|
Event notification handler. This function is called by the application to notify an FSD on a per-volume basis. |
|
Reads data from a file, starting at the position indicated by the file pointer. |
|
Reads data from a file and stores it in an array of buffers. |
|
Reads data from a file, starting at the position indicated by the caller. |
|
Called by FSD Manager to register a file or directory change notification function with an FSD to ensure that the shell maintains an accurate view of the file system. |
|
Deletes an empty directory from an installable file system. |
|
Moves the end-of-file (EOF) position for the specified file in an installable file system to the current position of the file pointer. |
|
Sets the attributes of a file that resides in an installable file system. |
|
Moves the file position of an open file in an installable file system. |
|
Sets the date and time at which a file in an installable file system was created, last accessed, or last modified. |
|
Unlocks a region in an open file. Unlocking a region enables other processes to access the region. |
|
Unmounts the specified disk containing a file system of the type defined by an FSD. |
|
Writes data to a file in an installable file system at the position indicated by the file pointer. |
|
Gathers data from a set of buffers and writes it to a file. |
|
Writes data to a file in an installable file system, starting at the position indicated by the caller. |
|
Acquires the lock state of the specified file. |
|
Returns the lock state of the specified file before exiting the critical section of the file. |