Automation:
void
OpenVolume
(
[in]
String
VolumeName,
[in]
String
FriendlyName,
[in]
bool
ReadOnly)
;
Native (C++):
HRESULT
OpenVolume
(
[in]
BSTR
VolumeName,
[in]
BSTR
FriendlyName,
[in]
VARIANT_BOOL
ReadOnly)
;
Parameters
VolumeNameThe name of the volume to open. May be a string of form "\\.\c:" to open a drive letter, or a full volume mount point.FriendlyNameThe friendly name. Used only in the editor. You may pass an empty string in this parameter.ReadOnlySpecify True to open a volume as read-only, or False otherwise.Return Value
S_OK or standard OLE error code.