DeleteVirtualDiskMetadata function (virtdisk.h)

Deletes metadata from a virtual disk.

Syntax

DWORD DeleteVirtualDiskMetadata(
  [in] HANDLE     VirtualDiskHandle,
  [in] const GUID *Item
);

Parameters

[in] VirtualDiskHandle

A handle to the open virtual disk.

[in] Item

The item to be deleted.

Return value

Status of the request.

If the function succeeds, the return value is ERROR_SUCCESS.

If the function fails, the return value is an error code. For more information, see System Error Codes.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header virtdisk.h (include Windows.h)
Library VirtDisk.lib
DLL VirtDisk.dll

See also

VHD Functions