Compartilhar via


FSD_MountDisk (Compact 2013)

3/26/2014

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

See Also

Reference

FSD Functions
FSD_UnmountDisk
FSDMGR_ReadDisk
FSDMGR_WriteDisk
MyFSD_MountDisk