EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

SetVirtualDiskMetadata function

Sets a metadata item for a virtual disk.

Syntax


DWORD WINAPI SetVirtualDiskMetadata(
  _In_  HANDLE VirtualDiskHandle,
  _In_  LPGUID Item,
  _In_  ULONG MetaDataSize,
  _In_  PVOID MetaData
);

Parameters

VirtualDiskHandle [in]

Handle to an open virtual disk.

Item [in]

Address of a GUID identifying the metadata to retrieve.

MetaDataSize [in]

Address of a ULONG containing the size, in bytes, of the buffer pointed to by the MetaData parameter.

MetaData [in]

Address of the buffer containing the metadata to be stored.

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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

VirtDisk.h (include Windows.h)

Library

VirtDisk.lib

DLL

VirtDisk.dll

See also

VHD Functions

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

コミュニティの追加

追加
表示:
© 2014 Microsoft