IVMVirtualServer::GetFloppyDiskImageType method
The GetFloppyDiskImageType method returns the type of an existing floppy disk image file.
Syntax
HRESULT GetFloppyDiskImageType(
[in] BSTR imagePath,
[out] VMFloppyDiskImageType *imageType
);
Parameters
-
imagePath [in]
-
The full path to the disk image file.
-
imageType [out]
-
Retrieves the type of the image. See VMFloppyDiskImageType.
Return value
This method supports standard return values, as well as the following. For information on Virtual Server specific return values not listed below, see HRESULT Codes Specific to the Virtual Server.
Return code | Description |
---|---|
|
The operation was successful. |
|
The imagePath or imageType parameter is NULL. |
|
The system cannot find the file specified by the imagePath parameter. |
|
The system cannot find the path specified by the imagePath parameter. |
|
The imagePath parameter contains an invalid character (one of "*?:<>/|""). |
|
The imagePath parameter specifies an empty or relative path. An absolute path is required. |
|
The path specified by the imagePath parameter is too long. The length of the path must be less than 260 characters. |
|
The file specified by imagePath is not a floppy image, or an unexpected error occurred. |
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|