Partager via


FSD_MountDisk (Windows CE 5.0)

Send Feedback

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

BOOLFSD_MountDisk( HDSKhdsk);

Parameters

  • hdsk
    [in] Handle to the disk, though not a true Windows-based desktop platform handle.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

An 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 medium 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 an FSD.

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

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Fsdmgr.h.
Link Library: Fsdmgr.lib.

See Also

FSD_UnmountDisk | FSDMGR_ReadDisk | FSDMGR_WriteDisk | MyFSD_MountDisk

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.