Dismount method of the MSFT_DiskImage class

Dismounts the disk image.

Syntax


UInt32 Dismount();

Parameters

This method has no parameters.

Return value

This method returns OpenVirtualDisk and DetachVirtualDisk error codes converted to HRESULT codes.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Namespace

Root\Microsoft\Windows\Storage

MOF

Storagewmi.mof

See also

MSFT_DiskImage

 

 

Show: