This function is called by the file system driver (FSD) to mount the specified disk containing a file system of the type defined.
At a Glance
Header file: | Fsdmgr.h |
Windows CE versions: | 2.10 and later |
Syntax
BOOL FSD_MountDisk( HDSK hdsk );
Parameters
hdsk
[in] Handle to the disk, though not a true Win32 handle.
Return Values
TRUE indicates success. FALSE indicates failure.
Remarks
The FSD must be able to cope with FSD_MountDisk being called redundantly. It must determine from the media itself, not the value of hdsk, whether the disk is already mounted. This is required because the user media may have been removed or may have changed slots while the system was powered off. The value of hdsk has meaning only to FSDMGR functions, not to the FSD.
Use the FSDMGR_ReadDisk and FSDMGR_WriteDisk functions for all input/output to the mounted disk.
See Also