B
Benjamin Joseph
Guest
C++
DWORD WINAPI SetVirtualDiskMetadata(
_In_ HANDLE VirtualDiskHandle,
_In_ LPGUID Item,
_In_ ULONG MetaDataSize,
_In_ PVOID MetaData
);
https://msdn.microsoft.com/en-us/library/windows/desktop/hh832162%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
I converted the above to c#
public static extern int SetVirtualDiskMetadata(IntPtr VirtualDiskHandle, IntPtr Item,uint MetaDataSize,IntPtr MetaData);
I am not sure if I converted correctly due to my bad understand on c++
I need to know how i can set virtual disk metadata using windows VirtDisk.dll
I want to know how will I pass parameters with an example to set metadata on a vhdx.
Thanks and Regards,
Benjamin Joseph
Continue reading...
DWORD WINAPI SetVirtualDiskMetadata(
_In_ HANDLE VirtualDiskHandle,
_In_ LPGUID Item,
_In_ ULONG MetaDataSize,
_In_ PVOID MetaData
);
https://msdn.microsoft.com/en-us/library/windows/desktop/hh832162%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
I converted the above to c#
public static extern int SetVirtualDiskMetadata(IntPtr VirtualDiskHandle, IntPtr Item,uint MetaDataSize,IntPtr MetaData);
I am not sure if I converted correctly due to my bad understand on c++
I need to know how i can set virtual disk metadata using windows VirtDisk.dll
I want to know how will I pass parameters with an example to set metadata on a vhdx.
Thanks and Regards,
Benjamin Joseph
Continue reading...