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>
(cherry picked from commit ccbb0eef7b)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
Austin English 2021-08-03 11:39:25 -05:00 committed by Michael Stefaniuc
parent bc3524e8e5
commit 7409b10902
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

@ -77,3 +77,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;
}