Compartilhar via


IVMVirtualServer::GetFloppyDiskFiles method

The GetFloppyDiskFiles method returns an array of known virtual floppy disk files.

Syntax

HRESULT GetFloppyDiskFiles(
  [in]  VARIANT inAdditionalSearchPaths,
  [out] VARIANT *outFloppyDiskFileList
);

Parameters

inAdditionalSearchPaths [in]

These paths will be searched along with the paths set in the IVMVirtualServer::SearchPaths property.

outFloppyDiskFileList [out]

An array of virtual floppy disk files found in the specified search paths.

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
S_OK
The operation was successful.
E_POINTER
The outFloppyDiskFileList parameter is NULL.
E_INVALIDARG
The inAdditionalSearchPaths parameter is not an array of strings.
DISP_E_EXCEPTION
An unexpected error has occurred.

Remarks

The search paths used to retrieve the array of files will include those set previously by IVMVirtualServer::SearchPaths in addition to those specified by the inAdditionalSearchPaths parameter and the installer location for the Virtual Machine Additions module.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h

See also

IVMVirtualServer