virtdisk: Add DetachVirtualDisk stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51535
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2021-08-03 11:39:25 -05:00 committed by Alexandre Julliard
parent 6521134705
commit ccbb0eef7b
2 changed files with 7 additions and 1 deletions

View File

@ -4,7 +4,7 @@
@ stub CompactVirtualDisk
@ stub CreateVirtualDisk
@ stub DeleteVirtualDiskMetadata
@ stub DetachVirtualDisk
@ stdcall DetachVirtualDisk(ptr long long)
@ stub EnumerateVirtualDiskMetadata
@ stub ExpandVirtualDisk
@ stub GetAllAttachedVirtualDiskPhysicalPaths

View File

@ -58,3 +58,9 @@ DWORD WINAPI OpenVirtualDisk(VIRTUAL_STORAGE_TYPE *type, const WCHAR *path, VIRT
return ERROR_CALL_NOT_IMPLEMENTED;
}
DWORD WINAPI DetachVirtualDisk(HANDLE handle, DETACH_VIRTUAL_DISK_FLAG flags, ULONG specific_flags)
{
FIXME("(%p, 0x%x, %d): stub\n", handle, flags, specific_flags);
return ERROR_INVALID_PARAMETER;
}