Share via


FSD_MountDisk

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function is called by Device Manager to mount the specified disk containing a file system of the specified type.

Syntax

BOOL FSD_MountDisk( 
  HDSK hdsk
);

Parameters

  • hdsk
    [in] Handle to the disk.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

A file system driver (FSD) must be able to handle redundant calls to this function. It must determine from the medium itself, not the value of hdsk,whether the disk is already mounted. This is required because the user medium may have been removed or may have changed slots while the system was turned off. The value of hdsk has meaning only to FSDMGR functions, not to an FSD.

Use the FSDMGR_ReadDisk and the FSDMGR_WriteDisk functions for all I/O to the mounted disk.

Requirements

Header fsdmgr.h
Library Fsdmgr.lib
Windows Embedded CE Windows CE 2.10 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

FSD Functions
FSD_UnmountDisk
FSDMGR_ReadDisk
FSDMGR_WriteDisk
MyFSD_MountDisk