MM_VOLUME_MOUNT_CHECK

Checks the mount state of the specified volume.

Parameters

Parameters to MM_ObjectControl for this operation are as follows:

objectID
The OBID of the file system application.
operation
Set to MM_VOLUME_MOUNT_CHECK.
parameter1
A pointer to a LONG where the file system will place a 1 if the volume is mounted or a 0 if it is not.
parameter2
Set to zero.
parameter3
Set to zero.
bufferLength
Length, in bytes, of the volume name, not including the null.
buffer
The null-terminated name of the volume to be checked.

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

0x00000008

MM_OBJECT_NOT_FOUND

The file system cannot identify the volume, by the given name, as one under the file system’s responsibility.