Skip to content

Latest commit

 

History

History
100 lines (83 loc) · 2.9 KB

nf-vds-ivdsremovable-eject.md

File metadata and controls

100 lines (83 loc) · 2.9 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:vds.IVdsRemovable.Eject
IVdsRemovable::Eject (vds.h)
Ejects the media from the current device.
Eject
Eject method [VDS]
Eject method [VDS]
IVdsRemovable interface
IVdsRemovable interface [VDS]
Eject method
IVdsRemovable.Eject
IVdsRemovable::Eject
base.ivdsremovable_eject
vds/IVdsRemovable::Eject
base\ivdsremovable_eject.htm
base
c77885bd-67af-41c1-9190-e0148c7b7ed5
12/05/2018
Eject, Eject method [VDS], Eject method [VDS],IVdsRemovable interface, IVdsRemovable interface [VDS],Eject method, IVdsRemovable.Eject, IVdsRemovable::Eject, base.ivdsremovable_eject, vds/IVdsRemovable::Eject
vds.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Uuid.lib
Windows
19H1
IVdsRemovable::Eject
vds/IVdsRemovable::Eject
c++
APIRef
kbSyntax
COM
Uuid.lib
Uuid.dll
IVdsRemovable.Eject

IVdsRemovable::Eject

-description

[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]

Ejects the media from the current device.

-returns

This method can return standard HRESULT values, such as E_OUTOFMEMORY, and VDS-specific return values. It can also return converted system error codes using the HRESULT_FROM_WIN32 macro. Errors can originate from VDS itself or from the underlying VDS provider that is being used. Possible return values include the following.

Return code/value Description
S_OK
The media was ejected successfully.
VDS_E_DEVICE_IN_USE
0x80042413L
The call to the device failed because the device was performing another operation.

-see-also

IVdsRemovable

IVdsRemovable::QueryMedia