Partager via


FSD_UnmountDisk (Compact 2013)

3/26/2014

This function is called by Device Manager to unmount the specified disk containing a file system of the type defined by a file system driver (FSD).

Syntax

BOOL FSD_UnmountDisk( 
  HDSK hdsk
);

Parameters

  • hdsk
    [in] Handle to the disk.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

A requirement of returning TRUE is that all volumes on the disk previously registered with the FSDMGR_RegisterVolume function must first be deregistered with the FSDMGR_DeregisterVolume function.

Requirements

Header

fsdmgr.h

Library

Fsdmgr.lib

See Also

Reference

FSD Functions
FSD_MountDisk
FSDMGR_DeregisterVolume
FSDMGR_RegisterVolume
MyFSD_UnmountDisk