IVMHostInfo::IsHostDriveMounted method
The IsHostDriveMounted method indicates whether the specified host drive is mounted.
Syntax
HRESULT IsHostDriveMounted(
[in] BSTR hostDriveIdentifier,
[out] VARIANT_BOOL *hostDriveMounted
);
Parameters
-
hostDriveIdentifier [in]
-
The desired host drive to check. The HostDrives property is used to retrieve a list of valid drive identifier strings.
-
hostDriveMounted [out]
-
VARIANT_TRUE if the host drive specified by hostDriveIdentifier is mounted, VARIANT_FALSE if otherwise.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
The operation was successful. |
|
The hostDriveIdentifier or hostDriveMounted parameter is NULL. |
|
The hostDriveIdentifier parameter is empty or does not reference a usable drive. |
|
An unexpected error has occurred. |
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|